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

   ### What happened?
   
   The Studio GroupManagement page defines consumer groups, subscriptions, 
instances, and progress as hardcoded page-level arrays. This bypasses the 
existing consumerService mock/real switch and can still render sample data even 
when production builds disable mock mode.
   
   ### Expected behavior
   
   The page should load group data through consumerService so mock and real API 
behavior are controlled in one place. Detail tabs should also load 
subscriptions, instances, and progress through the service instead of 
page-level static data.
   
   ### Why this matters
   
   This belongs to the Studio control-plane Consumer/Group management surface 
in BASE-01. Users should not see fabricated consumer-group runtime data when 
the backend or provider is unavailable.
   
   ### Candidate fix
   
   - Replace page-level hardcoded group data with 
consumerService.listConsumerGroups
   - Load detail subscriptions and progress through consumerService
   - Keep mock-mode behavior available through the service layer only
   - Update GroupManagement page tests to mock consumerService instead of 
relying on hardcoded page data


-- 
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