Add the proper empty state when wiki page not found
What does this MR do and why?
Problem: we say "Wiki doesn't exist" when the page doesn't exist but not the whole Wiki.
What was done here:
- Add the proper empty state when wiki page not found
- Show sidebar navigation
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 for any public project
- Go to http://gdk.test:3000/admin/users/reported_user_1 or any other user with no groups and projects
- Click [Impersonate]
- Go to your created wiki
- Change the page name in the url
- See empty state page
- Don't forget to stop impersonating by clicking the icon near your avatar
Fixes #22319 (closed)
Fixes #21891 (closed)
Edited by Himanshu Kapoor