Skip to content

feat(ui): Add debug FeatureBadge variant#116000

Open
chromy wants to merge 3 commits into
masterfrom
chromy/2026-05-21-debug-feature-badge
Open

feat(ui): Add debug FeatureBadge variant#116000
chromy wants to merge 3 commits into
masterfrom
chromy/2026-05-21-debug-feature-badge

Conversation

@chromy
Copy link
Copy Markdown
Contributor

@chromy chromy commented May 21, 2026

Adds a debug type to FeatureBadge for marking UI that is only intended for debugging or internal experimentation, and uses it on the Night Shift project settings page in place of the previous alpha badge.

<FeatureBadge type="debug" /> renders an IconBug with the info tag variant and a default tooltip of "This UI is for debugging purposes only". This gives a distinct visual treatment for debug-only UI that should not be confused with alpha or experimental features intended for users.

Agent transcript: https://claudescope.sentry.dev/share/10qokud3YuEflxKruIvQjhjI7ul5gREgy94rRA9BebA

Adds a `debug` type to FeatureBadge for marking UI that is only intended
for debugging/internal experimentation. Uses IconBug with the `info` tag
variant. Switches the Night Shift project settings UI to use it, which
matches the existing "this is debug UI" disclaimer on that page.

Agent transcript: https://claudescope.sentry.dev/share/2QWAgq2qvUF59F1_WpbIKjln6dnDYeywWKAkDBwKJgY
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.61%

@chromy chromy marked this pull request as ready for review May 21, 2026 15:42
@chromy chromy requested review from a team as code owners May 21, 2026 15:42
Copy link
Copy Markdown
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment thread static/app/components/core/badge/featureBadge.tsx Outdated
Comment thread static/app/components/core/badge/featureBadge.figma.tsx Outdated
chromy and others added 2 commits May 22, 2026 10:54
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants