Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,800
    • Issues 43,800
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,397
    • Merge requests 1,397
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #212835
Closed
Open
Created Mar 30, 2020 by Josef@jhimmels

Wiki - View All Pages button not being properly generated

Summary

  • The Wiki sidebar accounts for 15 direct links before the "View All Pages" button shows up. I created 14 simple pages and including the home page, I was able to see the "View All Pages" button
  • I then nested some of my links in a header such as Docs and found that not only did it not count those, but even as I created more direct links that were not nested, I still couldn't get the "View All Pages" to show up even as I went beyond 15 links.

Steps to reproduce

  1. Create a wiki home page
  2. Create at least 14 basic pages
  3. Notice how the "View All Pages" button dynamically pops up in the sidebar
  4. Move at least one page to a directory
  5. Notice how the "View All Pages" button disappears
  6. Keep adding pages and notice that it is not possible to regenerate the "View All Pages" button.

Example Project

Internal Test Project: https://gitlab.com/gitlab-silver/cbledsoe-wiki-test/-/wikis/home

What is the current bug behavior?

If you have any pages in a directory, it will not be possible to generate the "View All Pages" button in the sidebar.

What is the expected correct behavior?

The "View All Pages" button should be generated once you have met a minimum threshold, regardless of where the pages are moved to / stored.

image

wiki_missing_button

Sidenote: "More Pages" was renamed to "View All Pages"

Proposal

  • Correctly detect number of displayed entries.
  • Fix doc references to the old More Pages button label.

Workaround

Append /pages to the wiki URL (e.g. https://gitlab.com/gitlab-silver/cbledsoe-wiki-test/-/wikis/pages)

ZD Ticket (Internal) ###:

  1. https://gitlab.zendesk.com/agent/tickets/152018
  2. https://gitlab.zendesk.com/agent/tickets/153136
  3. https://gitlab.zendesk.com/agent/tickets/153251
  4. https://gitlab.zendesk.com/agent/tickets/153404
Edited Apr 24, 2020 by Markus Koller
Assignee
Assign to
Time tracking