From 6038b84a56b1cc0201d31efaddda7ff41bfbf481 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Fri, 6 Nov 2026 13:36:42 +0200 Subject: [PATCH] Timeline: move the clip count out of the head into the hint/zoom row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The head's second row held only that label. It now reads "N clips · M active" (singular fixed); the selection and total time were already in the tools row. Co-Authored-By: Claude Sonnet 5.5 --- app/ui/features/timeline/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/ui/features/timeline/index.js b/app/ui/features/timeline/index.js index aa124034..641f1d0e 100644 --- a/app/ui/features/timeline/index.js +++ b/app/ui/features/timeline/index.js @@ -104,17 +104,17 @@ const zoom = { }, }; -// "4 clips · 4 active · 1 selected · 00:09:19" at the far end of the zone's head. +// "4 clips · 3 active" in the row with the hint and zoom. The selection and the total time are already in the tools row. const count = { id: "timeline-count", - mount: "timeline.status", - needs: ["project", "selection"], + mount: "timeline.toolbar.end", + needs: ["project"], setup({ host, app }) { - const p = app.project, sel = app.selection; + const p = app.project; const put = inPlace(host); const draw = () => { const open = p.project, scenes = open ? open.scenes : []; - put(c.text.sm({ text: `${scenes.length} clips · ${scenes.filter((s) => !s.excluded).length} active · ${open ? sel.ids.length : 0} selected · ${clock(open ? totalSeconds(open) : 0)}` }).node); + put(c.hint.default({ text: `${scenes.length} ${scenes.length === 1 ? "clip" : "clips"} · ${scenes.filter((s) => !s.excluded).length} active` }).node); }; draw(); return app.on(draw);