mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 01:28:59 +08:00
chore(preference): add sidenav pinned preference (#8062)
This commit is contained in:
parent
28a01bf042
commit
d1d7da6c9b
@ -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"},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user