mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Preferences: Add preferences kind and remove unused navbar settings (#59621)
This commit is contained in:
36
kinds/preferences/preferences_kind.cue
Normal file
36
kinds/preferences/preferences_kind.cue
Normal file
@@ -0,0 +1,36 @@
|
||||
package kind
|
||||
|
||||
name: "Preferences"
|
||||
maturity: "merged"
|
||||
|
||||
lineage: seqs: [
|
||||
{
|
||||
schemas: [
|
||||
{
|
||||
// UID for the home dashboard
|
||||
homeDashboardUID?: string
|
||||
|
||||
// The timezone selection
|
||||
// TODO: this should use the timezone defined in common
|
||||
timezone?: string
|
||||
|
||||
// day of the week (sunday, monday, etc)
|
||||
weekStart?: string
|
||||
|
||||
// light, dark, empty is default
|
||||
theme?: string
|
||||
|
||||
// Selected language (beta)
|
||||
language?: string
|
||||
|
||||
// Explore query history preferences
|
||||
queryHistory?: #QueryHistoryPreference
|
||||
|
||||
#QueryHistoryPreference: {
|
||||
// one of: '' | 'query' | 'starred';
|
||||
homeTab?: string
|
||||
} @cuetsy(kind="interface") //0.0
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user