Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(editor): finish the v3 rail removal — dead CSS, stale refs, unused import

Etienne Lescot06b12de0cdee
diff --git a/electron/ai-edition/chat-service.ts b/electron/ai-edition/chat-service.ts
index 4dcac3423..20e635062 100644
--- a/electron/ai-edition/chat-service.ts
+++ b/electron/ai-edition/chat-service.ts
@@ -438,7 +438,7 @@ export async function runChat(
success: true,
assistantMessage,
// ponytail: belt and braces on `editsAllowed`. This returned document is
- // the ONLY path to disk (LeftPanel → applyAgentDocument → saveDocument),
+ // the ONLY path to disk (ChatStripPanel → applyAgentDocument → saveDocument),
// so it is where a write that somehow escaped the executor's guard would
// still land. Cheap, and it makes the setting's guarantee structural
// rather than dependent on one predicate holding everywhere.
diff --git a/src/components/ai-edition/NewEditorShell.module.css b/src/components/ai-edition/NewEditorShell.module.css
index 878953342..8078ca27b 100644
--- a/src/components/ai-edition/NewEditorShell.module.css
+++ b/src/components/ai-edition/NewEditorShell.module.css
@@ -16,33 +16,6 @@
user-select: none;
}
-.app[data-collapse~="left"] {
- --panel-w-left: 0px;
-}
-.app[data-collapse~="left"] .leftPanel,
-.app[data-collapse~="left"] .handleLeft {
- display: none;
-}
-
-.app[data-collapse~="right"] {
- --panel-w-right: 0px;
-}
-.app[data-collapse~="right"] .rightStack,
-.app[data-collapse~="right"] .rightRail,
-.app[data-collapse~="right"] .handleRight {
- display: none;
-}
-
-.app[data-collapse~="bottom"] {
- --bottom-h: 0px;
-}
-.app[data-collapse~="bottom"] .bottombar {
- display: none;
-}
-.app[data-collapse~="bottom"] .handleBottom {
- display: none;
-}
-
/* ─── titlebar ──────────────────────────────────────────────────── */
.titlebar {
display: flex;
@@ -252,13 +225,6 @@
border-left: 1px solid var(--border-soft);
}
-.leftPanel {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- min-height: 0;
-}
-
.panel {
display: flex;
flex-direction: column;
@@ -807,13 +773,6 @@
.transport .spacer { flex: 1; }
/* ─── right panel-stack (one pane visible at a time) ──────────── */
-.rightStack {
- grid-column: 6;
- display: grid;
- min-width: 0;
- min-height: 0;
- background: var(--bg);
-}
.pane {
display: none;
grid-template-rows: auto 1fr;
@@ -1465,14 +1424,6 @@
/* ─── bottombar / timeline ─────────────────────────────────────── */
-.bottombar {
- display: grid;
- grid-template-columns: 1fr;
- min-height: 0;
- background: var(--bg);
- overflow: hidden;
-}
-
/* Region lanes (annotations / speed / zoom) inside the timeline body. */
/* Lanes: fixed-width label column + one shared dnd-timeline surface column.
Both columns lay out 3 rows independently but with identical height (22px)
diff --git a/src/components/ai-edition/ProviderSettings.test.tsx b/src/components/ai-edition/ProviderSettings.test.tsx
index 3c1debd73..6f20c3ebc 100644
--- a/src/components/ai-edition/ProviderSettings.test.tsx
+++ b/src/components/ai-edition/ProviderSettings.test.tsx
@@ -109,7 +109,7 @@ describe("ProviderSettings, reached from the app menu", () => {
"media",
"rec",
])("opens in %s mode, where the chat panel that used to own it does not exist", (mode) => {
- // The reason the state was lifted. LeftPanel renders only under `mode === "edit" &&
+ // The reason the state was lifted. ChatStripPanel renders only under `mode === "edit" &&
// chatOpen`, so before this change the row would have been dead in both of these.
renderEditorChrome("en", mode);
diff --git a/src/lib/ai-edition/document/transcribe.test.ts b/src/lib/ai-edition/document/transcribe.test.ts
index 18857ed29..034abf212 100644
--- a/src/lib/ai-edition/document/transcribe.test.ts
+++ b/src/lib/ai-edition/document/transcribe.test.ts
@@ -1,5 +1,5 @@
import { describe, expect, it, vi } from "vitest";
-import { type AxcutDocument, type AxcutTranscript, axcutSchemaVersion } from "../schema";
+import { type AxcutDocument, axcutSchemaVersion } from "../schema";
import { transcribeAsset } from "./transcribe";
vi.mock("@/components/video-editor/projectPersistence", () => ({
diff --git a/src/lib/ai-edition/modalGuard.ts b/src/lib/ai-edition/modalGuard.ts
index 6ac2f2fad..f63ddcd0e 100644
--- a/src/lib/ai-edition/modalGuard.ts
+++ b/src/lib/ai-edition/modalGuard.ts
@@ -9,7 +9,7 @@
// remember to add.
//
// Every modal in this tree already announces itself the same way: `ModalShell` and the
-// hand-rolled portal in `LeftPanel` render `aria-modal="true"`, and `ui/dialog` passes the same
+// hand-rolled portal in `ChatStripPanel` render `aria-modal="true"`, and `ui/dialog` passes the same
// attribute to Radix's content. So one selector answers for all of them, including the ones
// that do not exist yet.
diff --git a/technical-documentation/architecture/editor-shell.md b/technical-documentation/architecture/editor-shell.md
index 83b79bd58..97f9c2097 100644
--- a/technical-documentation/architecture/editor-shell.md
+++ b/technical-documentation/architecture/editor-shell.md
@@ -59,7 +59,7 @@ of those are local React state, with the document itself read through
| **Bottom timeline** | `src/components/ai-edition/v4/V4Timeline.tsx` | Renders the clips, the ruler, and the five lanes (`annPills`, `speedPills`, `trimPills`, `zoomPills`, `cameraFullscreenPills`, computed at `:321-363`). Owns transport (play / prev / next / loop), zoom/pan, scrub, drag-and-drop of asset cards, the "smart zooms + cuts" AI prompt, and resize/move/delete of every pill. Pills render through `coalesceRegionsForRuler` and `coalescedTrimGroups` so what the user sees is exactly what the rules in [timeline-model.md](timeline-model.md) describe. |
| **Floating inspector** | `src/components/ai-edition/v4/FloatingInspector.tsx` | Floating facet rail over the stage; the open panel either shows the `FacetBody` for the current facet (`effects` / `layout` / `audio` / `cursor` / `captions` / `transcript`) or, when a region is selected, a `SelectionPane` (`:434`) that edits the selected pill by id. The "pencil" rail button opens `EditClipModal` for crop + trim. |
| **Left chat column** (`ChatStripPanel`) | `src/components/ai-edition/LeftPanel.tsx` | Only mounted when `mode === "edit"` and `chatOpen` is true (`NewEditorShell.tsx` `:1191-1195`). Sends user messages to the LLM via IPC. Resize handle is `v4.chatResizeHandle`; width persists in `localStorage` as `os-editor-chat-width`. |
-| **Modals** | `src/components/ai-edition/Modals.tsx` | `OpenProjectModal`, `NewProjectModal`, `EditClipModal` (per-clip crop + in/out), `UnsavedChangesModal`. Mounted at the shell level (`:1286-1332`) so every trigger site reuses the same instance. |
+| **Modals** | `src/components/ai-edition/Modals.tsx` | `OpenProjectModal`, `NewProjectModal`, `EditClipModal` (per-clip crop + in/out), `UnsavedChangesModal`. Mounted at the shell level (`:1333-1385`) so every trigger site reuses the same instance. |
| **Export dialog** | `src/components/ai-edition/ExportDialog.tsx` | Format / quality / frame-rate / codec / size; calls `exportAxcutDocument` (GIF path, WebCodecs) or `exportMultiNative` (MP4 path, native D3D compositor). The MP4 path is the one that goes through `src/lib/ai-edition/exporter/documentExporter.ts`'s `projectRegionsToSourceTime` and the multi-clip native bridge. |
| **Captions pane** | `src/components/ai-edition/CaptionsPane.tsx` | Mounted as a facet body from `FloatingInspector.tsx` (`:1062`). Controls caption appearance + translations; the cues themselves are a derived view over `document.transcripts` (see [`src/lib/ai-edition/captions/`](../../src/lib/ai-edition/captions/)). |
diff --git a/technical-documentation/testing/manual-e2e-checklist.md b/technical-documentation/testing/manual-e2e-checklist.md
index 62178b679..8609f0a14 100644
--- a/technical-documentation/testing/manual-e2e-checklist.md
+++ b/technical-documentation/testing/manual-e2e-checklist.md
@@ -73,7 +73,7 @@ Sections marked **v1.8.0** cover what this release changed: chat-driven editing
- [ ] Confirm the top bar shows an unsaved state after changing the project title.
- [ ] Switch among the Media, Edit, and Rec editor modes and confirm each selected tab visibly changes state.
- [ ] Confirm the editor's preview, timeline, and inspector remain usable after switching modes.
-- [ ] Activate the left-panel toggle by its `aria-label` and confirm the chat/media panel opens or closes without changing the project.
+- [ ] Activate the left-panel toggle by its `aria-label` and confirm the chat panel opens or closes without changing the project.
- [ ] Resize the chat panel by its visible divider and confirm the preview area resizes without moving the timeline content.
- [ ] Resize the timeline by its visible top divider and confirm the timeline height changes without a layout crash.
diff --git a/website/docs/media-library.md b/website/docs/media-library.md
index 034ea1502..cf955fc60 100644
--- a/website/docs/media-library.md
+++ b/website/docs/media-library.md
@@ -22,7 +22,7 @@ Switch to **Media** in the top bar. The stage shows one card per source in the p
Select a card to open its detail panel:
-- **Source Transcript** — the full text for that asset, with its status (Pending transcription / Transcribing / Generated / Failed) and the detected language.
+- **Source Transcript** — the full text for that asset, with its status (No transcript / Pending transcription / Downloading speech model / Transcribing / Transcript ready / No speech detected / No audio track / Transcription failed) and the detected language.
- **Regenerate as** — re-run local Whisper for this asset, either on **Auto** detection or forced to English, French, or Spanish.
**Import media** adds a source from disk — video, audio, or images. The file dialog accepts `webm`, `mp4`, `mov`, `avi`, `mkv`, `m4v`, `wmv`, `flv`, and `ts`.
diff --git a/website/scripts/gen-recreation.mjs b/website/scripts/gen-recreation.mjs
index d68b4ce43..0d3a416ef 100644
--- a/website/scripts/gen-recreation.mjs
+++ b/website/scripts/gen-recreation.mjs
@@ -1001,7 +1001,7 @@ const PROVENANCE = [
{
shown: CHAT.conversationTitle,
source:
- "computed: editor.json chat.untitledConversation + the session index, as LeftPanel.tsx:1433 renders it",
+ "computed: editor.json chat.untitledConversation + the session index, as LeftPanel.tsx:1184 renders it",
},
{ shown: CHAT.emptyState, source: "editor.json chat.emptyState" },
{ shown: CHAT.authorUser, source: "editor.json chat.authorUser" },
diff --git a/website/src/components/Recreation/generated.ts b/website/src/components/Recreation/generated.ts
index 3e81c6b9b..1409939ba 100644
--- a/website/src/components/Recreation/generated.ts
+++ b/website/src/components/Recreation/generated.ts
@@ -772,7 +772,7 @@ export const PROVENANCE: ProvenanceEntry[] = [
{ shown: "[silence 0.2s]", source: "computed: settings.json transcript.silence over the 0.230s gap 27.09–27.32 that buildClipSection inserted at SILENCE_THRESHOLD_SEC 0.2; outside any trim" },
{ shown: "[silence 4.9s]", source: "computed: settings.json transcript.silence over the 4.913s gap 35.12–40.033 that buildClipSection inserted at SILENCE_THRESHOLD_SEC 0.2; inside trimRange trim_3bad6006-721a-4dd4-a218-091fa734a63e" },
{ shown: "Hi, quick walk through the documentation site. The new release went out this morning. The hero does the work now. One line, one promise, and the install command right under it. Scrolling down, those six cards are the whole library on one screen. No page gets more than a sentence. Over on status, every component with 30 days of probes behind it. One amber day on the validator, and it recovered, and releases. Three of them, newest first, and every line links into the commit that did it. Back to the top, and that is the whole flow. Tell me what you think.", source: "fixture transcript.words, rejoined in start order; every entry is rendered as its own span" },
- { shown: "Conversation 1", source: "computed: editor.json chat.untitledConversation + the session index, as LeftPanel.tsx:1433 renders it" },
+ { shown: "Conversation 1", source: "computed: editor.json chat.untitledConversation + the session index, as LeftPanel.tsx:1184 renders it" },
{ shown: "No messages yet. Ask the agent to cut silences, tighten pauses, or add captions.", source: "editor.json chat.emptyState" },
{ shown: "You", source: "editor.json chat.authorUser" },
{ shown: "OpenScreen", source: "editor.json chat.authorAssistant" },