Skip to content
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

Support transferring input placeholder across workspaces #188415

Closed
wants to merge 2 commits into from

Conversation

bhavyaus
Copy link
Contributor

Fixes:
In the /createWorkspace scenario, creating and opening a new workspace does not pre-populate the slash command since the input view state is not transferred across workspaces.

@bhavyaus bhavyaus requested a review from joyceerhl July 20, 2023 23:08
Copy link
Contributor

@joyceerhl joyceerhl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline, IMHO there's no current need to support customizing the input value in the transfer state, we should add that later if we end up needing it

@@ -93,7 +93,7 @@ declare module 'vscode' {
export interface InteractiveSession {
requester: InteractiveSessionParticipantInformation;
responder: InteractiveSessionParticipantInformation;
inputPlaceholder?: string;
inputValue?: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this property in use somewhere? We should be careful not to break existing extension consumers

@bhavyaus bhavyaus closed this Jul 21, 2023
@bhavyaus
Copy link
Contributor Author

Discussed offline, IMHO there's no current need to support customizing the input value in the transfer state, we should add that later if we end up needing it

Changed to saving the input in the chat model itself:

#188543

@bhavyaus bhavyaus deleted the dev/bhavyau/interactive branch August 7, 2023 21:24
@github-actions github-actions bot locked and limited conversation to collaborators Sep 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants