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

+81 -2
View File
@@ -223,7 +223,25 @@
"labels": "Labels",
"milestone": "Milestone",
"noDescription": "No description provided",
"notFound": "This issue could not be found."
"notFound": "This issue could not be found.",
"reopen": "Reopen",
"close": "Close",
"compose": {
"createTitle": "New issue",
"editTitle": "Edit issue",
"title": "Title",
"titlePlaceholder": "Short, descriptive title",
"titleRequired": "A title is required.",
"body": "Description",
"bodyPlaceholder": "Describe the issue…",
"bodyHelp": "Markdown is supported.",
"assignees": "Assignees",
"noLabels": "No labels available",
"noAssignees": "No collaborators available",
"noMilestones": "No open milestones",
"create": "Create issue",
"save": "Save changes"
}
},
"pulls": {
"title": "Pull requests",
@@ -244,7 +262,68 @@
"reviewers": "Reviewers",
"noDescription": "No description provided",
"changedFiles": "{{count}} files changed",
"notFound": "This pull request could not be found."
"notFound": "This pull request could not be found.",
"files": "Files ({{count}})",
"changedFilesTitle": "Changed files",
"diff": "Diff",
"viewFullDiff": "View full diff",
"loadingDiff": "Loading diff…",
"noChanges": "No changes to display",
"noChangedFiles": "No changed files",
"noChangesBody": "This pull request has no file changes.",
"fileAdded": "Added",
"fileRemoved": "Removed",
"fileModified": "Modified",
"fileRenamed": "Renamed",
"fileCopied": "Copied",
"fileChanged": "Changed",
"reviews": "Reviews",
"approve": "Approve",
"requestChanges": "Request changes",
"comment": "Comment",
"merge": "Merge",
"mergeSquash": "Squash",
"mergeCreate": "Merge commit",
"mergeConfirmTitle": "Merge pull request?",
"mergeConfirmBody": "Choose how this pull request should be merged.",
"mergeSuccessTitle": "Merged",
"mergeSuccessBody": "The pull request was merged.",
"notMergeable": "This pull request cannot be merged automatically.",
"reviewStateApproved": "Approved",
"reviewStateChanges": "Changes requested",
"reviewStateComment": "Commented",
"reviewStatePending": "Pending",
"review": {
"approve": "Approving this pull request.",
"request_changes": "Requesting changes to this pull request.",
"comment": "Leaving a review comment.",
"body": "Review comment",
"placeholder": "Write your review…",
"submit": "Submit review"
}
},
"comments": {
"title": "Comments",
"add": "Add a comment",
"placeholder": "Leave a comment…",
"submit": "Comment",
"loading": "Loading comments…",
"empty": "No comments yet",
"emptyBody": "No content",
"edited": "edited",
"deleteTitle": "Delete comment?",
"deleteBody": "This comment will be permanently deleted."
},
"checks": {
"success": "Checks passed",
"pending": "Checks pending",
"failure": "Checks failed",
"error": "Checks errored",
"warning": "Checks warning",
"skipped": "Checks skipped",
"noStatus": "No checks",
"count": "{{count}} checks",
"unnamed": "check"
},
"inbox": {
"title": "Inbox",