Skip to content

fix: hide unfinished nav items (Playground, Agents, REST API, gRPC) from sidebar - #25

Merged
marekdano merged 1 commit into
mainfrom
6240-hide-nav-items
Aug 14, 2026
Merged

fix: hide unfinished nav items (Playground, Agents, REST API, gRPC) from sidebar#25
marekdano merged 1 commit into
mainfrom
6240-hide-nav-items

Conversation

@marekdano

Copy link
Copy Markdown
Contributor

Closes IBM/mcp-context-forge#6240

src/components/layout/Sidebar.tsx

  • Added an optional hidden?: boolean field to the NavItem interface.
  • Marked four nav items as hidden: true: Playground, Agents, REST API, gRPC.
  • Updated renderNavItems to filter out items where hidden is true before rendering, so these entries no longer appear in the sidebar — while staying in the data model, so they can be re-enabled by flipping the flag later.

src/components/layout/Sidebar.test.tsx

  • Added a test asserting that the Playground, Agents, REST API, and gRPC buttons are not rendered in the sidebar.

Net effect: Hides four not-yet-ready nav items from the sidebar without deleting their routes/config — likely to unblock a release while those features aren't ready for users.

…rom sidebar

Signed-off-by: Marek Dano <mk.dano@gmail.com>

@gcgoncalves gcgoncalves left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Easy approve. 👍

@marekdano
marekdano merged commit b42f5e8 into main Aug 14, 2026
5 checks passed
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.

[UI-REWRITE]: Remove/hide all items from main menu when its pages are not implemented

2 participants