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 CoS timeline loading to screen readers (#8233)
[._.]/ Adam Eivy860f10cb9fb6
diff --git a/client/src/components/cos/tabs/WorkflowTab.jsx b/client/src/components/cos/tabs/WorkflowTab.jsxindex 11d7997c64..ee084eac7d 100644--- a/client/src/components/cos/tabs/WorkflowTab.jsx+++ b/client/src/components/cos/tabs/WorkflowTab.jsx@@ -471,7 +471,7 @@ export default function WorkflowTab({ apps, providers, providersLoaded }) {</header>{error && <div role="status" className="flex items-center gap-2 rounded border border-port-error/40 bg-port-error/10 p-3 text-sm text-port-error"><AlertTriangle className="h-4 w-4" />{error}</div>}- {loading && !graph && <div className="py-12 text-center text-sm text-gray-500">Building schedule timeline…</div>}+ {loading && !graph && <div role="status" className="py-12 text-center text-sm text-gray-500">Building schedule timeline…</div>}{graph && model && (<>diff --git a/client/src/components/cos/tabs/WorkflowTab.timeline.test.jsx b/client/src/components/cos/tabs/WorkflowTab.timeline.test.jsxindex 7e48284f13..444cefd2b0 100644--- a/client/src/components/cos/tabs/WorkflowTab.timeline.test.jsx+++ b/client/src/components/cos/tabs/WorkflowTab.timeline.test.jsx@@ -49,6 +49,24 @@ beforeEach(() => {afterEach(cleanup);describe('WorkflowTab timeline defaults and layout', () => {+ it('announces initial loading until the timeline is available', async () => {+ let resolveWorkflow;+ api.getCosWorkflow.mockReturnValue(new Promise(resolve => { resolveWorkflow = resolve; }));++ render(+ <MemoryRouter initialEntries={['/cos/workflow']}>+ <WorkflowTab apps={[]} providers={[]} />+ </MemoryRouter>+ );++ expect(screen.getByRole('status')).toHaveTextContent('Building schedule timeline…');++ await act(async () => { resolveWorkflow(SAMPLE_GRAPH); });++ expect(screen.queryByRole('status')).not.toBeInTheDocument();+ expect(screen.getAllByText('code-quality').length).toBeGreaterThan(0);+ });+it('defaults to 7 day timeline (168 hours) when no query param is provided', async () => {await act(async () => {render(