Repository navigation
fix(web): unify required asterisk color in instance name section - #17082
Conversation
Use text-state-error for the instance name asterisk to match the required-field asterisk rendered by FormLabel.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe required-field asterisk in the instance name label now uses the ChangesInstance Name Label
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
wangq8
left a comment
There was a problem hiding this comment.
Review: PR #17082
Change: Replaces text-destructive with text-state-error on the required-field asterisk in the instance name section to match the FormLabel convention used by other fields in the same card.
Assessment: Trivial one-class swap, clearly correct. Unifies asterisk styling within the card. No tests needed. No risk of regression.
Verdict: ✅ LGTM — safe to merge.
Summary
The required-field asterisk of the "Instance Name" label in the provider instance draft card used
text-destructive, while the asterisks rendered byFormLabel(e.g. the "API-Key" field right below it) usetext-state-error. This caused two visibly different asterisk colors within the same card.This PR changes the instance name asterisk to
text-state-errorso it matches the color used byFormLabel, making the required markers consistent across the card.