semaphore/routes/_actions
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
..
accounts.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
addInstance.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
addStatusOrNotification.js fix notifications in a background tab (#402) 2018-06-23 10:11:14 -07:00
autosuggest.js isolate autosuggestion state (#273) 2018-05-06 16:25:17 -07:00
block.js approve/reject follow requests, unblock, unmute (#230) 2018-04-28 14:19:39 -07:00
compose.js isolate autosuggestion state (#273) 2018-05-06 16:25:17 -07:00
contentWarnings.js Fix spoilers being posted after removal (#90) 2018-04-11 22:55:11 -07:00
delete.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
deleteStatuses.js remove lodash forEach to reduce bundle size (#156) 2018-04-17 21:47:39 -07:00
emoji.js isolate autosuggestion state (#273) 2018-05-06 16:25:17 -07:00
favorite.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
follow.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
followRequests.js add more fine-grained request timeouts (#387) 2018-06-13 07:38:36 -07:00
instances.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
lists.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
media.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
mute.js approve/reject follow requests, unblock, unmute (#230) 2018-04-28 14:19:39 -07:00
muteConversation.js add ability to mute conversation (#291) 2018-05-12 22:49:01 -07:00
pin.js add ability to pin and unpin statuses (#235) 2018-04-29 12:28:44 -07:00
pinnedStatuses.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
postPrivacy.js refactor 2018-03-03 14:51:48 -08:00
reblog.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
requests.js approve/reject follow requests, unblock, unmute (#230) 2018-04-28 14:19:39 -07:00
search.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00
statuses.js Refactor database for better code-splitting (#144) 2018-04-16 20:56:21 -07:00
streaming.js update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
timeline.js remove get() with string from Svelte calls (#169) 2018-04-19 09:37:05 -07:00