Skip to content

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

Merged
merged 17 commits into from
Jun 24, 2025
Merged

Conversation

justschen
Copy link
Collaborator

@justschen justschen commented Jun 17, 2025

Copy link
Member

@roblourens roblourens left a 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;
Copy link
Member

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) {
Copy link
Member

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

@justschen justschen marked this pull request as ready for review June 24, 2025 01:05
Copy link

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically. Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting /AzurePipelines run.

@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 24, 2025
@justschen justschen enabled auto-merge (squash) June 24, 2025 01:52
@justschen justschen closed this Jun 24, 2025
auto-merge was automatically disabled June 24, 2025 01:52

Pull request was closed

@justschen justschen reopened this Jun 24, 2025
@justschen justschen merged commit c6e8ac1 into microsoft:main Jun 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants