docs: README, architecture, security, feature parity and roadmap
- README: features, tech stack, install/run, config, commands, structure, security summary, known limitations - ARCHITECTURE: navigation graph, state model, data flow, cross-cutting notes - SECURITY: credential storage, transport, biometrics, account isolation - FEATURE_PARITY: implemented vs planned matrix per API area - ROADMAP: Phase 3 read paths marked done; write paths still planned
This commit is contained in:
1 parent
df0ac71bc3
commit
f641238b6f
6 files changed
+756
No files matched your search
@@ -0,0 +1,122 @@
|
||||
# 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 …/issues/{n}/comments` | count shown; thread not yet rendered |
|
||||
| Create/edit issue | ⬜ | `POST/PATCH` | planned |
|
||||
| Comment composer | ⬜ | `POST …/comments` | planned |
|
||||
| Labels/milestones management | ⬜ | various | planned |
|
||||
| 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 + diff viewer | 🟡 | `GET …/pulls/{n}.diff` | file count only; inline diff viewer planned |
|
||||
| Inline review comments | ⬜ | `GET …/pulls/{n}/reviews` | planned |
|
||||
| Approve / request changes | ⬜ | `POST …/reviews` | planned |
|
||||
| Merge | ⬜ | `POST …/merge` | planned |
|
||||
| CI checks (Actions) | ⬜ | `GET …/commits/{sha}/status` | planned |
|
||||
|
||||
## 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 | 🌐 |
|
||||
Reference in new issue
Block a user