Add support for the future rename of the docs plugin app to Grafana Pathfinder (#111950)

This commit is contained in:
Jack Baldry
2025-10-08 13:05:58 +01:00
committed by GitHub
parent 13a3c46079
commit 2bb5e6c2ec
2 changed files with 6 additions and 0 deletions
@@ -14,7 +14,10 @@ const PERMITTED_EXTENSION_SIDEBAR_PLUGINS = [
'grafana-investigations-app',
'grafana-assistant-app',
'grafana-dash-app',
// The docs plugin ID is going to transition from grafana-grafanadocsplugin-app to grafana-pathfinder-app.
// Support both until that migration is complete.
'grafana-grafanadocsplugin-app',
'grafana-pathfinder-app',
];
export type ExtensionSidebarContextType = {
@@ -14,7 +14,10 @@ interface ToolbarItemButtonProps {
function getPluginIcon(pluginId?: string): string {
switch (pluginId) {
// The docs plugin ID is going to transition from grafana-grafanadocsplugin-app to grafana-pathfinder-app.
// Support both until that migration is complete.
case 'grafana-grafanadocsplugin-app':
case 'grafana-pathfinder-app':
return 'book';
case 'grafana-investigations-app':
return 'eye';