feat(phase3): comments, issue compose, PR diff viewer, reviews, merge, checks

- API: comments CRUD, create/edit issue, milestones, collaborators, pull files,
  raw unified diff (getText), reviews, merge, combined commit status
- hooks: comment thread + composer mutations, issue compose mutations,
  pull files/diff/reviews, create review, merge, combined status
- UI: TextArea, ChipSelect, CommentItem, CommentComposer, native DiffView
  (parseDiff), StatusChecks
- screens: IssueCompose (create/edit), PullFiles, PullDiff, PullReview; issue
  detail gains thread + close/reopen; PR detail gains reviews, merge, files,
  checks; commit detail shows checks
- navigation/types + i18n (en/nl) updated; centralized safeHost helper
- tests: diff parser, endpoint body shapes (merge capitalisation), client getText
This commit is contained in:
JustZoe101 committed 2026-10-09 17:02:08 +02:00
1 parent f641238b6f
commit ddd834b7ac
32 files changed
+2546 -68

No files matched your search

+12 -10
View File
@@ -15,7 +15,7 @@ This document is the living implementation plan. It is updated as phases land.
| 0 | Project initialization, tooling, docs | ✅ Done |
| 1 | Foundation: design system, auth, multi-account, biometrics | ✅ Done |
| 2 | Core Git experience: home, repos, browsing, commits | ✅ Done |
| 3 | Collaboration: issues, PRs, reviews, notifications | 🟡 In progress (read paths done) |
| 3 | Collaboration: issues, PRs, reviews, notifications | ✅ Done (read + write) |
| 4 | Code editing: Quick Edit (CodeMirror), VS Code workspace | ⬜ Planned |
| 5 | Advanced: Actions, packages, orgs, wiki, releases, admin | ⬜ Planned |
@@ -82,24 +82,26 @@ Architectural decisions are recorded in `docs/ARCHITECTURE.md`.
- [x] Pull-to-refresh, infinite scroll, skeleton and empty states
- [x] Offline read-only cache for previously loaded content (persister)
## Phase 3 — Collaboration (in progress: read paths done)
## Phase 3 — Collaboration (write paths)
- [x] Issue list: open/closed, cross-repo (assigned/created/review-requested) and per-repo
- [x] Issue search across repositories (`/repos/issues/search`)
- [x] Issue detail: body (Markdown), labels, assignees, milestones, comment count
- [ ] Issue comments thread
- [ ] Create/edit issues, comment composer, attachments
- [ ] Filters UI (label, milestone, assignee) and server-side sorting
- [x] Issue comments thread with composer (edit/delete own comments)
- [x] Create/edit issues (title, body, labels, assignees, milestone) + close/reopen
- [x] Pull request list (cross-repo review-requested + per-repo)
- [x] Pull request detail: branches, labels, stats, reviewers, Markdown body
- [ ] Changed files list with per-file navigation
- [ ] Unified + split diff viewer
- [ ] Inline review comments, approve / request changes
- [ ] Merge (squash/rebase/merge) when authorized
- [ ] CI check statuses from Gitea Actions
- [x] Changed files list with per-file navigation
- [x] Unified diff viewer (native, color-coded)
- [x] Approve / request changes / comment reviews
- [x] Merge (squash / merge commit)
- [x] CI check statuses from Gitea Actions (commit + PR head)
- [x] Notifications inbox: read/unread, mark read, mark-all-read, unread badge
- [x] Lifecycle-aware notification polling tied to the refresh-interval setting
- [x] Notification subject-URL parsing → issue/PR/commit/repo navigation
- [ ] Inline (line-level) review comments
- [ ] Server-side filter UI (label, milestone, assignee) and sorting
- [ ] Reactions/subscriptions
## Phase 4 — Code editing (planned)