Skip to content

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.

chore(preference): add sidenav pinned preference (#8062)

Vikrant Guptad1d7da6c9bf8
diff --git a/pkg/types/preferencetypes/preference.go b/pkg/types/preferencetypes/preference.go
index 9e38064a6d..16d7365675 100644
--- a/pkg/types/preferencetypes/preference.go
+++ b/pkg/types/preferencetypes/preference.go
@@ -128,6 +128,16 @@ func NewDefaultPreferenceMap() map[string]Preference {
IsDiscreteValues: true,
AllowedScopes: []string{"user"},
},
+ "SIDENAV_PINNED": {
+ Key: "SIDENAV_PINNED",
+ Name: "Keep the primary sidenav always open",
+ Description: "Controls whether the primary sidenav remains expanded or can be collapsed. When enabled, the sidenav will stay open and pinned to provide constant visibility of navigation options.",
+ ValueType: "boolean",
+ DefaultValue: false,
+ AllowedValues: []interface{}{true, false},
+ IsDiscreteValues: true,
+ AllowedScopes: []string{"user"},
+ },
}
}