diff --git a/frontend/public/locales/en-GB/titles.json b/frontend/public/locales/en-GB/titles.json index 7d1657d8638..285698c3c7f 100644 --- a/frontend/public/locales/en-GB/titles.json +++ b/frontend/public/locales/en-GB/titles.json @@ -62,7 +62,7 @@ "TRACES_FUNNELS_DETAIL": "SigNoz | Funnel", "INTEGRATIONS_DETAIL": "SigNoz | Integration", "PUBLIC_DASHBOARD": "SigNoz | Dashboard", - "LLM_OBSERVABILITY_OVERVIEW": "SigNoz | LLM Observability Overview", - "LLM_OBSERVABILITY_CONFIGURATION": "SigNoz | LLM Observability Configuration", - "LLM_OBSERVABILITY_ATTRIBUTE_MAPPING": "SigNoz | LLM Observability Attribute Mapping" + "AI_OBSERVABILITY_OVERVIEW": "SigNoz | AI Observability Overview", + "AI_OBSERVABILITY_CONFIGURATION": "SigNoz | AI Observability Configuration", + "AI_OBSERVABILITY_ATTRIBUTE_MAPPING": "SigNoz | AI Observability Attribute Mapping" } \ No newline at end of file diff --git a/frontend/public/locales/en/titles.json b/frontend/public/locales/en/titles.json index 109edbe6262..9824e544678 100644 --- a/frontend/public/locales/en/titles.json +++ b/frontend/public/locales/en/titles.json @@ -87,7 +87,7 @@ "TRACES_FUNNELS_DETAIL": "SigNoz | Funnel", "INTEGRATIONS_DETAIL": "SigNoz | Integration", "PUBLIC_DASHBOARD": "SigNoz | Dashboard", - "LLM_OBSERVABILITY_OVERVIEW": "SigNoz | LLM Observability Overview", - "LLM_OBSERVABILITY_CONFIGURATION": "SigNoz | LLM Observability Configuration", - "LLM_OBSERVABILITY_ATTRIBUTE_MAPPING": "SigNoz | LLM Observability Attribute Mapping" + "AI_OBSERVABILITY_OVERVIEW": "SigNoz | AI Observability Overview", + "AI_OBSERVABILITY_CONFIGURATION": "SigNoz | AI Observability Configuration", + "AI_OBSERVABILITY_ATTRIBUTE_MAPPING": "SigNoz | AI Observability Attribute Mapping" } \ No newline at end of file diff --git a/frontend/src/AppRoutes/Private.tsx b/frontend/src/AppRoutes/Private.tsx index a11c0e046e1..b1775d1810d 100644 --- a/frontend/src/AppRoutes/Private.tsx +++ b/frontend/src/AppRoutes/Private.tsx @@ -134,8 +134,8 @@ function PrivateRoute({ children }: PrivateRouteProps): JSX.Element { } if ( - (pathname.startsWith(`${ROUTES.LLM_OBSERVABILITY_BASE}/`) || - pathname === ROUTES.LLM_OBSERVABILITY_BASE) && + (pathname.startsWith(`${ROUTES.AI_OBSERVABILITY_BASE}/`) || + pathname === ROUTES.AI_OBSERVABILITY_BASE) && !isAIObservabilityEnabled ) { return ; diff --git a/frontend/src/AppRoutes/routes.ts b/frontend/src/AppRoutes/routes.ts index 09e87a894f1..7d7b50cdb6e 100644 --- a/frontend/src/AppRoutes/routes.ts +++ b/frontend/src/AppRoutes/routes.ts @@ -514,24 +514,24 @@ const routes: AppRoutes[] = [ isPrivate: true, }, { - path: ROUTES.LLM_OBSERVABILITY_ATTRIBUTE_MAPPING, + path: ROUTES.AI_OBSERVABILITY_ATTRIBUTE_MAPPING, exact: true, component: LLMObservabilityPage, - key: 'LLM_OBSERVABILITY_ATTRIBUTE_MAPPING', + key: 'AI_OBSERVABILITY_ATTRIBUTE_MAPPING', isPrivate: true, }, { - path: ROUTES.LLM_OBSERVABILITY_OVERVIEW, + path: ROUTES.AI_OBSERVABILITY_OVERVIEW, exact: true, component: LLMObservabilityPage, - key: 'LLM_OBSERVABILITY_OVERVIEW', + key: 'AI_OBSERVABILITY_OVERVIEW', isPrivate: true, }, { - path: ROUTES.LLM_OBSERVABILITY_CONFIGURATION, + path: ROUTES.AI_OBSERVABILITY_CONFIGURATION, exact: true, component: LLMObservabilityPage, - key: 'LLM_OBSERVABILITY_CONFIGURATION', + key: 'AI_OBSERVABILITY_CONFIGURATION', isPrivate: true, }, ]; diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss index 26375be01ac..2d43051563f 100644 --- a/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss +++ b/frontend/src/components/QueryBuilderV2/QueryV2/QueryAddOns/QueryAddOns.styles.scss @@ -247,11 +247,6 @@ var(--l2-background) ) !important; - &, - .ͼ1a { - color: var(--query-builder-v2-color, var(--l2-foreground)); - } - ::-moz-selection { background: var( --query-builder-v2-selection-background-color, diff --git a/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss b/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss index 94fcc80898a..6417dbfe1bb 100644 --- a/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss +++ b/frontend/src/components/QueryBuilderV2/QueryV2/QuerySearch/QuerySearch.styles.scss @@ -293,11 +293,6 @@ $max-recents-shown: 5; var(--l2-background) ) !important; - &, - .ͼ1a { - color: var(--query-builder-v2-color, var(--l2-foreground)); - } - ::-moz-selection { background: var( --query-builder-v2-selection-background-color, diff --git a/frontend/src/constants/routes.ts b/frontend/src/constants/routes.ts index a792e0a9c38..a00056b5222 100644 --- a/frontend/src/constants/routes.ts +++ b/frontend/src/constants/routes.ts @@ -89,10 +89,10 @@ const ROUTES = { AI_ASSISTANT_BASE: '/ai-assistant', AI_ASSISTANT_ICON_PREVIEW: '/ai-assistant-icon-preview', MCP_SERVER: '/settings/mcp-server', - LLM_OBSERVABILITY_ATTRIBUTE_MAPPING: '/llm-observability/attribute-mapping', - LLM_OBSERVABILITY_BASE: '/llm-observability', - LLM_OBSERVABILITY_OVERVIEW: '/llm-observability/overview', - LLM_OBSERVABILITY_CONFIGURATION: '/llm-observability/configuration', + AI_OBSERVABILITY_ATTRIBUTE_MAPPING: '/ai-observability/attribute-mapping', + AI_OBSERVABILITY_BASE: '/ai-observability', + AI_OBSERVABILITY_OVERVIEW: '/ai-observability/overview', + AI_OBSERVABILITY_CONFIGURATION: '/ai-observability/configuration', } as const; export default ROUTES; diff --git a/frontend/src/container/LLMObservability/Overview/Overview.module.scss b/frontend/src/container/LLMObservability/Overview/Overview.module.scss index d640e1544a1..488cdaef6f0 100644 --- a/frontend/src/container/LLMObservability/Overview/Overview.module.scss +++ b/frontend/src/container/LLMObservability/Overview/Overview.module.scss @@ -9,6 +9,4 @@ :global([class*='dashboardPageHeader']) { display: none; } - // remove margin added by the hidden header to avoid extra whitespace at the top of the page - margin-top: calc(var(--spacing-8) * -1); } diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss index bdda8835639..9ca894cb260 100644 --- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss +++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/ModelCostDrawer.module.scss @@ -18,7 +18,7 @@ --dialog-footer-padding: var(--spacing-8) var(--spacing-12); display: flex; - overflow-y: auto; + overflow: hidden; // The drawer body — children render inside [data-slot='drawer-description'] // (this is the @signozhq drawer, not antd, so .ant-drawer-body was a no-op). @@ -27,6 +27,8 @@ flex-direction: column; gap: var(--spacing-12); padding: var(--spacing-10) var(--spacing-12); + min-height: 0; + overflow-y: auto; } [data-slot='select-content'] { diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss index 6185c0a806a..2207f14279e 100644 --- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss +++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/ExtraPricingBuckets/ExtraPricingBuckets.module.scss @@ -51,7 +51,6 @@ gap: var(--spacing-5); padding: var(--spacing-6); border-radius: 6px; - background: var(--l2-background); border: 1px solid var(--l2-border); } diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss index 698dc1b55a9..808c8e62fc2 100644 --- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss +++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/PatternEditor/PatternEditor.module.scss @@ -9,7 +9,6 @@ .patternBox { display: flex; flex-direction: column; - gap: var(--spacing-6); padding: var(--spacing-6); border-radius: 6px; border: 1px solid var(--l2-border); @@ -18,14 +17,14 @@ .patternChips { display: flex; flex-wrap: wrap; - gap: var(--spacing-3); - min-height: 28px; + gap: var(--spacing-0) var(--spacing-3); } .patternChip { display: inline-flex; align-items: center; gap: var(--spacing-2); + margin-bottom: var(--spacing-4); } .patternChipRemove { diff --git a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss index 2fc083b8ffb..fd46bb5532f 100644 --- a/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss +++ b/frontend/src/container/LLMObservability/Settings/ModelPricing/ModelCostTabPanel/components/ModelCostDrawer/components/SourceSelector/SourceSelector.module.scss @@ -30,7 +30,6 @@ padding: var(--spacing-5) var(--spacing-6); border-radius: var(--radius-2); border: 1px solid transparent; - background: var(--l3-background); margin: 0; width: 100%; // Include padding + border in the 100% width so the card fits inside @@ -67,16 +66,11 @@ // Radix RadioGroupItem renders