Files
gitea-native/docs/FEATURE_PARITY.md
T
JustZoe101 5e8c9492b3 feat(phase5): star/watch/fork, releases, wiki fallback, capability probe
- endpoints: is-starred (404→false), star/unstar, subscription watch/unwatch,
  fork, releases list/detail
- hooks: useIsStarred/useToggleStar, useSubscription/useToggleWatch,
  useForkRepository, useReleases/useRelease
- repo overview: star/watch/fork actions, Releases + Wiki entries
  (wiki via explicit browser fallback gated by capability probe)
- screens: Releases list, Release detail with downloadable assets
- core/capabilities: version parsing + per-capability minimum versions + tests
- i18n (en/nl); README/ROADMAP/FEATURE_PARITY updated for phases 3-5
2026-10-09 17:34:15 +02:00

136 lines
6.4 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
| Feature | Status | Notes |
| --- | --- | --- |
| Quick Edit | ✅ | native monospace editor (CodeMirror/WebView deferred) |
| Commit via Contents API | ✅ | base64 + blob SHA; creates the commit |
| Commit to a new branch | ✅ | `new_branch`, auto-forced on protected branches |
| Protected-branch awareness | ✅ | blocks direct commits when `user_can_push` is false |
| Stale-SHA (409) handling | ✅ | mapped to a clear conflict message |
| Create PR after commit | ✅ | when committing to a new branch |
| VS Code / editor workspace | ✅ | configurable URL template, no token passthrough |
| Syntax highlighting / search-replace | ⬜ | planned (CodeMirror 6 in a WebView) |
## Advanced (partially implemented)
| Feature | Status |
| --- | --- |
| Star / unstar repository | ✅ |
| Watch / unwatch repository | ✅ |
| Fork repository | ✅ |
| Releases list + detail (with assets) | ✅ |
| Wiki (explicit browser fallback) | ✅ |
| Instance capability probe (version-gated) | ✅ |
| Repo create/edit/delete/settings/webhooks | ⬜ |
| Protected branch management | ⬜ |
| Release management (create/edit/upload) | ⬜ |
| Organizations / teams / projects | ⬜ |
| Gitea Actions (runs, jobs, logs, artifacts) | ⬜ |
| Package registries | ⬜ |
| User settings (SSH/GPG keys, tokens) | ⬜ |
| Admin screens | ⬜ |