Aias00 opened a new issue, #2260:
URL: https://github.com/apache/rocketmq-dashboard/issues/2260

   ## Problem
   
   `MainLayout` derives the selected menu key for 
`/instance/{instance}/{section}` from the first capture group, which is the 
selected instance identifier. The navigation menu uses static section keys such 
as `/instance/topic` and `/instance/consumer`, so no matching item is selected 
on instance-scoped pages.
   
   ## Reproduction
   
   1. Open `/instance/demo/topic`.
   2. The Topic menu item is not selected because the derived key is 
`/instance/demo`.
   
   ## Expected behavior
   
   The active menu item reflects the page section regardless of the selected 
instance, for example `/instance/demo/topic` selects Topic management.
   
   ## Scope
   
   - derive the selected key from the route section capture group;
   - add a layout regression test covering an instance-scoped route.
   
   Track 1 / Control Plane navigation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to