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

fix: switch mode state #1332

Merged
merged 1 commit into from
Mar 3, 2025
Merged

fix: switch mode state #1332

merged 1 commit into from
Mar 3, 2025

Conversation

aheizi
Copy link

@aheizi aheizi commented Mar 3, 2025

Context

Fix the issue where the profile does not change when switching modes.

Implementation

notify extension to sync mode change

Screenshots

after
image

How to Test

When using shortcut keys, observe the changes in the profile.

Get in Touch


Important

Fixes mode switching issue in ChatView.tsx by updating local state and notifying extension to sync mode change.

  • Behavior:
    • Fixes issue where profile does not change when switching modes in ChatView.tsx.
    • Updates local state and notifies extension to sync mode change in switchToNextMode function.
  • Implementation:
    • Adds vscode.postMessage call to send mode change notification in switchToNextMode.
    • Handles mode switching via keyboard shortcut (Command/Ctrl + .).

This description was created by Ellipsis for 6267707. It will automatically update as commits are pushed.

@aheizi aheizi requested review from mrubens and cte as code owners March 3, 2025 06:52
Copy link

changeset-bot bot commented Mar 3, 2025

⚠️ No Changeset found

Latest commit: 6267707

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Mar 3, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 3, 2025
@mrubens mrubens merged commit 9faed0e into RooVetGit:main Mar 3, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants