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: prevent timeline header overflow on mobile (#5444)
Raj Kamal Mehta1d099c9e5d5b
diff --git a/client/src/pages/VideoTimelineEditor.jsx b/client/src/pages/VideoTimelineEditor.jsxindex 64e92622de..a05e8c3e77 100644--- a/client/src/pages/VideoTimelineEditor.jsx+++ b/client/src/pages/VideoTimelineEditor.jsx@@ -689,8 +689,8 @@ export default function VideoTimelineEditor() {return (<div className="space-y-3">- <div className="flex items-center justify-between gap-3">- <div className="flex items-center gap-3 min-w-0">+ <div className="flex flex-wrap items-center justify-between gap-2 pb-3 border-b border-port-border">+ <div className="flex items-center gap-2 flex-1 min-w-[120px]"><buttontype="button"onClick={() => navigate('/media/timeline')}@@ -728,7 +728,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"/>- <span className="text-xs text-gray-500">+ <span className="text-xs text-gray-500 hidden sm:inline truncate">{segments.length} segments · {overlays.length} overlays · {audio.tracks.length} beds · {formatTimecode(total)}</span></div>diff --git a/client/src/pages/VideoTimelineEditor.test.jsx b/client/src/pages/VideoTimelineEditor.test.jsxindex f46484003e..0372b99ea1 100644--- a/client/src/pages/VideoTimelineEditor.test.jsx+++ b/client/src/pages/VideoTimelineEditor.test.jsx@@ -128,6 +128,26 @@ 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();+ });++ 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/);+ });+});+describe('lane caps', () => {it('refuses an add past the overlay cap with a message naming the lane', async () => {// One entry over the cap 400s every later debounced save, with nothing