RockteMQ-AI commented on issue #2455:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/2455#issuecomment-5358507899

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   Verified in `web/src/components/StatusBadge.tsx` (line 31): `const config = 
STATUS_MAP[status] || STATUS_MAP.offline`. Any status not present in 
`STATUS_MAP` (e.g. `degraded`) falls back to the `offline` visual style, 
incorrectly presenting unknown states as offline.
   
   **Root Cause:** The fallback in `StatusBadge` maps all unknown statuses to 
`offline` instead of using a neutral/unknown style.
   **Impact:** New backend states (e.g. `degraded`) are displayed as false 
offline claims, misleading users.
   **Severity:** medium
   
   The fix should introduce a neutral visual style for unknown values and 
preserve the original status text.
   
   ---
   *Automated evaluation by RockteMQ-AI*


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