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
fix: trace page breaking (#4844)
Vikrant Gupta03dccb0101d1
diff --git a/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss b/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scssindex eb57c1e6df..7f6ac6a4dd 100644--- a/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss+++ b/frontend/src/container/ExplorerOptions/ExplorerOptions.styles.scss@@ -1,10 +1,10 @@.hide-update {- left: calc(50% - 41px) !important;+ left: calc(50% - 72px) !important;}.explorer-update {position: fixed;bottom: 24px;- left: calc(50% - 250px);+ left: calc(50% - 352px);display: flex;align-items: center;gap: 12px;diff --git a/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx b/frontend/src/container/ExplorerOptions/ExplorerOptions.tsxindex 5c68bc8a0d..0e9fd3704b 100644--- a/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx+++ b/frontend/src/container/ExplorerOptions/ExplorerOptions.tsx@@ -400,7 +400,8 @@ function ExplorerOptions({>Add to Dashboard</Button>-+ </div>+ <div className="actions"><Tooltip title="Hide"><Buttondisabled={disabled}@@ -420,6 +421,7 @@ function ExplorerOptions({isQueryUpdated={isQueryUpdated}handleClearSelect={handleClearSelect}onUpdateQueryHandler={onUpdateQueryHandler}+ isEditDeleteSupported={isEditDeleteSupported}/><Modaldiff --git a/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.tsx b/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.tsxindex f5e7faf0dc..a420c25ecc 100644--- a/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.tsx+++ b/frontend/src/container/ExplorerOptions/ExplorerOptionsHideArea.tsx@@ -16,6 +16,7 @@ interface DroppableAreaProps {setIsExplorerOptionHidden?: Dispatch<SetStateAction<boolean>>;handleClearSelect: () => void;onUpdateQueryHandler: () => void;+ isEditDeleteSupported: boolean;}function ExplorerOptionsHideArea({@@ -25,6 +26,7 @@ function ExplorerOptionsHideArea({setIsExplorerOptionHidden,handleClearSelect,onUpdateQueryHandler,+ isEditDeleteSupported,}: DroppableAreaProps): JSX.Element {const handleShowExplorerOption = (): void => {if (setIsExplorerOptionHidden) {@@ -47,14 +49,16 @@ function ExplorerOptionsHideArea({icon={<X size={14} color={Color.BG_INK_500} />}/></Tooltip>- <Tooltip title="Update this View">- <Button- onClick={onUpdateQueryHandler}- className="action-btn"- style={{ background: Color.BG_ROBIN_500 }}- icon={<Disc3 size={14} color={Color.BG_INK_500} />}- />- </Tooltip>+ {isEditDeleteSupported && (+ <Tooltip title="Update this View">+ <Button+ onClick={onUpdateQueryHandler}+ className="action-btn"+ style={{ background: Color.BG_ROBIN_500 }}+ icon={<Disc3 size={14} color={Color.BG_INK_500} />}+ />+ </Tooltip>+ )}</div>)}<Buttondiff --git a/frontend/src/container/NewWidget/index.tsx b/frontend/src/container/NewWidget/index.tsxindex 91a87d05dc..aaf992a8dd 100644--- a/frontend/src/container/NewWidget/index.tsx+++ b/frontend/src/container/NewWidget/index.tsx@@ -307,7 +307,7 @@ function NewWidget({ selectedGraph }: NewWidgetProps): JSX.Element {updatedQuery,{ [QueryParams.graphType]: type },undefined,- false,+ true,);};diff --git a/frontend/src/providers/QueryBuilder.tsx b/frontend/src/providers/QueryBuilder.tsxindex 460b2b5f48..a2166a5bc8 100644--- a/frontend/src/providers/QueryBuilder.tsx+++ b/frontend/src/providers/QueryBuilder.tsx@@ -534,12 +534,12 @@ export function QueryBuilderProvider({}const queryItem = item as IBuilderQuery;const propsRequired =- panelTypeDataSourceFormValuesMap[panelType as keyof PartialPanelTypes][+ panelTypeDataSourceFormValuesMap[panelType as keyof PartialPanelTypes]?.[queryItem.dataSource].builder.queryData;- propsRequired.push('dataSource');- propsRequired.forEach((p: any) => {+ propsRequired?.push('dataSource');+ propsRequired?.forEach((p: any) => {set(queryItem, p, get(newQueryItem, p));});return queryItem;@@ -674,7 +674,7 @@ export function QueryBuilderProvider({query: Partial<Query>,searchParams?: Record<string, unknown>,redirectingUrl?: typeof ROUTES[keyof typeof ROUTES],- shallStringify?: boolean,+ shouldNotStringify?: boolean,) => {const queryType =!query.queryType || !Object.values(EQueryType).includes(query.queryType)@@ -728,9 +728,9 @@ export function QueryBuilderProvider({Object.keys(searchParams).forEach((param) =>urlQuery.set(param,- shallStringify- ? JSON.stringify(searchParams[param])- : (searchParams[param] as string),+ shouldNotStringify+ ? (searchParams[param] as string)+ : JSON.stringify(searchParams[param]),),);}