Files
gitea-native/docs/FEATURE_PARITY.md
T
JustZoe101 fbefa0d345 test/docs: endpoint tests for label/milestone/workflow/package-link; refresh docs
- endpoint tests for createLabel/createMilestone/setWorkflowEnabled/link+unlink (129 total)
- FEATURE_PARITY, ROADMAP and README updated: CodeMirror 6, search/replace,
  labels/milestones CRUD, filters/sorting, workflow enable/disable, package
  link/unlink are done
2026-10-09 19:10:17 +02:00

138 lines
6.8 KiB
Markdown

# Feature parity matrix
Status legend:
| Symbol | Meaning |
| --- | --- |
| ✅ | Implemented and working in-app |
| 🟡 | Partially implemented (read-only or limited) |
| ⬜ | Planned, not started |
| 🌐 | Available via an explicit browser fallback |
"Min version" is not hard-gated yet; the client uses per-repository flags where
available and the version-based capability probe for the rest.
## 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 / accounts | ✅ | — | Non-sensitive registry in AsyncStorage |
| Account switching | ✅ | — | Account-scoped query keys |
| Account/instance removal | ✅ | — | Token + cache purge |
| Biometric app lock | ✅ | — | On-device only |
| OAuth / device flow | ⬜ | — | Gitea has no device flow; OAuth needs a per-instance app registration. PAT is the supported mobile path. |
## 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 |
| Find file (path search) | ✅ | `GET …/git/trees/{ref}?recursive` | content search has no REST API |
| Branch list & selector | ✅ | `GET …/branches` | |
| Tags | ✅ | `GET …/tags` | |
| Commit history | ✅ | `GET …/commits` | paginated, ref/branch |
| Commit detail | ✅ | `GET …/git/commits/{sha}` | changed files, verification, checks |
| Releases | ✅ | `GET …/releases` | list, detail, create/edit/delete, asset upload/download |
| Wiki | 🌐 | — | opens the instance wiki in the browser |
| Star/unstar/watch/fork | ✅ | `PUT/DELETE` | repo overview actions |
| Content code search | ⬜ | — | not exposed by the Gitea REST API |
## Issues
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| Cross-repo issue list | ✅ | `GET /repos/issues/search` | assigned/created/review_requested |
| Repo issue list | ✅ | `GET /repos/{o}/{r}/issues` | open/closed filter |
| Issue detail | ✅ | `GET …/issues/{n}` | Markdown body, labels, assignees, milestone |
| Issue comments | ✅ | `GET/POST …/issues/{n}/comments` | thread + composer; edit/delete own |
| Create/edit issue | ✅ | `POST/PATCH …/issues` | title, body, labels, assignees, milestone |
| Reactions | ✅ | `GET/POST/DELETE …/issues/{n}/reactions` | toggle on issue detail |
| Subscriptions | ✅ | `…/issues/{n}/subscriptions` | subscribe/unsubscribe |
| Attachments | ✅ | `GET …/issues/{n}/assets` | list + download |
| Labels/milestones management | ✅ | `GET/POST/PATCH/DELETE …/labels`, `…/milestones` | full CRUD (create/edit/delete) |
| Server-side filters/sorting UI | ✅ | `labels`, `milestones` params | server-side label/milestone filters; sorting is client-side (Gitea exposes no issues sort param) |
| Create/edit comments on PRs | ✅ | shared issue endpoint | |
## Pull requests
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| Review-requested / repo PR lists | ✅ | `/repos/issues/search`, `/pulls` | |
| PR detail | ✅ | `GET …/pulls/{n}` | 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, tappable lines |
| Inline review comments | ✅ | `GET …/reviews/{id}/comments`, `POST …/pulls/{n}/reviews` | display, reply API, and a positioned composer |
| Approve / request changes / comment | ✅ | `POST …/pulls/{n}/reviews` | |
| Merge | ✅ | `POST …/pulls/{n}/merge` | squash / merge commit |
| CI checks | ✅ | `GET …/commits/{ref}/status` | commit + PR head |
## Notifications
| Feature | Status | API | Notes |
| --- | --- | --- | --- |
| Notification inbox | ✅ | `GET /notifications` | unread/all |
| Unread badge | ✅ | `GET /notifications/new` | polled |
| Mark read / all read | ✅ | `PUT /notifications…` | |
| Polling interval | ✅ | — | manual/30/60/300s |
| Push notifications | ⬜ | — | requires a server component; out of scope for a client-only app |
## 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 | ✅ | WebView editor with line numbers + syntax highlighting |
| Commit via Contents API | ✅ | base64 + blob SHA |
| Commit to a new branch | ✅ | `new_branch`, forced on protected branches |
| Protected-branch awareness | ✅ | blocks direct commits when `user_can_push` is false |
| Stale-SHA (409) handling | ✅ | clear conflict message |
| Create PR after commit | ✅ | |
| Editor / IDE workspace | ✅ | configurable URL template, no token passthrough |
| In-editor search/replace | ✅ | CodeMirror search panel (toolbar button) |
| CodeMirror 6 | ✅ | bundled at build time into a generated TS module |
## Advanced
| Feature | Status |
| --- | --- |
| Star / unstar / watch / unwatch / fork | ✅ |
| Repository create / edit / delete | ✅ |
| Repository transfer | ✅ |
| Collaborators (list/add/remove) | ✅ |
| Webhooks (list/add/delete) | ✅ |
| Branch protections (list/create/delete) | ✅ |
| Deploy keys (list/add/delete) | ✅ |
| Releases management + asset upload/download | ✅ |
| Gitea Actions: runs, jobs, job logs, artifacts, re-run, cancel | ✅ |
| Gitea Actions secrets / variables | ✅ |
| Workflow dispatch | ✅ |
| Organizations (list, repos, teams, create) | ✅ |
| Packages (list, version delete, delete all) | ✅ |
| User profile edit, SSH/GPG keys, tokens | ✅ |
| Instance capability probe (version-gated) | ✅ |
| Administration (users/orgs/repos, read-only, admin-gated) | ✅ |
| Workflow enable/disable | ✅ |
| Package helpers (link/unlink to repo) | ✅ |