Wiki sidebar cannot be reopened on non-existent wiki pages in the New UI
Summary
When navigating to a wiki page that does not exist, the sidebar reopen control is missing. Users can collapse the sidebar but cannot reopen it.
Steps to Reproduce
- Navigate to a wiki page URL that does not exist (e.g.,
-/wikis/non-existent-page - The page displays "This page does not exist"
- Collapse the wiki sidebar
- Attempt to reopen the sidebar
- Expected: Sidebar reopen control should appear
- Actual: No reopen control appears; sidebar remains closed
Current Behavior
- Sidebar collapse works on non-existent wiki pages
- Reopen control does not appear after collapsing
- Users cannot navigate without manually typing a new URL
Expected Behavior
- Sidebar reopen control should be visible and functional on all wiki pages, including error pages for non-existent pages
- Users should be able to collapse and reopen the sidebar regardless of page state
Workaround
Navigate manually to -/wikis/pages to restore sidebar access.
Environment
- GitLab.com
Edited by Christopher Mutua