Skip to content

[ISSUE #2455] fix(status): preserve unknown backend values - #2460

Open
yuluo-yx wants to merge 1 commit into
apache:rocketmq-studiofrom
yuluo-yx:0820-yuluo-yx/fix-9
Open

[ISSUE #2455] fix(status): preserve unknown backend values#2460
yuluo-yx wants to merge 1 commit into
apache:rocketmq-studiofrom
yuluo-yx:0820-yuluo-yx/fix-9

Conversation

@yuluo-yx

Copy link
Copy Markdown
Member

Summary

  • stop mapping unknown statuses to offline
  • render unknown backend values with a neutral style
  • preserve the original accessible status name

Verification

  • StatusBadge.test.tsx: 10 tests passed
  • targeted ESLint and Prettier checks passed
  • scope check: 21 changed lines

Fixes #2455

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Good fix — stops silently mapping unknown statuses to "offline", which was misleading. The neutral fallback color (#8c8c8c) and raw status display make the unknown state visible without breaking the UI.

LGTM.


Automated review by github-manager

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.

2 participants