chore(build): rebuild bundle for v2 crop fix + tighten Device.model
CI / test (push) Has been cancelled

The crop-aspect fix didn't reach production on the prior deploy because
public/build/ was 5 days stale. Rebuilds the SPA bundle so the
panelDims-driven CropEditor / StickerCanvas / FrameCard ship.

Also makes Device.model required in the TS type (was optional in this
session's first cut to placate test fixtures) and adds `model: 'v1'` to
every test Device fixture. A new device row from the API always has a
model, so the type should reflect that — leaving it optional was a trap
for production code that defensively assumed undefined.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 12:29:12 -04:00
parent 081ca83613
commit e57e711fcc
20 changed files with 17 additions and 9 deletions
@@ -37,6 +37,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA',
name: 'Living Room',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'UTC',
@@ -26,6 +26,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA:BB:CC:DD:EE:FF',
name: 'Living Room',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'America/Chicago',
@@ -41,6 +41,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA',
name: 'Den',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'UTC',
+1
View File
@@ -8,6 +8,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA:BB:CC:DD:EE:FF',
name: 'Living Room',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'America/Chicago',
+1
View File
@@ -69,6 +69,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA:BB:CC:DD:EE:FF',
name: 'Living Room',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'America/Chicago',
@@ -79,6 +79,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA:BB:CC:DD:EE:FF',
name: 'Living Room',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'America/Chicago',
@@ -55,6 +55,7 @@ const makeDevice = (overrides: Partial<Device> = {}): Device => ({
mac: 'AA',
name: 'Living Room',
orientation: 'landscape',
model: 'v1',
rotationIntervalMinutes: 60,
wakeTimes: [],
timezone: 'UTC',