feat(FN-3278): add direct-mode review tab to task detail modal
Merges FN-3278 review tab direct-mode (data, rendering, regression tests, typing fixes, and docs across Steps 2/3/6), FN-3750 mobile keyboard stabilization for mailbox and reply composer, FN-3751 fire-and-forget wake dispatch to prevent request hangs, and FN-3748 workspace aliases for @fusion/* pack Fusion-Task-Id: FN-3278
This commit is contained in:
@@ -702,6 +702,8 @@ export interface TaskCommentInput {
|
||||
export type TaskReviewMode = "pull-request" | "direct";
|
||||
export type TaskReviewSource = "github-pr" | "reviewer-agent";
|
||||
export type TaskReviewDecision = "approved" | "changes-requested" | "commented" | "pending";
|
||||
export type TaskReviewVerdict = "APPROVE" | "REVISE" | "RETHINK" | "UNAVAILABLE";
|
||||
export type TaskReviewerType = "plan" | "code";
|
||||
export type TaskReviewItemStatus = "queued" | "in-progress" | "addressed" | "failed";
|
||||
|
||||
export interface TaskReviewItem {
|
||||
@@ -778,6 +780,12 @@ export interface TaskReviewStateItem {
|
||||
state?: string;
|
||||
htmlUrl?: string;
|
||||
isResolved?: boolean;
|
||||
source?: TaskReviewSource;
|
||||
reviewType?: TaskReviewerType;
|
||||
verdict?: TaskReviewVerdict;
|
||||
step?: number;
|
||||
summary?: string;
|
||||
addressingStatus?: TaskReviewItemStatus;
|
||||
}
|
||||
|
||||
export interface ReviewAddressingRecord {
|
||||
@@ -790,10 +798,16 @@ export interface ReviewAddressingRecord {
|
||||
stale?: boolean;
|
||||
}
|
||||
|
||||
export interface ReviewerTaskReviewSummary {
|
||||
verdict?: TaskReviewVerdict;
|
||||
reviewType?: TaskReviewerType;
|
||||
summary?: string;
|
||||
}
|
||||
|
||||
export interface TaskReviewState {
|
||||
source: "pull-request" | "reviewer-agent";
|
||||
lastRefreshedAt?: string;
|
||||
summary?: PrTaskReviewSummary;
|
||||
summary?: PrTaskReviewSummary | ReviewerTaskReviewSummary;
|
||||
items: TaskReviewStateItem[];
|
||||
addressing: ReviewAddressingRecord[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user