Skip to content

AI media harness for planning, generating, and editing locally

TypeScript

Drop the playhead time from the program monitor footer

Bitti6844f1c2dfce
diff --git a/src/components/workspace/TimelineView.test.tsx b/src/components/workspace/TimelineView.test.tsx
index 28b36ea..d6cadb7 100644
--- a/src/components/workspace/TimelineView.test.tsx
+++ b/src/components/workspace/TimelineView.test.tsx
@@ -724,7 +724,6 @@ describe("the transport and the playhead", () => {
fireEvent.change(field, { target: { value: "00:00:12:05" } });
fireEvent.keyDown(field, { key: "Enter" });
expect(toolbarTime(container)).toBe("00:00:12:05");
- expect(container.querySelector(".program-footer__time")!.textContent).toBe("00:00:12:05");
});
it("marks in and out points and shades the range on the ruler", () => {
@@ -819,8 +818,7 @@ describe("the program monitor", () => {
expect(within(empty).getByRole("button", { name: "Import media" })).toBeTruthy();
expect(container.querySelector(".program-panel h2:not(.sr-only), .program-panel header")).toBeNull();
const footer = container.querySelector(".program-footer") as HTMLElement;
- expect(within(footer).getByLabelText("Playhead").textContent).toBe("00:00:00:00");
- expect(within(footer).getByText("Playhead")).toBeTruthy();
+ expect(within(footer).queryByText("Playhead")).toBeNull();
expect(within(footer).getByText("Duration")).toBeTruthy();
expect(within(footer).queryByText("In–out")).toBeNull();
expect(screen.getByRole("combobox", { name: "Monitor zoom" }).textContent).toContain("Fit");
diff --git a/src/components/workspace/TimelineView.tsx b/src/components/workspace/TimelineView.tsx
index 27fe5d8..04897e1 100644
--- a/src/components/workspace/TimelineView.tsx
+++ b/src/components/workspace/TimelineView.tsx
@@ -1329,11 +1329,9 @@ export function TimelineView({ config, folderPath, generationCompletionTimes = {
</div>
{/* No header: the stage is the pane. The footer is its control strip —
labelled values on the leading edge, view controls trailing. */}
+ {/* The playhead's time is the timeline toolbar's timecode; the
+ monitor does not repeat it. */}
<footer className="program-footer">
- <span className="program-footer__value">
- <span className="program-footer__label" aria-hidden="true">Playhead</span>
- <span className="program-footer__time" aria-label="Playhead">{formatTimecode(playhead, fps)}</span>
- </span>
<span className="program-footer__value">
<span className="program-footer__label" aria-hidden="true">Duration</span>
<span className="program-footer__duration" aria-label="Timeline duration">{formatTimecode(contentEndMs, fps)}</span>
diff --git a/src/styles/timeline.css b/src/styles/timeline.css
index b261fd3..9422fc7 100644
--- a/src/styles/timeline.css
+++ b/src/styles/timeline.css
@@ -634,7 +634,6 @@
font-family: var(--font-sans);
}
-.program-footer__time { color: var(--text-primary); }
.program-footer__spacer { flex: 1; }
.program-footer .ui-combo {