Skip to content

Save sidebar entries collapsed state

Himanshu Kapoor requested to merge himkp-wiki-sidebar-local-storage into master

What does this MR do and why?

Save sidebar entries collapsed state

On refresh, retain the collapsed state of sidebar entries.

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.

Sidebar entries in wikis with children stay collapsed on refresh, if you collapse them once.

image

How to set up and validate locally

  1. In a wiki, create a nested page another page.
  2. In the sidebar, click the parent item to collapse it.
  3. Refresh.
  4. The parent item should stay collapsed.

#452225 (closed)

Edited by Himanshu Kapoor

Merge request reports