[v10.2.x] NestedFolderPicker: separate toggle to force enable picker without (#80550)

* NestedFolderPicker: separate toggle to force enable picker without `nestedFolders` (#80461)

* separate nestedFolderPickerOverride toggle to force enable it without nestedFolders

* let's call it newFolderPicker

* update unit tests and keyboard handling

* reduce spacing when no folder open chevron

---------

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
(cherry picked from commit ec53487c99)

* add config import to NestedFolderPicker
This commit is contained in:
Ashley Harrison
2024-01-16 11:39:28 +00:00
committed by GitHub
parent c573c3c6f4
commit 1c3981e5ab
10 changed files with 120 additions and 48 deletions
+8
View File
@@ -1258,6 +1258,14 @@ var (
Owner: identityAccessTeam,
Created: time.Date(2023, time.November, 29, 12, 0, 0, 0, time.UTC),
},
{
Name: "newFolderPicker",
Description: "Enables the nested folder picker without having nested folders enabled",
Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad,
FrontendOnly: true,
Created: time.Date(2024, time.January, 12, 12, 0, 0, 0, time.UTC),
},
}
)
+1
View File
@@ -149,3 +149,4 @@ logRowsPopoverMenu,experimental,@grafana/observability-logs,2023-11-16,false,fal
pluginsSkipHostEnvVars,experimental,@grafana/plugins-platform-backend,2023-11-15,false,false,false,false
regressionTransformation,experimental,@grafana/grafana-bi-squad,2023-11-24,false,false,false,true
displayAnonymousStats,experimental,@grafana/identity-access-team,2023-11-29,false,false,false,true
newFolderPicker,experimental,@grafana/grafana-frontend-platform,2024-01-12,false,false,false,true
1 Name Stage Owner Created requiresDevMode RequiresLicense RequiresRestart FrontendOnly
149 pluginsSkipHostEnvVars experimental @grafana/plugins-platform-backend 2023-11-15 false false false false
150 regressionTransformation experimental @grafana/grafana-bi-squad 2023-11-24 false false false true
151 displayAnonymousStats experimental @grafana/identity-access-team 2023-11-29 false false false true
152 newFolderPicker experimental @grafana/grafana-frontend-platform 2024-01-12 false false false true
+4
View File
@@ -606,4 +606,8 @@ const (
// FlagDisplayAnonymousStats
// Enables anonymous stats to be shown in the UI for Grafana
FlagDisplayAnonymousStats = "displayAnonymousStats"
// FlagNewFolderPicker
// Enables the nested folder picker without having nested folders enabled
FlagNewFolderPicker = "newFolderPicker"
)