insert([r])} title="Drag into the cut (onto a placeholder fills it), or double-click to add after the chosen clip">
-
- {label}{r.frame ? "One frame of the canvas" : kindOf(x.type).label}
- {extra && e.stopPropagation()}>{extra}}
- e.stopPropagation()} onClick={() => insert([r])} />
-
+ );
+}
diff --git a/apps/studio/src/timeline/timeline.css b/apps/studio/src/timeline/timeline.css
index 9584fd07..2bc47450 100644
--- a/apps/studio/src/timeline/timeline.css
+++ b/apps/studio/src/timeline/timeline.css
@@ -1,8 +1,9 @@
/* The Timeline window (docs/features/timeline.md): stage with its transport, the strip, the side panels. Builds on shots.css. */
.tl-stage { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.tl-stage > .sh-stage.is-empty { background: var(--photo-bg); }
-.tl-transport { flex: none; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5); border-top: var(--border-w) solid var(--border-divider); background: var(--surface); }
-.tl-time { margin-left: var(--space-4); color: var(--text-secondary); }
+/* The transport, at the start of the Cut's row: it moves the playhead. */
+.tl-transport { flex: none; display: inline-flex; align-items: center; gap: var(--space-2); padding-right: var(--space-4); margin-right: var(--space-2); border-right: var(--border-w) solid var(--border-divider); }
+.tl-time { margin-left: var(--space-3); color: var(--text-secondary); white-space: nowrap; }
.tl-time strong { color: var(--text); }
.tl-card { display: grid; justify-items: center; gap: var(--space-3); max-width: 420px; padding: var(--space-8); border: 2px dashed color-mix(in srgb, var(--over-paper) 45%, transparent); border-radius: var(--radius-card, 8px); text-align: center; color: var(--over-paper); }
.tl-card strong { font-size: var(--font-size-lg, 18px); }
@@ -47,5 +48,31 @@
.tl-file.is-missing { color: var(--danger); }
.tl-file > b { flex: none; min-width: 14px; text-align: center; color: var(--text-secondary); }
.tl-file > .oc-icon:first-child { flex: none; color: var(--text-disabled); }
-.tl-file--coll { cursor: default; }
+.tl-file--coll { cursor: pointer; }
.tl-dot { flex: none; width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; }
+
+/* Editing a file in place locks the cut until Done (the strip is inert meanwhile). */
+.tl-scroll.is-locked { opacity: .55; }
+.tl-locked { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-secondary); font-size: var(--font-size-2xs); }
+
+/* The Files panel as cards: two or more across the panel; a card drags into the cut, its plus adds it. */
+.tl-cards { gap: var(--space-4); padding: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
+.tl-cards .oc-filecard { touch-action: none; user-select: none; }
+.tl-cardadd { display: grid; border-radius: var(--radius-control); background: var(--surface); box-shadow: 0 0 0 var(--border-w) var(--border-control); }
+
+/* Source and Master: the file looked at beside the cut, each with a small head naming it. */
+.tl-source, .tl-master { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
+.tl-source:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--focus-ring); }
+.tl-source > .sh-stage { touch-action: none; }
+.tl-split { flex: 1; display: flex; min-width: 0; min-height: 0; }
+.tl-panehead { flex: none; display: flex; align-items: center; gap: var(--space-3); min-height: 32px; padding: 0 var(--space-3) 0 var(--space-5); border-bottom: var(--border-w) solid var(--border-divider); background: var(--surface); color: var(--text-secondary); font-size: var(--font-size-2xs); }
+.tl-panehead > b { color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
+.tl-panehead__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
+.tl-panehead__count { flex: none; }
+.tl-source__strip { flex: none; display: flex; gap: var(--space-2); padding: var(--space-3); overflow-x: auto; border-top: var(--border-w) solid var(--border-divider); background: var(--surface); }
+.tl-source__cell { flex: none; width: 72px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; }
+.tl-source__cell > .sh-box { width: 100%; height: 100%; border-radius: 2px; }
+.tl-source__cell.is-on { border-color: var(--accent); }
+.tl-source__cell:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--focus), 0 0 0 3px var(--focus-ring); }
+.tl-cards--1 { grid-template-columns: minmax(0, 1fr); }
+.tl-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
diff --git a/docs/features/desktop.md b/docs/features/desktop.md
index b3578832..6873690d 100644
--- a/docs/features/desktop.md
+++ b/docs/features/desktop.md
@@ -21,7 +21,7 @@ The Studio is a desktop scoped to one project: apps in windows, a taskbar, virtu
- **Motion** comes from the design system's window frame: opening, closing (a closed window fades, then leaves the store), minimising toward its taskbar button, and maximise, snap and restore as one move.
- Click anywhere in a window to bring it to the front. Right-click the title bar for minimise, maximise, snap, **Move to** another desktop, and close.
- **One window per file:** opening something that is open focuses its window, on whichever desktop it is. An app marked `singleton` has one window in all.
-- **Start screens** (`apps/StartScreen.tsx`, #426): an app for one file opened without one (from the launcher) shows the project's files of its type, newest first, with search and New, as a desktop program does; a click opens that file in the same window (or brings up its window if it is open). Photo has no New (photos are imported); Timeline lists the master timeline first.
+- **Start screens** (`apps/StartScreen.tsx`, #426): an app for one file opened without one (from the launcher) shows the project's files of its type, newest first, with search and New, as a desktop program does; a click opens that file in the same window (or brings up its window if it is open). Photo has no New (photos are imported); Timeline lists the master timeline first. Right-click a file (Open, Rename…) or press F2 on it to rename it there.
- **Closing** asks first when the app registered a guard (`wm/closeGuards.ts`).
- **Layout per project and browser** (`wm/desktopState.ts`): windows, z-order, each window's route and the desktops in `localStorage["desktop."]` (`v: 3`; anything else starts fresh), saved 600 ms after a change, on a project switch and on `pagehide`.
diff --git a/docs/features/timeline.md b/docs/features/timeline.md
index acf13940..e76e8b38 100644
--- a/docs/features/timeline.md
+++ b/docs/features/timeline.md
@@ -29,12 +29,14 @@ Every project has one: an ordered list of the project's timelines (`PUT /api/pro
## The Timeline window (`apps/studio/src/apps/TimelineApp.tsx`, `src/timeline/`)
-One window per timeline (Files: New, Timeline; a double-click on one). The U4 layout: the **stage** with the transport under it; the **Cut** below (the strip); at the left **Files**, **In use** and **Chapters**; at the right the chosen **Clip**. Panels move, size, collapse and stack as everywhere (`Dock`).
+One window per timeline (Files: New, Timeline; a double-click on one). The U4 layout: the **stage**; the **Cut** below (the strip, with the transport at the start of its row); at the left **Files**, **In use** and **Chapters**; at the right the chosen **Clip**. Panels move, size, collapse and stack as everywhere (`Dock`).
-- **The stage** plays what is under the playhead: a picture through its frame in Outline, Mask, Crop or Full (the window's choice); a progression's pictures at its timing with its default frame and overlay, a smooth zoom moving; a placeholder or a missing file as a card. The caption names the chapter and the clip (and the picture of a progression). Transport: to the start, previous and next clip, play and pause (on the clock; at the end it stops and goes back to the start), the time.
+- **The stage** plays what is under the playhead: a picture through its frame in Outline, Mask, Crop or Full (the window's choice, in its toolbar, for Source and Master alike); a progression's pictures at its timing with its default frame and overlay, a smooth zoom moving; a placeholder or a missing file as a card. The caption names the chapter and the clip (and the picture of a progression).
+- **Source and Master** (the toolbar's Source · Both · Master, remembered per browser): Master is the stage above; Source shows the file chosen in the Files panel, large, through the same view mode. A collection, a canvas with frames and a shot with a progression get a filmstrip of what they hold (a click or ← → steps through it). **Add to the cut** (after the chosen clips) or a drag from the picture into the strip puts in what is shown: the photo, the canvas or its frame, the whole shot. Both puts Source at the left and Master at the right, with a grip between them. Looking at a file changes nothing in the cut.
+- **The transport** opens the Cut's row, since it moves the playhead: to the start, previous and next clip, play and pause (on the clock; at the end it stops and goes back to the start), the time. It goes where the Cut panel goes; the keys work either way.
- **The strip**: a ruler (click or drag to move the playhead; the knob scrubs), a lane of chapters (each from its marker to the next), the clips, each as wide as it lasts. Zoom with the slider or Ctrl + wheel; **Fit** shows the whole cut. A shot with a progression is **Spread** (a cell per picture; a click on a cell goes to that picture) or **Collapsed** (its first picture); its length is the progression's in both, and it has no edge to pull. Others: pull the right edge to change the time, drag to reorder.
- **Choosing**: a click chooses a clip and puts the playhead at its start; Shift adds a range, Ctrl one more. With several chosen, the Clip panel sets one hold time for all, ± 0.5 s, moves them together (Alt + arrows) or removes them.
-- **Files**: the project's shots, photos, canvases and collections, with a search and a type filter; a collection opens to its photos (never a clip itself), a canvas with frames opens to its frames. Drag a row into the strip (a line shows where it lands; over a **placeholder** it fills it, keeping its time and chapter), double-click it, or press its plus to add it after the chosen clips. A new clip holds the timeline's value, else the account's ("New clips … s": "This timeline has its own value"; the account's value is the `clipHoldMs` preference, 2 s to start with).
+- **Files**: the project's shots, photos, canvases and collections, with a search and a type filter, as a **List** or as **Cards** (bigger pictures; remembered per browser). The panel's ⋯ menu sets how many cards go across: as many as fit (the default), one (each picture as wide as the panel) or two; also remembered per browser. In the list a collection opens to its photos and a canvas with frames to its frames; as cards a collection is one card to scrub through (as in Files), and a canvas's frames are looked through in Source. **A click looks at a file in Source** (when the pane shows; nothing else happens otherwise); **a double-click opens it in its own app** (a canvas in Canvas, a photo in Photo, a shot in Shot, a collection as its folder). Drag a row or a card into the strip (a line shows where it lands; over a **placeholder** it fills it, keeping its time and chapter), or press its plus to add it after the chosen clips. **A collection is never a clip itself: dragged in (or its plus), it puts its photos in, one clip each, in the collection's order**; it does not fill a placeholder. A new clip holds the timeline's value, else the account's ("New clips … s": "This timeline has its own value"; the account's value is the `clipHoldMs` preference, 2 s to start with).
- **In use**: the files this cut uses, with how often, and the placeholders; a click goes to the next clip that uses it.
- **Chapters**: each with its start and length; a click goes there. "Chapter" (C) starts one at the chosen clip, or ends it; its title and colour are set in the Clip panel.
- **The Clip panel**: the picture, the file's name (a placeholder's title is typed here), the hold time with ± 0.5 s (D focuses it), where it starts; a shot whose thumbnail is a progression says it plays it. **Open in …** (or a double-click on the clip) opens the file's app in a window of its own; **Make a canvas from it** (a photo) makes a canvas on the photo next to it and points the clip at it; **Fill it** (a placeholder); **Remove**. Then where else the file is used, and its properties.
@@ -42,11 +44,12 @@ One window per timeline (Files: New, Timeline; a double-click on one). The U4 la
- **Undo and redo** (Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y; the buttons in the Cut's row): up to 100 steps, changes close together are one.
- **Keys**: Space, ← →, Home, End, Alt+← →, - and +, D, P (a placeholder after the chosen clip), C, Delete, Ctrl+A ([shortcuts](../shortcuts.md)).
- **The edit lock**: the window takes it when it opens; others see the timeline read-only with who edits it, and Edit when it is free; **Stop editing** saves and lets it go. A watching window follows every change at once in a project set to realtime (the file's live room), else reads the timeline again every 5 s. Changes save 0.6 s after the last one (status bar: Saved, Changed, Saving…, Not saved).
+- **The name** sits in the toolbar and is typed in place while you hold the lock (Enter or leaving the field saves, Escape undoes); watching, it is plain text. The start screen renames too (right-click or F2).
- **The address** keeps the playhead: `#/timeline/?t=12.5`.
## Editing a canvas or a shot from the cut
-A double-click on a canvas or shot clip, or **Edit here** in the Clip panel, mounts the file's own window in place of the stage: the canvas editor, or the Shot window (progression and content as tabs below, its own arrangement). A bar names the file, says where else it is used, offers **Edit a copy instead** when it is used elsewhere (the clip then points at a copy, which is edited here; the original stays), **Open in …** (its app in a window of its own) and **Done**. Playback stops and the playhead stays on the clip; choosing another clip, moving the playhead or playing ends the edit. The file panels fold away meanwhile and come back after. The mounted editor owns the keys. **The lock is the file's**: editing in place takes the same lock as its own window, so a file someone edits elsewhere is read-only here too (with who has it), and the other way round. A photo clip is not edited: Make a canvas from it.
+A double-click on a canvas or shot clip, or **Edit here** in the Clip panel, mounts the file's own window in place of the stage: the canvas editor, or the Shot window (progression and content as tabs below, its own arrangement). A bar names the file, says where else it is used, offers **Edit a copy instead** when it is used elsewhere (the clip then points at a copy, which is edited here; the original stays), **Open in …** (its app in a window of its own) and **Done**. Playback stops, the playhead stays on the clip and **the cut is locked** until Done (or Back to the cut): the strip and the Clip panel take no clicks, scrubbing, choosing another clip and playing do nothing, and the strip says so with its own Done. The file panels fold away meanwhile and come back after. The mounted editor owns the keys. **The lock is the file's**: editing in place takes the same lock as its own window, so a file someone edits elsewhere is read-only here too (with who has it), and the other way round. A photo clip is not edited: Make a canvas from it.
## The master timeline (`apps/studio/src/apps/MasterApp.tsx`, in the Timeline app, route `#/timeline/master`)
diff --git a/docs/shortcuts.md b/docs/shortcuts.md
index c6cc02d7..941d4f57 100644
--- a/docs/shortcuts.md
+++ b/docs/shortcuts.md
@@ -84,6 +84,13 @@ The same list is in the app: `?`, and Settings › Shortcuts. Single keys never
| ← | Previous photo |
| → | Next photo |
+## Start screens (an app opened without a file)
+
+| Keys | What |
+| --- | --- |
+| F2 | Rename the focused file |
+| Right-click | On a file: open, rename |
+
## Timeline
| Keys | What |