diff --git a/public/app/features/commandPalette/CommandPalette.tsx b/public/app/features/commandPalette/CommandPalette.tsx index 1d5507eb799..b70709e443e 100644 --- a/public/app/features/commandPalette/CommandPalette.tsx +++ b/public/app/features/commandPalette/CommandPalette.tsx @@ -56,7 +56,10 @@ export const CommandPalette = () => {
- +
diff --git a/public/app/features/commandPalette/ResultItem.tsx b/public/app/features/commandPalette/ResultItem.tsx index 036d70dffb4..d82be2c2c89 100644 --- a/public/app/features/commandPalette/ResultItem.tsx +++ b/public/app/features/commandPalette/ResultItem.tsx @@ -59,15 +59,6 @@ export const ResultItem = React.forwardRef( {action.subtitle && {action.subtitle}} - {action.shortcut?.length ? ( -
- {action.shortcut.map((sc) => ( - - {sc} - - ))} -
- ) : null} ); } diff --git a/public/app/features/commandPalette/actions/dashboardActions.ts b/public/app/features/commandPalette/actions/dashboardActions.ts index e230a2730cd..8c8647293cd 100644 --- a/public/app/features/commandPalette/actions/dashboardActions.ts +++ b/public/app/features/commandPalette/actions/dashboardActions.ts @@ -36,7 +36,7 @@ export async function getRecentDashboardActions(): Promise { locationService.push(locationUtil.stripBaseFromUrl(url)); diff --git a/public/app/features/commandPalette/actions/staticActions.ts b/public/app/features/commandPalette/actions/staticActions.ts index 0eed8786fd2..835cec7be4f 100644 --- a/public/app/features/commandPalette/actions/staticActions.ts +++ b/public/app/features/commandPalette/actions/staticActions.ts @@ -55,7 +55,6 @@ export default (navBarTree: NavModelItem[]): CommandPaletteAction[] => { keywords: 'navigate', perform: () => locationService.push('?search=open'), section: t('command-palette.section.pages', 'Pages'), - shortcut: ['s', 'o'], priority: DEFAULT_PRIORITY, }, { @@ -63,7 +62,6 @@ export default (navBarTree: NavModelItem[]): CommandPaletteAction[] => { name: t('command-palette.action.change-theme', 'Change theme...'), keywords: 'interface color dark light', section: t('command-palette.section.preferences', 'Preferences'), - shortcut: ['c', 't'], priority: PREFERENCES_PRIORITY, }, { diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json index f547f83fd63..1ea23009464 100644 --- a/public/locales/de-DE/grafana.json +++ b/public/locales/de-DE/grafana.json @@ -12,6 +12,9 @@ "light-theme": "", "search": "" }, + "search-box": { + "placeholder": "" + }, "section": { "actions": "", "dashboard-search-results": "", diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index 4f6fdbc8c38..328381a74be 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -12,12 +12,15 @@ "light-theme": "Light", "search": "Search" }, + "search-box": { + "placeholder": "Search Grafana" + }, "section": { "actions": "Actions", "dashboard-search-results": "Dashboards", "pages": "Pages", "preferences": "Preferences", - "recent-dashboards": "Recently viewed dashboards" + "recent-dashboards": "Recent dashboards" } }, "common": { diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json index 5c805593302..3f8c566d9ba 100644 --- a/public/locales/es-ES/grafana.json +++ b/public/locales/es-ES/grafana.json @@ -12,6 +12,9 @@ "light-theme": "", "search": "" }, + "search-box": { + "placeholder": "" + }, "section": { "actions": "", "dashboard-search-results": "", diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json index 712fa1794fd..b01904456ba 100644 --- a/public/locales/fr-FR/grafana.json +++ b/public/locales/fr-FR/grafana.json @@ -12,6 +12,9 @@ "light-theme": "", "search": "" }, + "search-box": { + "placeholder": "" + }, "section": { "actions": "", "dashboard-search-results": "", diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index 21964cfc999..78c9ecf18bb 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -12,12 +12,15 @@ "light-theme": "Ŀįģĥŧ", "search": "Ŝęäřčĥ" }, + "search-box": { + "placeholder": "Ŝęäřčĥ Ğřäƒäʼnä" + }, "section": { "actions": "Åčŧįőʼnş", "dashboard-search-results": "Đäşĥþőäřđş", "pages": "Päģęş", "preferences": "Přęƒęřęʼnčęş", - "recent-dashboards": "Ŗęčęʼnŧľy vįęŵęđ đäşĥþőäřđş" + "recent-dashboards": "Ŗęčęʼnŧ đäşĥþőäřđş" } }, "common": { diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json index a495b91748b..de1caaa8f02 100644 --- a/public/locales/zh-Hans/grafana.json +++ b/public/locales/zh-Hans/grafana.json @@ -12,6 +12,9 @@ "light-theme": "", "search": "" }, + "search-box": { + "placeholder": "" + }, "section": { "actions": "", "dashboard-search-results": "",