Files
tesla-roadtrip/client
tony b61e3510b9 feat(ui): Phase 3c — vehicle selector panel with all Tesla trims
Replace the simple <select> vehicle chip with a proper anchored
glass panel matching Direction B.

- Full Tesla model catalogue (S / 3 / Y / X / Cybertruck) with all
  trims (Standard / Long Range RWD / Long Range AWD / Performance /
  Plaid / Cyberbeast) and per-trim range, peak kW, 0-100, top speed,
  and badges (Most popular, Best range, Performance).
- Vehicle chip in the top bar now shows the model + abbreviated trim
  ("Model Y LR AWD") with range underneath, opens the panel anchored
  to the chip's bounding rect.
- Panel header has a starting-charge slider (10-100%, snaps to 5).
  Each trim shows "X km now" (= range × charge%) in green so the
  user sees the live impact of picking a different trim or charge
  level.
- Model groups collapse / expand independently; the currently-
  selected model expands by default.
- Picking a trim updates the chip everywhere; closes the panel.
- Backdrop click and Esc both dismiss.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 14:05:48 +01:00
..