pinafore/routes
Nolan Lawson 23ccec45d0
fix notifications in a background tab (#402)
Part of the way to improving #390.

Before this fix, if you recieved a notification while Pinafore was in a background tab, nothing would happen, because most browsers (Edge, Firefox, Chrome) don't run rAF in background tabs. Furthermore, Chrome doesn't run rIC. In this PR we detect if we're in a background tab and then avoid rAF/rIC in that case.
2018-06-23 10:11:14 -07:00
..
_actions fix notifications in a background tab (#402) 2018-06-23 10:11:14 -07:00
_api add more fine-grained request timeouts (#387) 2018-06-13 07:38:36 -07:00
_components fix svelte warning for empty block (#401) 2018-06-23 09:51:47 -07:00
_database add ability to mute conversation (#291) 2018-05-12 22:49:01 -07:00
_pages
_static
_store fix notifications in a background tab (#402) 2018-06-23 10:11:14 -07:00
_utils fix notifications in a background tab (#402) 2018-06-23 10:11:14 -07:00
accounts
community upgrade to svelte 2.0 (#251) 2018-05-01 17:05:36 -07:00
lists
settings tests: quicker login, tweak test setup (#372) 2018-06-08 09:00:20 -07:00
statuses/[statusId]
tags
blocked.html
favorites.html
federated.html
index.html
local.html
muted.html
notifications.html
pinned.html
requests.html
search.html