Closed DL6ER closed 1 month ago
@yubiuser You are right, for this table only the "(and simplify)" part applies
@yubiuser looking at this, this is actually not a new bug but in fact a more general bug of our toast notification system. Previously, we printed a single toast for deleting multiple entries and updated this on success/fail. Now we print individual toasts but can only update the last one (due to this aforementioned limitation). I guess we need to cluster again but - as the deletion events get fired async and individually, I'm not actually sure what would be the best Javascript handling to actually report about errors or success.
Why do we need the initial blue message saying "Deleting message..." and then update the message?
I think we could simply show the final message (success or error).
I think we have all those "doing xxx" messages because on slower devices it might need some time before the operation finished and success/failure is displayed. So the users know their click triggered an action.
Hmmm... Do we need to update the initial message?
In other words: can we simply display one toast with the initial "Doing xxxxxx..." message and when the answer is received we display another toast with the final message (not updating the initial one)?
This should be fine I guess.
@DL6ER
You have a related PR (at least in part) where you made some changes to showAlert()
. I think that changes were intended to fix the toast issues we are seeing above.
Oh, more than half a year ago PR which totall escaped me. Closing this one as it is a duplicate. I will port the changes into the older PR and rebase it on latest development-v6
.
What does this implement/fix?
Fix (and simplify) mass deletion of DHCP lease, diagnosis messages, and local DNS/CNAME records
Related issue or feature (if applicable): see Discourse thread
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.