Skip to content

Fix Streaming sidebar losing active state on sub-tabs#203

Merged
jamals86 merged 1 commit intokalamstack:mainfrom
inas-sirhan:fix/streaming-sidebar-active-state
Apr 14, 2026
Merged

Fix Streaming sidebar losing active state on sub-tabs#203
jamals86 merged 1 commit intokalamstack:mainfrom
inas-sirhan:fix/streaming-sidebar-active-state

Conversation

@inas-sirhan
Copy link
Copy Markdown
Collaborator

Fixes #202

The sidebar checks pathname.startsWith(item.href) to highlight the active item. Streaming's href is /streaming/topics, so navigating to /streaming/groups or /streaming/offsets deselects it.

Added an optional activePrefix field so Streaming matches any /streaming/* path.

@jamals86 jamals86 merged commit fecc3e3 into kalamstack:main Apr 14, 2026
@inas-sirhan inas-sirhan deleted the fix/streaming-sidebar-active-state branch April 14, 2026 16:21
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.

Sidebar loses active state on Streaming sub-tabs

2 participants