Skip to content

Conversation

@afernandez-nhs
Copy link
Contributor

Description

Fixed sidebar navigation ordering in the Features section to restore the original intended page sequence. The navigation logic was modified to properly handle pages without explicit section assignments by displaying them at the top of the sidebar, sorted by their nav_order values, while maintaining sections below in the configured order.

Context

The new sidebar section logic was unintentionally disrupting the user experience by placing pages without sections (Roadmap and Security) at the bottom of the navigation in alphabetical order, rather than respecting their intended nav_order values. This broke the logical information hierarchy that was originally designed for the Features section.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

- Separate pages without sections from pages with sections
- Display pages without sections at top, sorted by nav_order
- Render sections below in configured order from sidebar-section-order.yml
- Fixes issue where Roadmap and Security appeared at bottom instead of top
- Maintains logical information hierarchy for better UX
@afernandez-nhs afernandez-nhs requested a review from a team as a code owner July 21, 2025 10:24
@afernandez-nhs afernandez-nhs changed the title fix(navigation): restore original sidebar order for Features section CCM-11285: restore original sidebar order for Features section Jul 21, 2025
Copy link
Contributor

@jakecosgrove jakecosgrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work Alex, well done 🙌

@jakecosgrove jakecosgrove merged commit 2582146 into main Jul 22, 2025
29 of 31 checks passed
@jakecosgrove jakecosgrove deleted the CCM-11285 branch July 22, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants