feat(issues): make issues page writable with inline editing (#1017)

This commit is contained in:
Jinwoo Hong
2026-04-24 10:41:21 -07:00
committed by GitHub
parent 1772087db5
commit faed904aae
22 changed files with 2756 additions and 132 deletions
+65
View File
@@ -436,6 +436,8 @@ export type GitHubWorkItemDetails = {
baseSha?: string
checks?: PRCheckDetail[]
files?: GitHubPRFile[]
/** Logins of current assignees. Only set for issues. */
assignees?: string[]
}
// ─── Linear ─────────────────────────────────────────────────────────
@@ -462,11 +464,14 @@ export type LinearIssue = {
color: string
}
team: {
id: string
name: string
key: string
}
labels: string[]
labelIds: string[]
assignee?: {
id: string
displayName: string
avatarUrl?: string
}
@@ -474,6 +479,66 @@ export type LinearIssue = {
updatedAt: string
}
export type LinearComment = {
id: string
body: string
createdAt: string
user?: {
displayName: string
avatarUrl?: string
}
}
// ─── Issue Mutations ────────────────────────────────────────────────
export type GitHubIssueUpdate = {
state?: 'open' | 'closed'
title?: string
addLabels?: string[]
removeLabels?: string[]
addAssignees?: string[]
removeAssignees?: string[]
}
export type LinearIssueUpdate = {
stateId?: string
title?: string
assigneeId?: string | null
priority?: number
labelIds?: string[]
}
export type ClassifiedError = {
type:
| 'permission_denied'
| 'not_found'
| 'validation_error'
| 'rate_limited'
| 'network_error'
| 'unknown'
message: string
}
export type LinearWorkflowState = {
id: string
name: string
type: string
color: string
position: number
}
export type LinearLabel = {
id: string
name: string
color: string
}
export type LinearMember = {
id: string
displayName: string
avatarUrl?: string
}
// ─── Hooks (orca.yaml) ──────────────────────────────────────────────
export type OrcaHooks = {
scripts: {