-
-
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
Duplicate check and an auto disappear timer for toast #26651
Comments
gitea/web_src/js/modules/toast.js Lines 11 to 19 in f65977d
duration is -1 , so it will not disappear until user close it . 😕
|
Is it possible to check the content of the warning message, and if they are same then add |
Fixed by #28873 ? |
No, it fix JS error, this is triggered by http response. |
wxiaoguang
added a commit
that referenced
this issue
Jun 27, 2024
make preventDuplicates default to true, users get a clear UI feedback and know that "a new message appears". Fixes: #26651 --------- Co-authored-by: silverwind <me@silverwind.io>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Thanks for @wxiaoguang's work in #26535
But we need do some more works for toast:
How to reproduce?
just click rerun job button crazily :)
Gitea Version
latest
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build
Database
None
The text was updated successfully, but these errors were encountered: