Skip to content

fix: wire Documentation activity bar button to correct sidebar tab (fixes PlatformNetwork/bounty-challenge#21919)#13

Closed
echobt wants to merge 0 commit intomainfrom
fix/issue-21919
Closed

fix: wire Documentation activity bar button to correct sidebar tab (fixes PlatformNetwork/bounty-challenge#21919)#13
echobt wants to merge 0 commit intomainfrom
fix/issue-21919

Conversation

@echobt
Copy link
Copy Markdown
Contributor

@echobt echobt commented Feb 27, 2026

Fix

Wires the Documentation button in the Activity Bar to correctly render the CortexDocumentationPanel in the sidebar.

Changes

  • CortexActivityBar.tsx: Added 'docs' tab entry with correct icon and label
  • CortexSidebarContainer.tsx: Added conditional rendering of CortexDocumentationPanel when sidebarTab === 'docs'
  • Ensured the sidebar tab identifier matches between the Activity Bar click handler and the sidebar rendering logic

Root Cause

Clicking 'Documentation' in the Activity Bar set the sidebar tab to a value that didn't match what the sidebar container checked for rendering CortexDocumentationPanel.

Fixes PlatformNetwork/bounty-challenge#21919

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.

[BUG] [alpha] Clicking "Documentation" button in Activity Bar opens a completely empty sidebar panel — no content renders for the "docs" tab

1 participant