Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: keep timeline title input shrinkable on mobile (#5456)
[._.]/ Adam Eivyd75dfff61666
diff --git a/client/src/pages/VideoTimelineEditor.jsx b/client/src/pages/VideoTimelineEditor.jsxindex a05e8c3e77..f66121b095 100644--- a/client/src/pages/VideoTimelineEditor.jsx+++ b/client/src/pages/VideoTimelineEditor.jsx@@ -726,7 +726,7 @@ export default function VideoTimelineEditor() {}});}}- className="bg-transparent text-white font-medium text-lg focus:outline-none focus:bg-port-card focus:px-2 rounded transition-all"+ className="flex-1 min-w-0 bg-transparent text-white font-medium text-lg focus:outline-none focus:bg-port-card focus:px-2 rounded transition-all"/><span className="text-xs text-gray-500 hidden sm:inline truncate">{segments.length} segments · {overlays.length} overlays · {audio.tracks.length} beds · {formatTimecode(total)}diff --git a/client/src/pages/VideoTimelineEditor.test.jsx b/client/src/pages/VideoTimelineEditor.test.jsxindex 0372b99ea1..beb9201505 100644--- a/client/src/pages/VideoTimelineEditor.test.jsx+++ b/client/src/pages/VideoTimelineEditor.test.jsx@@ -131,20 +131,23 @@ describe('missing-source detection', () => {describe('header layout — mobile overflow regression (#5425)', () => {it('header container carries flex-wrap so it can reflow on narrow viewports', async () => {await renderEditor();- // The outermost header div must have flex-wrap so the right-side buttons- // can drop below the title row at 375 px rather than crushing the input.- const headerDiv = screen- .getByRole('textbox', { name: 'Project name' })- .closest('[class*="flex-wrap"]');- expect(headerDiv).not.toBeNull();+ // The header must be able to reflow the right-side buttons at narrow widths+ // without allowing the project-name input to preserve its min-content width.+ const titleInput = screen.getByRole('textbox', { name: 'Project name' });+ const titleRow = titleInput.parentElement;+ const headerDiv = titleRow?.parentElement;+ expect(headerDiv).toHaveClass('flex', 'flex-wrap');+ expect(headerDiv).toContainElement(screen.getByRole('button', { name: 'Hide library' }));+ expect(headerDiv).toContainElement(screen.getByRole('button', { name: 'Render' }));+ expect(titleRow).toHaveClass('flex-1', 'min-w-[120px]');+ expect(titleInput).toHaveClass('flex-1', 'min-w-0');});it('summary span is hidden on small screens (carries hidden sm:inline)', async () => {api.project = project({ segments: [clipSegment], overlays: [overlayEntry], audio: { clipVolume: 1, tracks: [bedEntry] } });await renderEditor();const summarySpan = screen.getByText(/1 segments · 1 overlays · 1 beds/);- expect(summarySpan.className).toMatch(/\bhidden\b/);- expect(summarySpan.className).toMatch(/\bsm:inline\b/);+ expect(summarySpan).toHaveClass('hidden', 'sm:inline');});});