Commit Graph

16 Commits

Author SHA1 Message Date
Nolan Lawson d599f2f308
run idb operations in a web worker (#517) 2018-08-29 19:03:12 -07:00
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
Nolan Lawson b231466fff
Refactor database for better code-splitting (#144) 2018-04-16 20:56:21 -07:00
Nolan Lawson dc91dbd1e7
fix excessive itemIdsToAdd updates (#117)
fixes #40
2018-04-14 11:52:47 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson 584d94eea4 fix streaming gap issue for instance switching 2018-04-02 21:14:12 -07:00
Nolan Lawson cf2b6bfe2f refactor 2018-04-02 18:02:09 -07:00
Nolan Lawson cfb8e28fcc be less aggressive about throttling notifications 2018-04-02 18:00:45 -07:00
Nolan Lawson eaa19f79e4 fix streaming gap issue 2018-03-19 10:09:05 -07:00
Nolan Lawson 536fa97060 don't attempt to remove reblogged duplicates 2018-03-18 09:31:36 -07:00
Nolan Lawson 622b162924 uniqBy doesnt have shorthands in production 2018-03-14 23:13:27 -07:00
Nolan Lawson a2744cddb0 attempt to fix dupliates in itemIdsToAdd 2018-03-14 09:46:08 -07:00
Nolan Lawson 23a247a8c2 basic support for delete streaming 2018-03-10 16:21:10 -08:00
Nolan Lawson af814b24f5 change comments 2018-03-09 23:09:43 -08:00
Nolan Lawson 7813cf99ed immediately add replies to threads 2018-03-09 22:31:26 -08:00
Nolan Lawson 5a1016d1c9 handle streamed deletions 2018-02-16 19:38:21 -08:00