Skip to content

Conversation

@stephaniehingtgen
Copy link
Contributor

@stephaniehingtgen stephaniehingtgen commented Aug 5, 2025

What is this feature?

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

@github-actions github-actions bot added area/alerting Grafana Alerting type/docs Flags the technical writing team for documentation support; auto adds to org-wide docs project area/frontend area/backend labels Aug 5, 2025
@github-project-automation github-project-automation bot moved this to In review in Alerting Aug 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2025

💻 Deploy preview deleted.

@stephaniehingtgen stephaniehingtgen force-pushed the nested-folders-remove-ff branch from d4adbbb to 47b4336 Compare August 5, 2025 18:04
@stephaniehingtgen stephaniehingtgen self-assigned this Aug 5, 2025
@stephaniehingtgen stephaniehingtgen marked this pull request as ready for review August 5, 2025 19:56
@stephaniehingtgen stephaniehingtgen requested review from a team and grafanabot as code owners August 5, 2025 19:56
@stephaniehingtgen stephaniehingtgen requested review from alexanderzobnin, joshhunt, mohammad-hamid, owensmallwood and samsch and removed request for a team August 5, 2025 19:56
@stephaniehingtgen stephaniehingtgen force-pushed the nested-folders-remove-ff branch from 8223c40 to 38618fb Compare August 5, 2025 20:19
Comment on lines +903 to +905
if item.FolderTitle != "" {
item.FolderSlug = slugify.Slugify(item.FolderTitle)
}
Copy link
Contributor

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

Copy link
Contributor Author

@stephaniehingtgen stephaniehingtgen Aug 5, 2025

Choose a reason for hiding this comment

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

Copy link
Contributor

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'));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is currently the functionality when running main
Frontend Changes

Copy link
Contributor

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

Copy link
Contributor

@filewalkwithme filewalkwithme left a 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

Copy link
Contributor

@ryantxu ryantxu left a 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

@ryantxu ryantxu merged commit 6b86277 into main Aug 6, 2025
119 checks passed
@ryantxu ryantxu deleted the nested-folders-remove-ff branch August 6, 2025 07:07
@github-project-automation github-project-automation bot moved this from In review to Done in Alerting Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add to changelog area/alerting Grafana Alerting area/backend area/frontend no-backport Skip backport of PR type/docs Flags the technical writing team for documentation support; auto adds to org-wide docs project

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants