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:
Matt Cowley
2025-05-22 12:06:50 +01:00
committed by GitHub
parent 9729c4cf60
commit 2ce1c67d92
8 changed files with 7 additions and 22 deletions

View File

@ -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;

View File

@ -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",

View File

@ -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

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
151 exploreLogsShardSplitting experimental @grafana/observability-logs false false true
152 exploreLogsAggregatedMetrics experimental @grafana/observability-logs false false true
153 exploreLogsLimitedTimeRange experimental @grafana/observability-logs false false true
homeSetupGuide experimental @grafana/growth-and-onboarding false false true
154 appPlatformGrpcClientAuth experimental @grafana/identity-access-team false false false
155 groupAttributeSync privatePreview @grafana/identity-access-team false false false
156 alertingQueryAndExpressionsStepMode GA @grafana/alerting-squad false false true

View File

@ -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"

View File

@ -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",

View File

@ -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

View File

@ -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':

View File

@ -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",