Add support for the future rename of the docs plugin app to Grafana Pathfinder (#111950)
This commit is contained in:
@@ -14,7 +14,10 @@ const PERMITTED_EXTENSION_SIDEBAR_PLUGINS = [
|
|||||||
'grafana-investigations-app',
|
'grafana-investigations-app',
|
||||||
'grafana-assistant-app',
|
'grafana-assistant-app',
|
||||||
'grafana-dash-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-grafanadocsplugin-app',
|
||||||
|
'grafana-pathfinder-app',
|
||||||
];
|
];
|
||||||
|
|
||||||
export type ExtensionSidebarContextType = {
|
export type ExtensionSidebarContextType = {
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ interface ToolbarItemButtonProps {
|
|||||||
|
|
||||||
function getPluginIcon(pluginId?: string): string {
|
function getPluginIcon(pluginId?: string): string {
|
||||||
switch (pluginId) {
|
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-grafanadocsplugin-app':
|
||||||
|
case 'grafana-pathfinder-app':
|
||||||
return 'book';
|
return 'book';
|
||||||
case 'grafana-investigations-app':
|
case 'grafana-investigations-app':
|
||||||
return 'eye';
|
return 'eye';
|
||||||
|
|||||||
Reference in New Issue
Block a user