/usr/share/grafana/public/app/features/commandPalette
// Bumped to way higher value, to give it more weight when searching export const RECENT_SCOPES_PRIORITY = 50; export const SCOPES_PRIORITY = 8; 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
.
Edit
..
Edit
CommandPalette.tsx
Edit
KBarResults.tsx
Edit
KBarSearch.tsx
Edit
ResultItem.tsx
Edit
ScopesRow.tsx
Edit
actions
Edit
types.ts
Edit
useMatches.ts
Edit
values.ts
Edit