From a9ced13f96c964b06b1735c77a78d43efb8a7d73 Mon Sep 17 00:00:00 2001 From: Miguel Angel Simon Sierra Date: Thu, 20 Aug 2026 16:03:20 -0400 Subject: [PATCH] fix(studio): drop em-dashes from timeline tooltip and blocked-edit copy House style is a comma, colon, or full stop. It usually shortens the sentence, which is the real win in a tooltip read at a glance mid-gesture. Slip's hint gets rewritten rather than repunctuated. "Change which part of the source plays" describes the mechanism and left readers guessing what moves; "slide the media behind it" names the thing being dragged and says outright that the clip stays put. The two thumbnail tooltips and the razor tooltip predate this branch but are the same copy on the same toolbar, so they change with it. --- .../studio/src/components/TimelineToolbar.test.tsx | 4 ++-- packages/studio/src/components/TimelineToolbar.tsx | 12 ++++++------ .../src/player/components/timelineBlockedEdits.ts | 4 ++-- .../src/player/components/timelineTrimTools.ts | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/studio/src/components/TimelineToolbar.test.tsx b/packages/studio/src/components/TimelineToolbar.test.tsx index ab07e8cd7a..42670677f3 100644 --- a/packages/studio/src/components/TimelineToolbar.test.tsx +++ b/packages/studio/src/components/TimelineToolbar.test.tsx @@ -63,7 +63,7 @@ describe("TimelineToolbar — adaptive thumbnails", () => { it("keeps a user-controlled hidden mode as the rollback path", () => { const { host, root } = renderToolbar(); const button = host.querySelector( - 'button[aria-label="Hide thumbnails — labels only"]', + 'button[aria-label="Hide thumbnails, labels only"]', ); if (!button) throw new Error("thumbnail toggle not rendered"); @@ -71,7 +71,7 @@ describe("TimelineToolbar — adaptive thumbnails", () => { expect(usePlayerStore.getState().thumbnailMode).toBe("hidden"); expect(button.getAttribute("aria-label")).toBe( - "Show thumbnails — posters stay visible; richer previews appear on interaction", + "Show thumbnails: posters stay visible, richer previews appear on interaction", ); act(() => root.unmount()); }); diff --git a/packages/studio/src/components/TimelineToolbar.tsx b/packages/studio/src/components/TimelineToolbar.tsx index 4793cea64c..c06320ba0f 100644 --- a/packages/studio/src/components/TimelineToolbar.tsx +++ b/packages/studio/src/components/TimelineToolbar.tsx @@ -206,7 +206,7 @@ export function TimelineToolbar({ domEditSession, onSplitElement }: TimelineTool - +