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

Don't immediately remove notifications from notification trays #4773

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

mnoorenberghe
Copy link
Contributor

@mnoorenberghe mnoorenberghe commented Apr 3, 2020

What type of PR is this? (check all applicable)

  • Other

Description

Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern browsers generally use OS notifications so the user is in control of the notification at the OS level.

Example of how users can adjust the timeout on macOS

The current 3s delay is almost unusuable… I can rarely get my mouse to that part of the screen in time.

Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern browsers generally use OS notifications so the user is in control of the notification at the OS level.
@mnoorenberghe
Copy link
Contributor Author

mnoorenberghe commented Apr 3, 2020

The percy UI change seems to be a false-positive.

@arikfr
Copy link
Member

arikfr commented Apr 3, 2020

What's the default behavior without the user adjusting the settings? Will the notification just remain visible until dismissed?

@mnoorenberghe
Copy link
Contributor Author

mnoorenberghe commented Apr 3, 2020 via email

@mnoorenberghe
Copy link
Contributor Author

Years ago Chrome didn't use the native notifications and they had them linger around indefinitely but they changed that behaviour as it didn't match any other browser and was a poor UX. There is a separate flag on notifications to request they stay around forever.

@arikfr arikfr merged commit e99c37a into getredash:master Apr 14, 2020
@arikfr
Copy link
Member

arikfr commented Apr 14, 2020

Thanks!

mnoorenberghe added a commit to mnoorenberghe/redash that referenced this pull request Apr 17, 2020
…dash#4773)

Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern browsers generally use OS notifications so the user is in control of the notification at the OS level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants