agent-orchestrator/packages/web/src
i-trytoohard 50dc18ffa1
fix(web): break circular links in DegradedProjectState — Back to project and Open dashboard view both point to current page (#1868)
* fix(web): break circular links in DegradedProjectState

Both "Back to project" and "Open dashboard view" linked to
projectDashboardPath(projectId) — the same page the component is
rendered on. Replace with working navigation:

- "Back to project" → "/" (global dashboard)
- "Open dashboard view" → "/projects/{id}/settings" (edit config)

Fixes #1867

* fix(web): break circular links in DegradedProjectState

Both "Back to project" and "Open dashboard view" linked to
projectDashboardPath(projectId) — the same page the component is
rendered on. Replace with working navigation:

- "Back to project" → "/" (global dashboard)
- "Open dashboard view" → "/projects/{id}/settings" (edit config)

Fixes #1867

* fix(web): remove circular 'Edit settings' link from DegradedProjectState

The 'Edit settings' link pointed to /projects/{id}/settings, which also
renders DegradedProjectState — making the button a self-link on the
settings page. Remove it entirely; 'Back to dashboard' (/) is the only
escape hatch needed.

Add DegradedProjectState component tests and assert both pages show no
'Edit settings' link and that 'Back to dashboard' points to /.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Aditi Chauhan <aditi1178@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 19:55:17 +05:30
..
__tests__ Add orchestrator-driven code review board (#1871) 2026-05-19 11:47:57 +05:30
app fix(web): break circular links in DegradedProjectState — Back to project and Open dashboard view both point to current page (#1868) 2026-05-21 19:55:17 +05:30
components fix(web): break circular links in DegradedProjectState — Back to project and Open dashboard view both point to current page (#1868) 2026-05-21 19:55:17 +05:30
hooks fix(web): kill RSC prefetch storm + dedupe in-flight fetches + retry on transient timeout (closes #1855) (#1856) 2026-05-15 12:00:56 +05:30
lib feat(notifier): make notifier system robust with manual harness and desktop setup (#1736) 2026-05-19 14:48:40 +05:30
providers feat(notifier): make notifier system robust with manual harness and desktop setup (#1736) 2026-05-19 14:48:40 +05:30
vitest.d.ts fix: upgrade @testing-library/jest-dom for vitest 2.x type compatibility (#21) 2026-02-14 14:40:44 +05:30