fix(dashboard): search custom events and balance selector padding

Merged
IZ
4d ago
+67-16

Users with many custom events had to scroll the event picker to find an event. Add the existing shared searchable picker with keyboard selection, a no-results state, and search reset on reopening while preserving the selected event's properties and URL state.

Give the small segmented control equal 4 px insets, correcting the Daily/Hourly selector's 2 px left versus 4 px top spacing. This hotfix contains only these two UI files and is based on current main.

Validation: full bun run lint, repository bun run check-types, and dashboard tests passed. An isolated synthetic browser fixture verified case-insensitive search, keyboard selection, property and URL updates, no-results recovery, search reset, responsive widths from 320 to 1440 px, and matching 4 px top/left insets. The full authenticated /events route was not running locally.


Summary by cubic

Replaces the custom events dropdown with the shared searchable picker and evens out the small segmented control's padding.

  • The picker adds keyboard selection, a no-results state, and search reset on reopening while preserving the selected event's properties and URL state.
  • The small segmented control now gets equal 4px insets, fixing the previous 2px left versus 4px top spacing.
  • This hotfix touches only these two UI files and is based on current main.