Add page counter to wiki sidebar
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 | ![]() |
![]() |
15 or fewer pages | ![]() |
![]() |
Empty state | ![]() |
![]() |
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