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: announce YouTube ingest progress (#5131)
[._.]/ Adam Eivyca903c6d18d5
diff --git a/client/src/components/QuickBrainCapture.jsx b/client/src/components/QuickBrainCapture.jsxindex dc02d73ac6..8220b5d7ca 100644--- a/client/src/components/QuickBrainCapture.jsx+++ b/client/src/components/QuickBrainCapture.jsx@@ -266,8 +266,15 @@ export default function QuickBrainCapture() {{ingest.active && (<div className="mt-3 flex items-center gap-2 text-xs text-gray-400"><Film size={14} className="text-red-400 shrink-0" />- <span className="capitalize">{ingest.stage || 'starting'}…</span>- <div className="flex-1 h-1.5 bg-port-bg rounded-full overflow-hidden">+ <span aria-live="polite" className="capitalize">{ingest.stage || 'starting'}…</span>+ <div+ role="progressbar"+ aria-label="YouTube video ingest progress"+ aria-valuenow={Math.round(ingest.percent)}+ aria-valuemin={0}+ aria-valuemax={100}+ className="flex-1 h-1.5 bg-port-bg rounded-full overflow-hidden"+ ><div className="h-full bg-port-accent transition-all" style={{ width: `${ingest.percent}%` }} /></div><buttondiff --git a/client/src/components/QuickBrainCapture.test.jsx b/client/src/components/QuickBrainCapture.test.jsxindex abe1ce102f..d53170bcff 100644--- a/client/src/components/QuickBrainCapture.test.jsx+++ b/client/src/components/QuickBrainCapture.test.jsx@@ -345,6 +345,19 @@ describe('QuickBrainCapture', () => {expect(startYoutubeIngest.mock.calls[0][0]).toMatchObject({ ingestAudio: true, captureTranscript: true });});+ it('exposes ingest progress and stage updates to assistive technology', async () => {+ renderWidget();+ type(YT);+ await waitFor(() => expect(getYoutubeIngestSettings).toHaveBeenCalled());+ fireEvent.click(screen.getByLabelText('Capture'));++ const progress = await screen.findByRole('progressbar', { name: 'YouTube video ingest progress' });+ expect(progress).toHaveAttribute('aria-valuenow', '0');+ expect(progress).toHaveAttribute('aria-valuemin', '0');+ expect(progress).toHaveAttribute('aria-valuemax', '100');+ expect(screen.getByText('starting…')).toHaveAttribute('aria-live', 'polite');+ });+it('does not fetch ingest settings until a YouTube URL is typed', () => {renderWidget();type('just a thought');