mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 05:45:55 +08:00
feat: add org onboarding preference (#6248)
This commit is contained in:
parent
8bad036423
commit
910c44cefc
@ -1,37 +1,14 @@
|
|||||||
package preferences
|
package preferences
|
||||||
|
|
||||||
var preferenceMap = map[string]Preference{
|
var preferenceMap = map[string]Preference{
|
||||||
"DASHBOARDS_LIST_VIEW": {
|
"ORG_ONBOARDING": {
|
||||||
Key: "DASHBOARDS_LIST_VIEW",
|
Key: "ORG_ONBOARDING",
|
||||||
Name: "Dashboards List View",
|
Name: "Organisation Onboarding",
|
||||||
Description: "",
|
Description: "Organisation Onboarding",
|
||||||
ValueType: "string",
|
|
||||||
DefaultValue: "grid",
|
|
||||||
AllowedValues: []interface{}{"grid", "list"},
|
|
||||||
IsDiscreteValues: true,
|
|
||||||
AllowedScopes: []string{"user", "org"},
|
|
||||||
},
|
|
||||||
"LOGS_TOOLBAR_COLLAPSED": {
|
|
||||||
Key: "LOGS_TOOLBAR_COLLAPSED",
|
|
||||||
Name: "Logs toolbar",
|
|
||||||
Description: "",
|
|
||||||
ValueType: "boolean",
|
ValueType: "boolean",
|
||||||
DefaultValue: false,
|
DefaultValue: false,
|
||||||
AllowedValues: []interface{}{true, false},
|
AllowedValues: []interface{}{true, false},
|
||||||
IsDiscreteValues: true,
|
IsDiscreteValues: true,
|
||||||
AllowedScopes: []string{"user", "org"},
|
AllowedScopes: []string{"org"},
|
||||||
},
|
|
||||||
"MAX_DEPTH_ALLOWED": {
|
|
||||||
Key: "MAX_DEPTH_ALLOWED",
|
|
||||||
Name: "Max Depth Allowed",
|
|
||||||
Description: "",
|
|
||||||
ValueType: "integer",
|
|
||||||
DefaultValue: 10,
|
|
||||||
IsDiscreteValues: false,
|
|
||||||
Range: Range{
|
|
||||||
Min: 0,
|
|
||||||
Max: 100,
|
|
||||||
},
|
|
||||||
AllowedScopes: []string{"user", "org"},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user