Commit Graph

70 Commits

Author SHA1 Message Date
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 efdb0bc534
Remove testcafe roles and run in parallel x4 (#334)
* more attempts to fix test flakiness

* remove testcafe roles entirely

* really remove testcafe roles

* run testcafe in parallel x2

* run testcafe in parallel x4

* fix online/offline forcing in tests

* fix pin test
2018-05-26 13:51:41 -07:00
Nolan Lawson 5a1e10dee0
refactor some stuff (#274) 2018-05-06 17:35:22 -07:00
Nolan Lawson 07fb5e867c
isolate autosuggestion state (#273)
fixes #261
2018-05-06 16:25:17 -07:00
Nolan Lawson 9e9a897ede
fix nav bar for pinned lists (#263) 2018-05-03 21:24:10 -07:00
Nolan Lawson b7c90a4206
add animation for navigation bar indicator (#257) 2018-05-02 21:32:43 -07:00
Nolan Lawson 814716cc8d
remove deprecated observe() from stores, take 2 (#249) 2018-04-30 17:20:20 -07:00
Nolan Lawson 77ba91c712
fix animations and cleanup store/component get() usage (#185)
fixes #181
2018-04-19 21:38:11 -07:00
Nolan Lawson 8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson 18c3064801
fix favicon logic (#175) 2018-04-19 09:34:56 -07:00
Nolan Lawson 7f5bea8f5b
remove deprecated store.onchange (#168) 2018-04-18 23:48:13 -07:00
Nolan Lawson e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
Nolan Lawson 0efafdec90
only show "you are offline" notification once (#137)
Fixes #34
2018-04-15 16:00:16 -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 5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson 3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
Nolan Lawson 7ce9a39119 add emoji autosuggest 2018-03-25 12:24:38 -07:00
Nolan Lawson cd968245e1 go back to having Timeline.html manage focus 2018-03-22 21:59:02 -07:00
Nolan Lawson 2785eb28c3 add option to reduce motion 2018-03-22 20:23:00 -07:00
Nolan Lawson 7053230ac0 fix focus() being called too often 2018-03-21 00:53:52 -07:00
Nolan Lawson 98b704f465 optimistic updates for fav/reblog 2018-03-20 17:41:39 -07:00
Nolan Lawson 00fd911579 truly fix streaming gap issue, remove sleeps from tests 2018-03-19 18:00:49 -07:00
Nolan Lawson eaa19f79e4 fix streaming gap issue 2018-03-19 10:09:05 -07:00
Nolan Lawson 9c0fbdabd2 better offline support 2018-03-11 12:11:06 -07:00
Nolan Lawson 23a247a8c2 basic support for delete streaming 2018-03-10 16:21:10 -08:00
Nolan Lawson 7813cf99ed immediately add replies to threads 2018-03-09 22:31:26 -08:00
Nolan Lawson f0d05b7560 lint fix 2018-03-08 18:09:35 -08:00
Nolan Lawson 53081ffe54 add failing test for offline threads 2018-03-08 18:08:14 -08:00
Nolan Lawson 4220e61042 add ability to post statuses 2018-03-04 16:27:15 -08:00
Nolan Lawson 562a58f030 fix node removal with no parent caused by focus changes 2018-03-04 12:55:51 -08:00
Nolan Lawson 3dc46791e9 refactor 2018-03-03 14:51:48 -08:00
Nolan Lawson 66801fbc96 refactor 2018-03-03 14:15:50 -08:00
Nolan Lawson 35282666cc implement post privacy 2018-03-03 13:23:26 -08:00
Nolan Lawson d4e770c28d add media URLs when media is inserted 2018-03-03 11:26:10 -08:00
Nolan Lawson e79003d8d7 separate uploaded media by instance/realm 2018-03-03 10:11:32 -08:00
Nolan Lawson b26fdc7f55 correctly measure status length 2018-02-27 23:38:33 -08:00
Nolan Lawson 18dab36e52 add custom emoji modal 2018-02-27 23:18:07 -08:00
Nolan Lawson 4ef576b7f1 refactor 2018-02-27 21:01:01 -08:00
Nolan Lawson 333ac62b61 further refactor ComposeBox 2018-02-26 22:22:56 -08:00
Nolan Lawson 33b999b37a start work on compose box 2018-02-25 16:26:43 -08:00
Nolan Lawson 1b7a01f1ee add favorite/unfavorite feature 2018-02-24 14:49:28 -08:00
Nolan Lawson 3a17f7ff7b start work on favoriting 2018-02-23 18:23:36 -08:00
Nolan Lawson a73e4b13c4 fix requestIdleCallback usage 2018-02-20 21:29:59 -08:00
Nolan Lawson 5c45212159 fix lint 2018-02-19 20:28:31 -08:00
Nolan Lawson 17330ed621 fix safari 2018-02-19 20:15:24 -08:00
Nolan Lawson e6aec353ff lint fixup 2018-02-16 09:01:03 -08:00
Nolan Lawson 9d576b7c1a add dynamic favicon 2018-02-16 08:59:44 -08:00
Nolan Lawson 2d640945a3 lint fixup 2018-02-15 22:21:42 -08:00
Nolan Lawson 3f264e476c add home/notification streaming 2018-02-15 09:02:46 -08:00