-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Feat: Toast notification timeout settings #3441
Feat: Toast notification timeout settings #3441
Conversation
Thinking about this, it's probably not a good idea for the setting to affect the system messages. Changed back to the setting affecting monitor toast notifications only. |
b909882
to
49ecad4
Compare
Are there any instructions for building the docker image from source? I looked but I can only find npm instructions, and my current setup is through docker. I'd like to give this PR a try as it's a feature I'm looking forward to. |
You should be able to use the pre built docker image for this PR by following these instructions in the wiki |
3e70253
to
b096586
Compare
Changing gui, adding timeout with a fix value memo rc rollback readme cleanup code cleanup code Review fixes review fix 2
Chore: Remove unused
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
837b5cc
to
65993e3
Compare
Sorry but where did you find the instructions for NPM upgrade for this one? |
See #4500 for the steps where help is appreciated to get v2.0 shipped |
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Fixes #2116
Fixes #1178
Fixes #1085
Fixes #841
This is a continuation of #2555, with various changes applied to improve usability and code organization.
Settings is stored to
localStorage
on change, so the "Save" button is not needed. Settings are applied to the toast instance default, which will apply to all toast notifications of the same type.A new button to clear all toast notification is added to the bottom of the toasts stack. The individual close button for each toast is set to show on hover since the close all button should satisfy most needs.
Type of change
Checklist
(including JSDoc for methods)
Screenshots (if any)