mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 11:42:19 +08:00

* Add pills in search bar for context * Add scope actions * Add selection functionality * Show selected scope on secondary row * Fix selected scope titles * Add some basic tests * Test for toggle by name * Remove unnecessary mocking * Small cleanups * Lint fixes * Fix test * Update public/app/features/scopes/selector/ScopesSelectorService.ts Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> * Bump input and breadcrumbs test * Change breadcrumbs color * Makes the breacrumb spacing consistent --------- Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
9 lines
401 B
TypeScript
9 lines
401 B
TypeScript
export const SCOPES_PRIORITY = 8;
|
|
export const RECENT_SCOPES_PRIORITY = 7;
|
|
export const RECENT_DASHBOARDS_PRIORITY = 6;
|
|
export const ACTIONS_PRIORITY = 5;
|
|
export const DEFAULT_PRIORITY = 4;
|
|
export const PREFERENCES_PRIORITY = 3;
|
|
export const EXTENSIONS_PRIORITY = 2;
|
|
export const SEARCH_RESULTS_PRIORITY = 1; // Dynamic actions should be below static ones so the list doesn't 'jump' when they come in
|