SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
chore: remove query status (#11476)
Gaurav Tewari184724003a7b
diff --git a/frontend/src/assets/Icons/solid-x-circle.svg b/frontend/src/assets/Icons/solid-x-circle.svgdeleted file mode 100644index 3f189e3865..0000000000--- a/frontend/src/assets/Icons/solid-x-circle.svg+++ /dev/null@@ -1 +0,0 @@-<svg width="14" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#prefix__clip0_4062_7291)" stroke-width="1.167" stroke-linecap="round" stroke-linejoin="round"><path d="M7 12.833A5.833 5.833 0 107 1.167a5.833 5.833 0 000 11.666z" fill="#E5484D" stroke="#E5484D"/><path d="M8.75 5.25l-3.5 3.5M5.25 5.25l3.5 3.5" stroke="#121317"/></g><defs><clipPath id="prefix__clip0_4062_7291"><path fill="#fff" d="M0 0h14v14H0z"/></clipPath></defs></svg>\ No newline at end of filediff --git a/frontend/src/container/LogsExplorerViews/LogsActionsContainer.tsx b/frontend/src/container/LogsExplorerViews/LogsActionsContainer.tsxindex d0b21a937f..74e4a5b25e 100644--- a/frontend/src/container/LogsExplorerViews/LogsActionsContainer.tsx+++ b/frontend/src/container/LogsExplorerViews/LogsActionsContainer.tsx@@ -9,8 +9,6 @@ import { useOptionsMenu } from 'container/OptionsMenu';import { ArrowUp10, Minus } from '@signozhq/icons';import { DataSource, StringOperators } from 'types/common/queryBuilder';-import QueryStatus from './QueryStatus';-function LogsActionsContainer({listQuery,selectedPanelType,@@ -18,10 +16,6 @@ function LogsActionsContainer({handleToggleFrequencyChart,orderBy,setOrderBy,- isFetching,- isLoading,- isError,- isSuccess,}: {listQuery: any;selectedPanelType: PANEL_TYPES;@@ -29,10 +23,6 @@ function LogsActionsContainer({handleToggleFrequencyChart: () => void;orderBy: string;setOrderBy: (value: string) => void;- isFetching: boolean;- isLoading: boolean;- isError: boolean;- isSuccess: boolean;}): JSX.Element {const { options, config } = useOptionsMenu({storageKey: LOCALSTORAGE.LOGS_LIST_OPTIONS,@@ -106,17 +96,6 @@ function LogsActionsContainer({</div></>)}-- {(selectedPanelType === PANEL_TYPES.TIME_SERIES ||- selectedPanelType === PANEL_TYPES.TABLE) && (- <div className="query-stats">- <QueryStatus- loading={isLoading || isFetching}- error={isError}- success={isSuccess}- />- </div>- )}</div></div></div>diff --git a/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss b/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scssindex 4df1c6837e..2c949f8ad0 100644--- a/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss+++ b/frontend/src/container/LogsExplorerViews/LogsExplorerViews.styles.scss@@ -155,40 +155,6 @@}}- .query-stats {- display: flex;- align-items: center;- gap: 12px;-- align-self: flex-end;-- .rows {- color: var(--l2-foreground);- font-family: 'Geist Mono';- font-size: 12px;- font-style: normal;- font-weight: 400;- line-height: 18px; /* 150% */- letter-spacing: 0.36px;- }-- .divider {- width: 1px;- height: 14px;- background: var(--l3-background);- }-- .time {- color: var(--l2-foreground);- font-family: 'Geist Mono';- font-size: 12px;- font-style: normal;- font-weight: 400;- line-height: 18px; /* 150% */- letter-spacing: 0.36px;- }- }-.ant-btn {border: none;}diff --git a/frontend/src/container/LogsExplorerViews/QueryStatus.styles.scss b/frontend/src/container/LogsExplorerViews/QueryStatus.styles.scssdeleted file mode 100644index d6f9579113..0000000000--- a/frontend/src/container/LogsExplorerViews/QueryStatus.styles.scss+++ /dev/null@@ -1,4 +0,0 @@-.query-status {- display: flex;- align-items: center;-}diff --git a/frontend/src/container/LogsExplorerViews/QueryStatus.tsx b/frontend/src/container/LogsExplorerViews/QueryStatus.tsxdeleted file mode 100644index 4c01ab4c13..0000000000--- a/frontend/src/container/LogsExplorerViews/QueryStatus.tsx+++ /dev/null@@ -1,49 +0,0 @@-import React, { useMemo } from 'react';-import { Color } from '@signozhq/design-tokens';-import { LoaderCircle, CircleCheck } from '@signozhq/icons';-import { Spin } from 'antd';--import solidXCircleUrl from '@/assets/Icons/solid-x-circle.svg';--import './QueryStatus.styles.scss';--interface IQueryStatusProps {- loading: boolean;- error: boolean;- success: boolean;-}--export default function QueryStatus(- props: IQueryStatusProps,-): React.ReactElement {- const { loading, error, success } = props;-- const content = useMemo((): React.ReactElement => {- if (loading) {- return (- <Spin- spinning- size="small"- indicator={<LoaderCircle className="animate-spin" size="md" />}- />- );- }- if (error) {- return (- <img- src={solidXCircleUrl}- alt="header"- className="error"- style={{ height: '14px', width: '14px' }}- />- );- }- if (success) {- return (- <CircleCheck className="success" size={14} fill={Color.BG_ROBIN_500} />- );- }- return <div />;- }, [error, loading, success]);- return <div className="query-status">{content}</div>;-}diff --git a/frontend/src/container/LogsExplorerViews/index.tsx b/frontend/src/container/LogsExplorerViews/index.tsxindex a4f369e3bb..1a39737273 100644--- a/frontend/src/container/LogsExplorerViews/index.tsx+++ b/frontend/src/container/LogsExplorerViews/index.tsx@@ -160,7 +160,7 @@ function LogsExplorerViewsContainer({'custom',);- const { data, isLoading, isFetching, isError, isSuccess, error } =+ const { data, isLoading, isFetching, isError, error } =useGetExplorerQueryRange(requestData,selectedPanelType,@@ -437,10 +437,6 @@ function LogsExplorerViewsContainer({handleToggleFrequencyChart={handleToggleFrequencyChart}orderBy={orderBy}setOrderBy={setOrderBy}- isFetching={isFetching}- isLoading={isLoading}- isError={isError}- isSuccess={isSuccess}/>)}