Add list mode so Pull Requests hosts without a selected PR display active project pull requests.
- Fetch and render the active pull request list for no-id PullRequestView mounts.
- Allow selecting a PR for detail view and returning to the active PR list.
- Add list loading, empty, error, styling, i18n, regression tests, and a patch changeset.
Files changed:
.changeset/fn-7179-pr-sidebar-list.md | 7 +
.../app/__tests__/pull-request-view.test.tsx | 122 ++++++++++++++-
.../dashboard/app/components/PullRequestView.css | 96 ++++++++++++
.../dashboard/app/components/PullRequestView.tsx | 163 ++++++++++++++++++---
packages/i18n/locales/en/app.json | 6 +
5 files changed, 370 insertions(+), 24 deletions(-)
Fusion-Task-Id: FN-7179
Fusion-Task-Lineage: 712dccae-eb03-4aea-b89e-0a333db7c3fc
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>