-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Don't dispatch the Toggle Command Palette action to keep the just closed Command Palette closed. #10423
Don't dispatch the Toggle Command Palette action to keep the just closed Command Palette closed. #10423
Conversation
…sed command palette closed.
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.
Thanks!
Hello @carlos-zamora! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
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.
This method has a funny amount of nested if conditions. We might want to introduce some return
statements in our project. hahaha 😄
…sed Command Palette closed. (#10423) An exception was introduced for the 'Toggle Command Palette' action to **not** being dispatched. Otherwise the command palette that was just closed will become visible again. ## PR Checklist * [x] Closes #10240 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Detailed Description of the Pull Request / Additional comments - Selecting the `Toggle command palette` item in the command palette will now properly close the command palette. - Opening and closing the Command Palette through shortcut keys is still working fine. - Other command palette items are still working fine as well. (cherry picked from commit 813f385)
…sed Command Palette closed. (#10423) An exception was introduced for the 'Toggle Command Palette' action to **not** being dispatched. Otherwise the command palette that was just closed will become visible again. ## PR Checklist * [x] Closes #10240 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Detailed Description of the Pull Request / Additional comments - Selecting the `Toggle command palette` item in the command palette will now properly close the command palette. - Opening and closing the Command Palette through shortcut keys is still working fine. - Other command palette items are still working fine as well. (cherry picked from commit 813f385)
🎉 Handy links: |
🎉 Handy links: |
An exception was introduced for the 'Toggle Command Palette' action to not being dispatched. Otherwise the command palette that was just closed will become visible again.
PR Checklist
Detailed Description of the Pull Request / Additional comments
Toggle command palette
item in the command palette will now properly close the command palette.