Files
gitea-native/docs/FEATURE_PARITY.md
T
JustZoe101 ddd834b7ac 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
2026-10-09 17:02:08 +02:00

126 lines
5.7 KiB
Markdown

# Feature parity matrix
Status legend:
| Symbol | Meaning |
| --- | --- |
| ✅ | Implemented and working in-app |
| 🟡 | Partially implemented (read-only or limited) |
| ⬜ | Planned, not started |
| 🌐 | Planned via explicit browser fallback |
"Min version" refers to the Gitea server version that exposes the endpoint; the
client does not hard-gate on a version yet (see the capability-probe item in the
roadmap).
## Authentication & accounts
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| PAT sign-in | ✅ | `GET /user` | Token validated before persisting |
| Instance URL validation | ✅ | — | HTTPS enforced for remote hosts |
| Secure token storage | ✅ | — | SecureStore (Keychain/Keystore) |
| Multiple instances | ✅ | — | Non-sensitive registry in AsyncStorage |
| Multiple accounts per instance | ✅ | — | Unique `(instanceId, login)` |
| Account switching | ✅ | — | Account-scoped query keys |
| Account/instance removal | ✅ | — | Token + cache purge |
| Biometric app lock | ✅ | — | On-device only |
| OAuth / device flow | ⬜ | — | PAT only for now |
## Repository browsing
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| My repositories | ✅ | `GET /user/repos` | visibility filter |
| Search repositories | ✅ | `GET /repos/search` | server-side |
| Starred repositories | ✅ | `GET /user/starred` | |
| Repository overview | ✅ | `GET /repos/{o}/{r}` | metadata, topics, stats |
| Languages | ✅ | `GET /repos/{o}/{r}/languages` | breakdown bar |
| README | ✅ | `GET /repos/{o}/{r}/contents/{path}` | located by name; no `/readme` endpoint exists |
| Directory browsing | ✅ | `GET …/contents` | breadcrumbs, ref query |
| File viewer | ✅ | `GET …/contents` + raw | text, images, symlink/submodule |
| Branch list & selector | ✅ | `GET …/branches` | |
| Tags | ✅ | `GET …/tags` | |
| Commit history | ✅ | `GET …/commits` | paginated, ref/branch |
| Commit detail | ✅ | `GET …/git/commits/{sha}` | changed files, verification |
| Code search | ⬜ | `GET /repos/search`? | planned |
| Releases | ⬜ | `GET …/releases` | planned |
| Wiki | ⬜ | `GET …/wiki` | planned |
| Star/unstar/watch/fork | ⬜ | `PUT/DELETE` | planned (write) |
## Issues
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| Cross-repo issue list | ✅ | `GET /repos/issues/search` | assigned/created/review_requested, `type=issues` |
| Repo issue list | ✅ | `GET /repos/{o}/{r}/issues` | open/closed filter |
| Issue detail | ✅ | `GET /repos/{o}/{r}/issues/{n}` | Markdown body, labels, assignees, milestone |
| Issue comments | ✅ | `GET/POST …/issues/{n}/comments` | thread + composer; edit/delete own comments |
| Create issue | ✅ | `POST …/issues` | title, body, labels, assignees, milestone |
| Edit issue | ✅ | `PATCH …/issues/{n}` | metadata + close/reopen |
| Labels/milestones management | 🟡 | `GET …/labels`, `GET …/milestones` | read + assign on compose; CRUD not yet |
| Assignees | ✅ | `GET …/collaborators` | select on compose/edit |
| Reactions/subscriptions | ⬜ | various | planned |
## Pull requests
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| Review-requested PR list | ✅ | `GET /repos/issues/search` | `type=pulls`, `review_requested` |
| Repo PR list | ✅ | `GET /repos/{o}/{r}/pulls` | open/closed |
| PR detail | ✅ | `GET …/pulls/{n}` | title, branches, labels, stats, reviewers |
| Changed files list | ✅ | `GET …/pulls/{n}/files` | per-file stats + status |
| Unified diff viewer | ✅ | `GET …/pulls/{n}.diff` | native, color-coded, no WebView |
| PR comments | ✅ | `GET/POST …/issues/{n}/comments` | shared issue thread + composer |
| Review comments (inline) | ⬜ | `GET …/reviews/{id}/comments` | line comments planned |
| Approve / request changes | ✅ | `POST …/pulls/{n}/reviews` | review event + body |
| Merge | ✅ | `POST …/pulls/{n}/merge` | squash / merge commit |
| CI checks (Actions) | ✅ | `GET …/commits/{ref}/status` | combined status on commit + PR |
## Notifications
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| Notification inbox | ✅ | `GET /notifications` | unread/all filter |
| Unread badge | ✅ | `GET /notifications/new` | polled |
| Mark thread read | ✅ | `PUT /notifications/threads/{id}` | on open |
| Mark all read | ✅ | `PUT /notifications` | |
| Polling interval | ✅ | — | manual/30/60/300s setting |
| Notification navigation | ✅ | — | resolves subject URL to issue/PR/commit/repo |
| Push notifications | ⬜ | — | planned |
## Home & shell
| Feature | Status | Notes |
| --- | --- | --- |
| Home dashboard | ✅ | identity, shortcuts, recent repos, assigned issues, review PRs, activity |
| Tabs (5) | ✅ | Home, Repositories, Issues, Pull Requests, Inbox |
| Account switcher | ✅ | header + Accounts modal |
| Deep links | ✅ | `giteanative://` scheme |
| Offline read cache | ✅ | AsyncStorage query persister |
| Theme (light/dark/system) | ✅ | persisted |
| i18n (en/nl) | ✅ | device detection + override |
| Loading/empty/error states | ✅ | shared components |
## Code editing (planned)
| Feature | Status | Notes |
| --- | --- | --- |
| Quick Edit (CodeMirror WebView) | ⬜ | syntax highlight, search/replace |
| Commit via Contents API | ⬜ | base64 + SHA, 409 conflict handling |
| Create PR after commit | ⬜ | |
| VS Code workspace | 🌐 | per-instance IDE URL, no token passthrough |
## Advanced (planned)
| Feature | Status |
| --- | --- |
| Repo create/edit/settings/webhooks | ⬜ |
| Protected branches / releases / forks | ⬜ |
| Wiki / projects / orgs / teams | ⬜ |
| Gitea Actions (runs, jobs, logs) | ⬜ |
| Package registries | ⬜ |
| User settings (SSH/GPG keys, tokens) | ⬜ |
| Admin screens | ⬜ |
| Capability probe + browser fallback | 🌐 |