screentinker/frontend/js/views
ScreenTinker 436a3be7f6 Phase 3: playlist publish/draft state with auto-publish from device detail
Schema: add status and published_snapshot columns to playlists table.
Migration snapshots all existing playlists as published (idempotent via schema_migrations).

Devices always receive the published_snapshot, not live playlist_items.
Edits from device-detail/groups auto-publish immediately (display updates instantly).
Edits from playlist detail page go to draft (requires explicit publish).
POST /playlists/:id/publish snapshots and pushes to all devices.
POST /playlists/:id/discard reverts playlist_items from published snapshot.
Content deletion scrubs references from all published snapshots.

Frontend: draft badge in playlist list, prominent yellow banner with publish/discard
buttons on playlist detail and device detail pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 20:52:29 -05:00
..
activity.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
admin.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
billing.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
content-library.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
dashboard.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
designer.js Fix widget assignments, designer scaling, and cache strategy 2026-04-08 16:25:05 -05:00
device-detail.js Phase 3: playlist publish/draft state with auto-publish from device detail 2026-04-13 20:52:29 -05:00
help.js Initial open source release 2026-04-08 12:14:53 -05:00
kiosk.js Initial open source release 2026-04-08 12:14:53 -05:00
layout-editor.js Initial open source release 2026-04-08 12:14:53 -05:00
login.js Initial open source release 2026-04-08 12:14:53 -05:00
onboarding.js Initial open source release 2026-04-08 12:14:53 -05:00
playlists.js Phase 3: playlist publish/draft state with auto-publish from device detail 2026-04-13 20:52:29 -05:00
reports.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
schedule.js Initial open source release 2026-04-08 12:14:53 -05:00
settings.js Security audit remediation: auth, IDOR, XSS, hardening 2026-04-11 22:48:07 -05:00
teams.js Initial open source release 2026-04-08 12:14:53 -05:00
video-wall.js Initial open source release 2026-04-08 12:14:53 -05:00
widgets.js Initial open source release 2026-04-08 12:14:53 -05:00