volumio / Volumio2-UI

Volumio2 Web Based User Interface
http://volumio.org
166 stars 163 forks source link

Toast message of type "stickyerror" does not stick #813

Open gvolt opened 2 years ago

gvolt commented 2 years ago

... but disappears without clicking the closing "x" after about 5 seconds like the regular "error" type toast message just without showing the progress bar.

Volumio version: 3.198 on Raspberry Pi

ashthespy commented 2 years ago

From https://github.com/volumio/Volumio2-UI/pull/633 :-D

Untested, just dug out the old patch and pushed it.

It might be that there is some default that needs more overrides?

EDIT: https://github.com/Foxandxss/angular-toastr/issues/233

showDuration: 0,
hideDuration: 0,
timeOut: 0,
extendedTimeOut: 0
gvolt commented 2 years ago

IIRC on Volumio 2.917 it is working. I will have the opportunity this weekend to see if memory is deceiving and will report back.

ashthespy commented 2 years ago

Well, doesn't seem to serve the purpose (of being able to copy errors) in it's current form. No interaction kills it in 5 seconds. Hovering makes it stay, but any click/activity dismisses it. Toasty

gvolt commented 2 years ago

Hm, just checked on 2.917 and same result: Toast does not not stick.