Draft: Show wiki sidebar entries as collapsed by default
What does this MR do and why?
Show wiki sidebar entries as collapsed
Show all wiki sidebar folder entries as collapsed by default. They will always be expanded when searching for something though.
Changelog: changed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Create a wiki page with nested pages.
- Notice that the sidebar entries collapse the folders by default.
- If you try to search for content in the sidebar, the folders are automatically expanded, and collapsing is disabled.
- If you clear the search, they are collapsed again.
- The collapsed state is remembered on refresh.
Related to #409915