forked from farhoodlabs/paperclip
Refine issue chat activity and message chrome
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -147,6 +147,7 @@ export function IssueChatUxLab() {
|
||||
onAdd={noop}
|
||||
onVote={noop}
|
||||
onCancelRun={noop}
|
||||
onInterruptQueued={noop}
|
||||
draftKey="issue-chat-ux-lab-primary"
|
||||
enableReassign
|
||||
reassignOptions={issueChatUxReassignOptions}
|
||||
|
||||
@@ -1771,6 +1771,10 @@ export function IssueDetail() {
|
||||
onAttachImage={async (file) => {
|
||||
await uploadAttachment.mutateAsync(file);
|
||||
}}
|
||||
onInterruptQueued={async (runId) => {
|
||||
await interruptQueuedComment.mutateAsync(runId);
|
||||
}}
|
||||
interruptingQueuedRunId={interruptQueuedComment.isPending ? interruptQueuedComment.variables ?? null : null}
|
||||
onCancelRun={runningIssueRun
|
||||
? async () => {
|
||||
await interruptQueuedComment.mutateAsync(runningIssueRun.id);
|
||||
|
||||
Reference in New Issue
Block a user