From a465dd68ecb2a7c4a455eae1e91aca5de364cbc6 Mon Sep 17 00:00:00 2001 From: Towsty Date: Tue, 29 Sep 2026 20:15:03 -0500 Subject: [PATCH] Stop polling the library catalog and keep the stage on thumbs. Co-authored-by: Cursor --- assets/css/display.css | 15 ++- components/studio2/Bench.vue | 205 ++++++++++++++++++------------- components/studio2/Mobile.vue | 44 +++++-- pages/library.vue | 4 +- server/api/library/index.get.ts | 26 ++-- server/api/studio-2/jobs.post.ts | 15 ++- server/utils/library.ts | 167 +++++++++++++++---------- 7 files changed, 294 insertions(+), 182 deletions(-) diff --git a/assets/css/display.css b/assets/css/display.css index e1fab35..b97b516 100644 --- a/assets/css/display.css +++ b/assets/css/display.css @@ -347,7 +347,8 @@ /* Grow until width or height hits the stage; letterbox/pillarbox via contain */ .viewer-frame > img, -.viewer-frame > video { +.viewer-frame > video, +.viewer-still { width: 100%; height: 100%; max-width: 100%; @@ -356,6 +357,18 @@ object-position: center; } +.viewer-still--veiled { + opacity: 0; + pointer-events: none; +} + +.viewer-frame--veiled .viewer-veil-label { + position: absolute; + z-index: 2; + margin: 0; + pointer-events: none; +} + /* Top chrome is a sibling of the media pane — never absolute over pixels */ .stage-chrome { display: flex; diff --git a/components/studio2/Bench.vue b/components/studio2/Bench.vue index 082bd0c..1a068bb 100644 --- a/components/studio2/Bench.vue +++ b/components/studio2/Bench.vue @@ -280,17 +280,19 @@ aria-label="Previous" @click="stepFamily(-1)" >‹ -
- -