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(dashboard): initial title value in rename modal set to currently selected dashboard (#5821)
Abhishek Mehandiratta78a924d378a5
diff --git a/frontend/src/container/NewDashboard/DashboardDescription/index.tsx b/frontend/src/container/NewDashboard/DashboardDescription/index.tsxindex ea59dc4bcf..d6f63165d5 100644--- a/frontend/src/container/NewDashboard/DashboardDescription/index.tsx+++ b/frontend/src/container/NewDashboard/DashboardDescription/index.tsx@@ -182,6 +182,15 @@ function DashboardDescription(props: DashboardDescriptionProps): JSX.Element {const { t } = useTranslation(['dashboard', 'common']);+ // used to set the initial value for the updatedTitle+ // the context value is sometimes not available during the initial render+ // due to which the updatedTitle is set to some previous value+ useEffect(() => {+ if (selectedDashboard) {+ setUpdatedTitle(selectedDashboard.data.title);+ }+ }, [selectedDashboard]);+useEffect(() => {if (state.error) {notifications.error({