-
Notifications
You must be signed in to change notification settings - Fork 33.3k
feature: edit previous requests #251732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: edit previous requests #251732
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I see some kind of flicker sometimes when entering and leaving the edit state, like there's a frame where both the bubble and the editor are visible, is that possible?
@@ -167,6 +168,7 @@ export interface IChatResponseModel { | |||
readonly isPendingConfirmation: IObservable<boolean>; | |||
readonly isInProgress: IObservable<boolean>; | |||
readonly shouldBeRemovedOnSend: IChatRequestDisablement | undefined; | |||
shouldBeBlocked: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does shouldBeBlocked
mean exactly, that it's after the checkpoint? I don't really know what shouldBeRemovedOnSend
is for, I wonder if it was meant for this case too?
@@ -1333,20 +1574,30 @@ export class ChatWidget extends Disposable implements IChatWidget { | |||
|
|||
this.input.validateAgentMode(); | |||
|
|||
if (this.viewModel.model.checkpoint) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to use VM objects outside of the model where possible, it's a bit cleaner
src/vs/workbench/contrib/chat/browser/actions/chatToolActions.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.ts
Outdated
Show resolved
Hide resolved
If the changes appear safe, you can manually trigger the pipeline by commenting |
Pull request was closed
ref https://github.com/microsoft/vscode-copilot/issues/18304
re-adding all of https://github.com/microsoft/vscode/pull/230978/files