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

Test: Do Not Disturb Mode #153330

Closed
3 tasks done
daviddossett opened this issue Jun 27, 2022 · 1 comment
Closed
3 tasks done

Test: Do Not Disturb Mode #153330

daviddossett opened this issue Jun 27, 2022 · 1 comment

Comments

@daviddossett
Copy link
Contributor

daviddossett commented Jun 27, 2022

Refs #144324

Complexity: 4

Create Issue


The Do Not Disturb mode was added to give users the option to hide info and warning notifications when enabled. Notifications configured as modals and error notifications will still show.

  1. Open the hello world sample extension and install dependencies
  2. Replace the existing showInformationMessage call with these lines:
vscode.window.showInformationMessage('Info Notification As Modal', { modal: true });	
vscode.window.showInformationMessage('Info Notification');
vscode.window.showWarningMessage('Warning Notification'); 
vscode.window.showErrorMessage('Error Notification'); 
  1. Launch the extension and run the Hello World command
  2. Verify that both the modal notification pops up and the three info/warning/error notifications pop up
  3. Clear all notifications from the notifications center
  4. Turn on Do Not Disturb mode from the notification center toolbar
  5. Run the "Hello World" command
  6. Verify that only the info modal and error notification pop up.
  7. Open the progress sample extension and install dependencies
  8. Turn off do not disturb mode
  9. Launch the extension and run the Show Progress command
  10. Verify the progress notification shows
  11. Turn on do not disturb mode and run Show Progress again
  12. Verify the progress displays in the status bar instead of a notification
  13. Verify that clicking on the status bar progress item opens up the notification
  14. Reload the window and redo steps 15-16 to ensure do not disturb works on startup
@lszomoru
Copy link
Member

Awesome work! 👏🏻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants