Preferences: Add preferences kind and remove unused navbar settings (#59621)

This commit is contained in:
Ryan McKinley
2023-01-25 11:00:32 -08:00
committed by GitHub
parent 8b574e22b5
commit a0405912a8
24 changed files with 420 additions and 144 deletions
@@ -0,0 +1,33 @@
---
keywords:
- grafana
- schema
title: Preferences kind
---
> Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
# Preferences kind
## Maturity: merged
## Version: 0.0
## Properties
| Property | Type | Required | Description |
|--------------------|---------------------------------------------------|----------|---------------------------------------------------------------------------------|
| `homeDashboardUID` | string | No | UID for the home dashboard |
| `language` | string | No | Selected language (beta) |
| `queryHistory` | [QueryHistoryPreference](#queryhistorypreference) | No | |
| `theme` | string | No | light, dark, empty is default |
| `timezone` | string | No | The timezone selection<br/>TODO: this should use the timezone defined in common |
| `weekStart` | string | No | day of the week (sunday, monday, etc) |
## QueryHistoryPreference
### Properties
| Property | Type | Required | Description |
|-----------|--------|----------|---------------------------------------------|
| `homeTab` | string | No | one of: '' &#124; 'query' &#124; 'starred'; |