Merge pull request #3272 from SigNoz/release/v0.25.3

Release/v0.25.3
This commit is contained in:
Prashant Shahi 2023-08-06 21:48:00 +05:30 committed by GitHub
commit d14bd7386e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 19 deletions

View File

@ -137,7 +137,7 @@ services:
condition: on-failure
query-service:
image: signoz/query-service:0.25.2
image: signoz/query-service:0.25.3
command: ["-config=/root/config/prometheus.yml"]
# ports:
# - "6060:6060" # pprof port
@ -166,7 +166,7 @@ services:
<<: *clickhouse-depend
frontend:
image: signoz/frontend:0.25.2
image: signoz/frontend:0.25.3
deploy:
restart_policy:
condition: on-failure

View File

@ -153,7 +153,7 @@ services:
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
query-service:
image: signoz/query-service:${DOCKER_TAG:-0.25.2}
image: signoz/query-service:${DOCKER_TAG:-0.25.3}
container_name: query-service
command: ["-config=/root/config/prometheus.yml"]
# ports:
@ -181,7 +181,7 @@ services:
<<: *clickhouse-depend
frontend:
image: signoz/frontend:${DOCKER_TAG:-0.25.2}
image: signoz/frontend:${DOCKER_TAG:-0.25.3}
container_name: frontend
restart: on-failure
depends_on:

View File

@ -103,6 +103,7 @@ function LogsContextList({
PANEL_TYPES.LIST,
{
keepPreviousData: true,
enabled: !!requestData,
onSuccess: handleSuccess,
},
);

View File

@ -1,13 +1,5 @@
import { Tabs } from 'antd';
import { themeColors } from 'constants/theme';
import styled from 'styled-components';
export const TabsStyled = styled(Tabs)`
& .ant-tabs-nav {
background-color: ${themeColors.lightBlack};
}
`;
export const ActionsWrapper = styled.div`
display: flex;
justify-content: flex-end;

View File

@ -1,4 +1,4 @@
import { TabsProps } from 'antd';
import { Tabs, TabsProps } from 'antd';
import TabLabel from 'components/TabLabel';
import { QueryParams } from 'constants/query';
import {
@ -40,7 +40,7 @@ import {
import { DataSource, StringOperators } from 'types/common/queryBuilder';
import { GlobalReducer } from 'types/reducer/globalTime';
import { ActionsWrapper, TabsStyled } from './LogsExplorerViews.styled';
import { ActionsWrapper } from './LogsExplorerViews.styled';
function LogsExplorerViews(): JSX.Element {
const { notifications } = useNotifications();
@ -154,7 +154,7 @@ function LogsExplorerViews(): JSX.Element {
panelType,
{
keepPreviousData: true,
enabled: !isLimit,
enabled: !isLimit && !!requestData,
},
{
...(timeRange &&
@ -480,7 +480,7 @@ function LogsExplorerViews(): JSX.Element {
/>
</ActionsWrapper>
)}
<TabsStyled
<Tabs
items={tabsItems}
defaultActiveKey={panelType || PANEL_TYPES.LIST}
activeKey={panelType || PANEL_TYPES.LIST}

View File

@ -193,7 +193,8 @@ function PipelineExpandView({
}, [setActionType]);
const footer = useCallback((): JSX.Element | undefined => {
if (prevPipelineData.length === 0 || isEditingActionMode) {
const prevPipelinesCount = prevPipelineData?.length || 0;
if (prevPipelinesCount === 0 || isEditingActionMode) {
return (
<FooterButton type="link" onClick={addNewProcessorHandler}>
<PlusCircleOutlined />

View File

@ -13,7 +13,7 @@ export const alertsRoutesConfig = [
{
Component: (): JSX.Element => <CreateAlertChannels preType="slack" />,
name: t('routes.alert_channels'),
route: ROUTES.ALL_CHANNELS,
key: ROUTES.ALL_CHANNELS,
route: ROUTES.CHANNELS_NEW,
key: ROUTES.CHANNELS_NEW,
},
];