Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NestedFolders: Enable new nested folder picker by default for nested folders #72129

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

joshhunt
Copy link
Contributor

@joshhunt joshhunt commented Jul 21, 2023

Introduces the new folder picker UI that uses the full nested folder hierarchy, enabled by default when the nestedFolders feature flag is also enabled.

At the moment the new picker is used in new Browse Dashboards UI, Save Dashboard, and Dashboard Settings. Future pull requests will enable it more broadly.

nestedFolderpicker.mp4

Fixes #65745

@joshhunt joshhunt added add to changelog no-backport Skip backport of PR labels Jul 21, 2023
@joshhunt joshhunt added this to the 10.1.x milestone Jul 21, 2023
@joshhunt joshhunt requested review from grafanabot and a team as code owners July 21, 2023 15:40
@joshhunt joshhunt requested review from leandro-deveikis and mmandrus and removed request for a team July 21, 2023 15:40
@github-actions github-actions bot added the pr/external This PR is from external contributor label Jul 21, 2023
@joshhunt joshhunt force-pushed the joshhunt/nested-folder-picker-by-default branch from 93602ea to 91ea8aa Compare July 21, 2023 15:43
@joshhunt joshhunt changed the title NestedFolders: Enable new nested folder picker by default for nestedFolders NestedFolders: Enable new nested folder picker by default for nested folders Jul 21, 2023
@joshhunt
Copy link
Contributor Author

Note - we cannot merge this until we've moved to the new wrapper FolderPicker component in the save dashboard form and dashboard settings settings.

@joshhunt joshhunt force-pushed the joshhunt/nested-folder-picker-by-default branch from 91ea8aa to aeff214 Compare July 24, 2023 11:12
@joshhunt
Copy link
Contributor Author

e2e tests needs updating.

probably need to add e2e selectors to the new folder picker also

@joshhunt joshhunt force-pushed the joshhunt/nested-folder-picker-by-default branch from aeff214 to 0eeb4c3 Compare July 24, 2023 13:29
Copy link
Contributor

@ashharrison90 ashharrison90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@@ -31,7 +31,7 @@ func TestFeatureToggleFiles(t *testing.T) {
t.Run("check registry constraints", func(t *testing.T) {
for _, flag := range standardFeatureFlags {
if flag.Expression == "true" && flag.Stage != FeatureStageGeneralAvailability {
t.Errorf("only stable features can be enabled by default. See: %s", flag.Name)
t.Errorf("only FeatureStageGeneralAvailability features can be enabled by default. See: %s", flag.Name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this changed by the test running? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this manually...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah whoops, i misread. thought this was a generated file 🤦

@joshhunt joshhunt merged commit f917fbf into main Jul 24, 2023
11 checks passed
@joshhunt joshhunt deleted the joshhunt/nested-folder-picker-by-default branch July 24, 2023 13:51
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/backend no-backport Skip backport of PR pr/external This PR is from external contributor type/docs
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Nested folder picker
4 participants