Add a feature toggle for custom branding (#51168)

pull/51203/head^2
Tania 3 years ago committed by GitHub
parent 4d2c293575
commit 405df77e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/grafana-data/src/types/featureToggles.gen.ts
  2. 5
      pkg/services/featuremgmt/registry.go
  3. 4
      pkg/services/featuremgmt/toggles_gen.go

@ -63,4 +63,5 @@ export interface FeatureToggles {
dataConnectionsConsole?: boolean; dataConnectionsConsole?: boolean;
internationalization?: boolean; internationalization?: boolean;
topnav?: boolean; topnav?: boolean;
customBranding?: boolean;
} }

@ -263,5 +263,10 @@ var (
Description: "New top nav and page layouts", Description: "New top nav and page layouts",
State: FeatureStateAlpha, State: FeatureStateAlpha,
}, },
{
Name: "customBranding",
Description: "Replaces whitelabeling with the new custom branding feature",
State: FeatureStateAlpha,
},
} }
) )

@ -194,4 +194,8 @@ const (
// FlagTopnav // FlagTopnav
// New top nav and page layouts // New top nav and page layouts
FlagTopnav = "topnav" FlagTopnav = "topnav"
// FlagCustomBranding
// Replaces whitelabeling with the new custom branding feature
FlagCustomBranding = "customBranding"
) )

Loading…
Cancel
Save