mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 17:42:12 +08:00
Home: update setup guide link/title to Getting Started Guide (#105692)
* Home: update setup guide link/title to Getting Started Guide * Home: check plugin presence to show getting started guide * Home: remove now unused homeSetupGuide feature toggle * Home: use sentence case for Getting started guide item
This commit is contained in:
@ -679,10 +679,6 @@ export interface FeatureToggles {
|
||||
*/
|
||||
exploreLogsLimitedTimeRange?: boolean;
|
||||
/**
|
||||
* Used in Home for users who want to return to the onboarding flow or quickly find popular config pages
|
||||
*/
|
||||
homeSetupGuide?: boolean;
|
||||
/**
|
||||
* Enables the gRPC client to authenticate with the App Platform by using ID & access tokens
|
||||
*/
|
||||
appPlatformGrpcClientAuth?: boolean;
|
||||
|
@ -1163,13 +1163,6 @@ var (
|
||||
FrontendOnly: true,
|
||||
Owner: grafanaObservabilityLogsSquad,
|
||||
},
|
||||
{
|
||||
Name: "homeSetupGuide",
|
||||
Description: "Used in Home for users who want to return to the onboarding flow or quickly find popular config pages",
|
||||
Stage: FeatureStageExperimental,
|
||||
FrontendOnly: true,
|
||||
Owner: growthAndOnboarding,
|
||||
},
|
||||
{
|
||||
Name: "appPlatformGrpcClientAuth",
|
||||
Description: "Enables the gRPC client to authenticate with the App Platform by using ID & access tokens",
|
||||
|
@ -151,7 +151,6 @@ alertingPrometheusRulesPrimary,experimental,@grafana/alerting-squad,false,false,
|
||||
exploreLogsShardSplitting,experimental,@grafana/observability-logs,false,false,true
|
||||
exploreLogsAggregatedMetrics,experimental,@grafana/observability-logs,false,false,true
|
||||
exploreLogsLimitedTimeRange,experimental,@grafana/observability-logs,false,false,true
|
||||
homeSetupGuide,experimental,@grafana/growth-and-onboarding,false,false,true
|
||||
appPlatformGrpcClientAuth,experimental,@grafana/identity-access-team,false,false,false
|
||||
groupAttributeSync,privatePreview,@grafana/identity-access-team,false,false,false
|
||||
alertingQueryAndExpressionsStepMode,GA,@grafana/alerting-squad,false,false,true
|
||||
|
|
@ -615,10 +615,6 @@ const (
|
||||
// Used in Logs Drilldown to limit the time range
|
||||
FlagExploreLogsLimitedTimeRange = "exploreLogsLimitedTimeRange"
|
||||
|
||||
// FlagHomeSetupGuide
|
||||
// Used in Home for users who want to return to the onboarding flow or quickly find popular config pages
|
||||
FlagHomeSetupGuide = "homeSetupGuide"
|
||||
|
||||
// FlagAppPlatformGrpcClientAuth
|
||||
// Enables the gRPC client to authenticate with the App Platform by using ID & access tokens
|
||||
FlagAppPlatformGrpcClientAuth = "appPlatformGrpcClientAuth"
|
||||
|
@ -1517,7 +1517,8 @@
|
||||
"metadata": {
|
||||
"name": "homeSetupGuide",
|
||||
"resourceVersion": "1743693517832",
|
||||
"creationTimestamp": "2024-09-25T17:20:04Z"
|
||||
"creationTimestamp": "2024-09-25T17:20:04Z",
|
||||
"deletionTimestamp": "2025-05-20T16:08:36Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Used in Home for users who want to return to the onboarding flow or quickly find popular config pages",
|
||||
|
@ -225,13 +225,13 @@ func (s *ServiceImpl) getHomeNode(c *contextmodel.ReqContext, prefs *pref.Prefer
|
||||
SortWeight: navtree.WeightHome,
|
||||
}
|
||||
ctx := c.Req.Context()
|
||||
if s.features.IsEnabled(ctx, featuremgmt.FlagHomeSetupGuide) {
|
||||
if _, exists := s.pluginStore.Plugin(ctx, "grafana-setupguide-app"); exists {
|
||||
var children []*navtree.NavLink
|
||||
// setup guide (a submenu item under Home)
|
||||
children = append(children, &navtree.NavLink{
|
||||
Id: "home-setup-guide",
|
||||
Text: "Setup guide",
|
||||
Url: homeUrl + "/setup-guide",
|
||||
Text: "Getting started guide",
|
||||
Url: "/a/grafana-setupguide-app/getting-started",
|
||||
SortWeight: navtree.WeightHome,
|
||||
})
|
||||
homeNode.Children = children
|
||||
|
@ -12,7 +12,7 @@ export function getNavTitle(navId: string | undefined) {
|
||||
case 'home':
|
||||
return t('nav.home.title', 'Home');
|
||||
case 'home-setup-guide':
|
||||
return t('nav.setup-guide.title', 'Setup guide');
|
||||
return t('nav.setup-guide.title', 'Getting started guide');
|
||||
case 'new':
|
||||
return t('nav.new.title', 'New');
|
||||
case 'create':
|
||||
|
@ -6866,7 +6866,7 @@
|
||||
"title": "Service accounts"
|
||||
},
|
||||
"setup-guide": {
|
||||
"title": "Setup guide"
|
||||
"title": "Getting started guide"
|
||||
},
|
||||
"shared-dashboard": {
|
||||
"subtitle": "Manage your organization's externally shared dashboards",
|
||||
|
Reference in New Issue
Block a user