Skip to content

Conversation

@gggritso
Copy link
Member

@gggritso gggritso commented Jan 8, 2026

There are slightly too many options there now, and we're actually adding a new one soon, so it's a bit outta control. Instead of a bunch of radio options, let's use a dropdown.

Before:
Screenshot 2026-01-08 at 12 53 00 PM

After:
Screenshot 2026-01-12 at 10 54 32 AM

@gggritso gggritso requested a review from a team as a code owner January 8, 2026 17:54
@linear
Copy link

linear bot commented Jan 8, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 8, 2026
Update test selectors to use proper CompactSelect accessibility patterns:
- Click button by role with current selection instead of label text
- Find options using proper role selectors
- Check disabled state with aria-disabled attribute
- Update dataset change test to click CompactSelect button then option
- Make popper-related tests async to wait for state updates
- Add waitFor to flush pending popper updates before test completion
Update test to open CompactSelect dropdown and verify options using
proper accessibility roles instead of checking for radiogroup.
- Errors: Errors from your application
- Spans: Spans from distributed traces
- Logs: Structured application logs
- Issues: Grouped events from the Issues Feed
- Releases: Session data from releases
- Metrics: Counters, guages, and distributions
- Transactions: No longer supported. Use the spans dataset.
1. Remove disabled attribute from transactions option to allow clicking
   the migration link when transactions are deprecated
2. Prevent selection programmatically in onChange handler instead
3. Show proper description for transactions when not deprecated
   ("Transactions from your application" instead of deprecation message)

Fixes issues identified in PR review:
- Disabled option prevented clicking the spans migration link
- Transactions showed deprecation message even when supported
This will prevent bad overflow when on mobile
@gggritso gggritso merged commit ed92288 into master Jan 12, 2026
53 checks passed
@gggritso gggritso deleted the georgegritsouk/dain-1150-convert-widget-builder-dataset-radios-to-compactselect branch January 12, 2026 19:53
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.

3 participants