Skip to content

Draft: Show wiki sidebar entries as collapsed by default

Himanshu Kapoor requested to merge 409915-wiki-sidebar-collapsed-by-default into master

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
image.png image.png

How to set up and validate locally

  1. Create a wiki page with nested pages.
  2. Notice that the sidebar entries collapse the folders by default.
  3. If you try to search for content in the sidebar, the folders are automatically expanded, and collapsing is disabled.
  4. If you clear the search, they are collapsed again.
  5. The collapsed state is remembered on refresh.

Related to #409915

Merge request reports

Loading