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

Notifications: Toaster Container did not close when empty #12457

Merged

Conversation

FernandoAscencio
Copy link
Contributor

@FernandoAscencio FernandoAscencio commented Apr 25, 2023

What it does

This commit adds:

  • Condition so that the toaster container will close when empty.

This can be tested when running the Quick Input: Hello World command after extracting the quickpickesctest-0.0.2.zip
When, after closing the toaster notifications and focusing in the inputbox, pressing esc once does not close the inputbox.

How to test

  1. Run Theia
  2. Run the command from the mentioned extension
  3. Close all notifications using the x button
  4. Focus on the input box /Quick Input and press esc once
  5. Check if the quick input has closed.

Before
closeEmptyToasterIssue

After
closeEmptyToaster

Review checklist

Reminder for reviewers

This commit adds:
- Condition so that the toaster container will close when empty.

This was an issue when testing 12446. When seemingly it needed two `esc`

Signed-Off-By: FernandoAscencio <fernando.ascencio.cama@ericsson.com>
@FernandoAscencio FernandoAscencio changed the title Notifications: Toaster Container Closes when Empty Notifications: Toaster Container did not close when empty Apr 25, 2023
@vince-fugnitto vince-fugnitto added the monaco issues related to monaco label Apr 26, 2023
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@vince-fugnitto vince-fugnitto modified the milestone: 1.37.0 Apr 27, 2023
@vince-fugnitto vince-fugnitto merged commit 2f8b8b6 into eclipse-theia:master May 17, 2023
@vince-fugnitto vince-fugnitto deleted the fa/closeEmptyToaster branch May 17, 2023 15:48
@vince-fugnitto vince-fugnitto added this to the 1.38.0 milestone May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monaco issues related to monaco
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants