-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Nested folders: Remove feature flag #109212
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
Conversation
|
💻 Deploy preview deleted. |
d4adbbb to
47b4336
Compare
8223c40 to
38618fb
Compare
| if item.FolderTitle != "" { | ||
| item.FolderSlug = slugify.Slugify(item.FolderTitle) | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this block? I don't see how this is related to the removal of NestedFolders flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it has always been incorrect :( the unit test just didn't catch it because the feature flag was disabled:
https://github.com/grafana/grafana/pull/109212/files/38618fb191a51e4941ed3b91e60fc96f2b9d1e0d#diff-905cf7e02756f63788adbfc506a763d293d2ecaedeee27287b2d5ac65f9bf351L75
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooff! great catch!
| await user.type(await ui.inputs.name.find(), 'my great new rule'); | ||
| await user.click(await screen.findByRole('button', { name: /select folder/i })); | ||
| await user.click(await screen.findByLabelText(/folder a/i)); | ||
| await user.click(await screen.findByLabelText('Folder A')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was going to ask about that 😅 Thank you for the clarification
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - Great work on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! fewer conditionals will really help us out

What is this feature?
This PR removes the nestedFolders feature toggle, which was introduced in Grafana 10 and enabled by default in Grafana 11