Skip to content

Add page counter to wiki sidebar

Annabel Dunstone Gray requested to merge wiki-page-counter-sidebar into master

What does this MR do and why?

  • Adds total page counter to wiki sidebar header
  • Moves View all pages button to bottom
  • If > 15 pages, show how many are hidden
  • Adds empty state and hides Create custom sidebar button if no pages

Screenshots or screen recordings

Before After
More than 15 pages Screenshot_2024-06-06_at_11.02.37_AM Screenshot_2024-06-06_at_10.59.56_AM
15 or fewer pages Screenshot_2024-06-06_at_11.02.30_AM Screenshot_2024-06-06_at_11.00.08_AM
Empty state Screenshot_2024-06-07_at_6.04.00_AM Screenshot_2024-06-07_at_6.00.43_AM

How to set up and validate locally

  • Go to a wiki with more than 15 pages
  • Go to a wiki with fewer than 15 pages

Links

Edited by Annabel Dunstone Gray

Merge request reports

Loading