mirror of
https://github.com/usetrmnl/byos_next.git
synced 2026-04-29 13:34:28 -07:00
58cee46c62
DeviceEditForm now uses the 1.3fr/1fr grid so the live preview sits on the left (matching the read-only Device view and Dashboard) while configuration tabs occupy the right column. - Left: Live preview panel — small-caps header with the dimension / orientation / grayscale chip, hero DeviceFrame on the radial spotlight (sticky on lg), and a footer strip showing the current mode / timezone / default refresh as definition rows that update as the form changes. - Right: a single rounded-2xl panel titled CONFIGURATION holding a 4-up tab strip (Essentials / Content / Display / Refresh). - Form internals: a Field helper consolidates label + input + hint / error styling; display-mode toggle becomes a 3-up grid; validation errors switch from text-red-500 to text-destructive; time-range overrides are a divide-y list with a top toolbar and a dashed empty state. - Drops the shadcn Card / AspectRatio / ring-2 ring-gray-200 chrome in favor of the shared DeviceFrame, and removes the in-form Save / Cancel buttons since the page header already provides them. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>