feat(phase5): inline review comments, credentials write, deploy keys, org create, profile edit
- inline (line-level) review comments: list per review + reply API/hook, rendered under each review on the PR detail screen - credentials: SSH key/GPG key/token create+delete endpoints and hooks; deploy keys (repo keys) management screen - user profile edit (GET/PATCH /user/settings) screen - organization creation screen; wired into Settings and Organizations - endpoints.test.ts extended to 120 tests
This commit is contained in:
1 parent
6d0b536009
commit
b810292b1f
6 files changed
+164
No files matched your search
@@ -4,6 +4,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { CommentItem } from '@/components/git/comment';
|
||||
import { CommentComposer } from '@/components/git/comment-composer';
|
||||
import { Markdown } from '@/components/git/markdown';
|
||||
import { ReviewComments } from '@/components/git/review-comments';
|
||||
import { StatusChecks } from '@/components/git/status-checks';
|
||||
import { Screen } from '@/components/layout/screen';
|
||||
import { AppText } from '@/components/ui/app-text';
|
||||
@@ -272,6 +273,15 @@ export function PullDetailScreen({ navigation, route }: Props) {
|
||||
{review.body && review.body.trim().length > 0 ? (
|
||||
<Markdown content={review.body} baseUrl={instance?.baseUrl} />
|
||||
) : null}
|
||||
{review.id && (review.comments_count ?? 0) > 0 ? (
|
||||
<ReviewComments
|
||||
owner={owner}
|
||||
name={name}
|
||||
index={index}
|
||||
reviewId={review.id}
|
||||
baseUrl={instance?.baseUrl}
|
||||
/>
|
||||
) : null}
|
||||
</Card>
|
||||
))}
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user