Chat: allow notifications even if tab is not hidden
#21039
I keep chat open on a monitor at all times, so visibilityState is never "hidden", but I do want to get notified of pings just in case I'm not really paying attention at the time, so it'd be nice if it was possible to allow notifications to go through even if the tab is visible, as long as it's not focused.
I'd imagine this is not wanted behaviour for everyone so it makes more sense as a toggle. The i18n is a bit tricky, I'd be thinking along the lines of ☒ Even if chat is visible and just require the user to intuit this doesn't include "even if chat is focused"?
https://ikg.sh/ikagi-gr.png
#21042
in order to add this i'd probably change the option into a dropdown instead like the osu keyboard sounds, rather than add to the sea of checkboxes but this seems fine to me otherwise
https://sig.flash.moe/signature.png
#21043
remember when strobe title on new message did anything me neither
https://wart.host/20240430_GvH.gif
#21044
strobe on title also only happens when you're tabbed out, which i'm pretty sure matches the behaviour from AJAX Chat, would you also like a similar options for strobe title?
https://sig.flash.moe/signature.png
#21046
it does straight up nothing for me even when unfocused :sob:
https://wart.host/20240430_GvH.gif
#21047
strobe title works for me but similar to notifications it's only when the tab is hidden, right
https://ikg.sh/ikagi-gr.png
#21048
nook don't you have some thing that spoofs document.hidden or whatever it is to always be false, i recall you complaining about it anyhow
https://sig.flash.moe/signature.png