Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Sidebar active menu item remains highlighted after navigating via Flowise logo

Open PailaKarthik opened this issue 5 months ago • 1 comments

Describe the bug

When navigating between sidebar sections, the active menu item is highlighted correctly.

However, if I click the Flowise logo to navigate back to the default Chatflows page, the previously selected sidebar item remains highlighted even though the current page is Chatflows.

To Reproduce

  1. Open the application
  2. Click a sidebar item (e.g. Credentials, Tools, or another section)
  3. Observe that the selected item becomes highlighted
  4. Click the Flowise logo to navigate back to Chatflows

Expected behavior

The Chatflows menu item should become active/highlighted because the current route is Chatflows.

Screenshots

Image

Flow

  1. Open the Flowise application.
  2. Click any sidebar menu item (for example: Credentials, Tools, or Assistants).
  3. Verify that the selected menu item is highlighted.
  4. Click the Flowise logo in the sidebar/header to navigate back to Chatflows.
  5. Observe the active menu highlight state.

Use Method

Flowise Cloud

Flowise Version

No response

Operating System

Windows

Browser

Edge

Additional context

This causes the sidebar active state to become inconsistent with the current route.

Video Proof : https://github.com/user-attachments/assets/d58c959f-03a1-4ff4-b0b8-321e35e2c63f

PailaKarthik avatar Jun 13 '26 09:06 PailaKarthik

I opened https://github.com/FlowiseAI/Flowise/pull/6547 for this. The sidebar only synchronized its active item when each NavItem mounted, so navigating back through the Flowise logo did not update the selected menu item. The patch tracks location.pathname and updates the active menu item on route changes. Validation: git diff --check and pnpm --dir packages/ui build passed.

vicksiyi avatar Jun 22 '26 18:06 vicksiyi