Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Strip export page prose and rename the settings heading

Bittic28e63918109
diff --git a/src/components/workspace/ExportView.test.tsx b/src/components/workspace/ExportView.test.tsx
index b50cf3c..5d68330 100644
--- a/src/components/workspace/ExportView.test.tsx
+++ b/src/components/workspace/ExportView.test.tsx
@@ -133,6 +133,8 @@ describe("what the page claims about the compositor", () => {
// stated reason. What must never appear is a bare WebGPU promise.
expect(await screen.findByText(/no navigator\.gpu/i)).toBeTruthy();
expect(screen.queryByText("WebGPU")).toBeNull();
- expect(document.body.textContent).toContain("on a 2D canvas");
+ // The heading no longer carries a prose paragraph; the compositor row is
+ // where the settled answer is stated now.
+ expect(document.body.textContent).toContain("2D canvas");
});
});
diff --git a/src/components/workspace/ExportView.tsx b/src/components/workspace/ExportView.tsx
index e667f39..9605d4b 100644
--- a/src/components/workspace/ExportView.tsx
+++ b/src/components/workspace/ExportView.tsx
@@ -304,19 +304,7 @@ export function ExportView({ config, folderPath }: { config: ProjectConfig; fold
return <div className="export-view">
<header className="export-heading">
<div>
- <span className="eyebrow">Deliver</span>
<h1>Export</h1>
- <p>
- PolStudio renders the video tracks in order — trims, gaps and all — taking each source file apart with
- mp4box, decoding it through this computer’s own video decoder, compositing{" "}
- {compositor === null
- ? "on the GPU if this computer gives PolStudio one and on a 2D canvas otherwise — it is being asked right now"
- : compositor.kind === "webgpu"
- ? "on the GPU with WebGPU, which this computer offered an adapter for"
- : "on a 2D canvas, because this computer offers no working WebGPU adapter"}{" "}
- and muxing a real .mp4. Nothing below is a mock-up: where a control cannot do its job here, it says why
- instead of pretending.
- </p>
</div>
</header>
@@ -356,8 +344,7 @@ export function ExportView({ config, folderPath }: { config: ProjectConfig; fold
</section>
<section className="export-settings" aria-labelledby="export-settings-heading">
- <h2 id="export-settings-heading">Settings</h2>
- <p className="export-settings__lead">These start from this project’s own settings. Changing them here does not change the project.</p>
+ <h2 id="export-settings-heading">Export Settings</h2>
<div className="export-fields">
<label htmlFor="export-resolution">
diff --git a/src/styles/export.css b/src/styles/export.css
index fead195..7616a17 100644
--- a/src/styles/export.css
+++ b/src/styles/export.css
@@ -21,21 +21,13 @@
}
.export-heading h1 {
- margin: var(--space-2) 0;
+ margin: 0;
font-size: var(--text-2xl);
font-weight: var(--weight-semibold);
line-height: var(--leading-tight);
letter-spacing: var(--tracking-hero);
}
-.export-heading p {
- margin: 0;
- max-width: 76ch;
- color: var(--text-secondary);
- font-size: var(--text-base);
- line-height: var(--leading-normal);
-}
-
/* --- Layout ---------------------------------------------------------------- */
.export-layout {
@@ -173,13 +165,6 @@
/* --- Settings -------------------------------------------------------------- */
-.export-settings__lead {
- margin: 0 0 var(--space-4);
- color: var(--text-muted);
- font-size: var(--text-xs);
- line-height: var(--leading-normal);
-}
-
.export-fields {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));