Commit Graph

219 Commits

Author SHA1 Message Date
Nolan Lawson 95c3349db7 fix bug where favicon changes incorrectly 2018-04-11 20:30:38 -07:00
codl 6fcecce311 allow scroll-to-top to be canceled by a user scroll (#79) 2018-04-11 19:43:22 -07:00
Nolan Lawson 55782a5331 detect "selected" when doing smooth scroll to top 2018-04-10 23:15:22 -07:00
Nolan Lawson 494f906701
increase fetch timeout to 60 seconds for now (#55)
Fixes #29
2018-04-09 18:33:23 -07:00
Nolan Lawson 7ae3212c55
Fix alts for image uploads (#54)
* Fix alts for image uploads

Fixes #41

* fix alts mixed with no-alts
2018-04-09 18:30:15 -07:00
Nolan Lawson bcc7fb47ef start using an event bus 2018-04-08 15:08:32 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson 760cafdeff don't allow clicking through to status if click is on toolbar 2018-04-04 18:53:52 -07:00
Nolan Lawson ef5b922e77 add basic handling for window resize 2018-03-31 17:42:52 -07:00
Nolan Lawson 3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
Nolan Lawson 6fc21e40bf add username autocomplete feature 2018-03-24 18:04:54 -07:00
Nolan Lawson d682982a54 fix caching logic 2018-03-23 08:16:46 -07:00
Nolan Lawson 3b03bd0e8d tweak when to use requestIdleCallback 2018-03-22 22:53:50 -07:00
Nolan Lawson cd968245e1 go back to having Timeline.html manage focus 2018-03-22 21:59:02 -07:00
Nolan Lawson ef51842e6a calculate listOffset to avoid profile offset issue 2018-03-22 17:33:42 -07:00
Nolan Lawson 72e7e18e0b add favorite/reblog animations 2018-03-21 09:38:20 -07:00
Nolan Lawson 0c9992c0e1 change scheduling to focus on requestIdleCallback 2018-03-20 20:28:53 -07:00
Nolan Lawson 98b704f465 optimistic updates for fav/reblog 2018-03-20 17:41:39 -07:00
Nolan Lawson e4572a8066 increase timeout 2018-03-15 21:01:37 -07:00
Nolan Lawson f81bb51936 change toast message 2018-03-14 23:17:47 -07:00
Nolan Lawson 1477fbfbda faster classname function 2018-03-14 18:52:33 -07:00
Nolan Lawson da2daa955d fix statuses being deleted from threads 2018-03-10 20:24:07 -08:00
Nolan Lawson 23a247a8c2 basic support for delete streaming 2018-03-10 16:21:10 -08:00
Nolan Lawson b3263e528f fix incoming statuses, add tests 2018-03-10 10:54:16 -08:00
Nolan Lawson 346cfa0e2c remove URLSearchParams 2018-03-09 00:08:23 -08:00
Nolan Lawson 53081ffe54 add failing test for offline threads 2018-03-08 18:08:14 -08:00
Nolan Lawson 36fdd79032 add custom emoji 2018-03-06 09:03:59 -08:00
Nolan Lawson 73861c4749 make virtual list more effecient using "reselect" 2018-03-04 13:37:55 -08:00
Nolan Lawson cd376c5a18 start adding media uploads 2018-03-01 21:21:49 -08:00
Nolan Lawson cd9365cddb code cleanup 2018-02-28 19:16:11 -08:00
Nolan Lawson b26fdc7f55 correctly measure status length 2018-02-27 23:38:33 -08:00
Nolan Lawson cef354d412 fix box sizing calculations 2018-02-25 23:01:15 -08:00
Nolan Lawson 96303583ad improve perf of autosize.js 2018-02-25 22:29:12 -08:00
Nolan Lawson 2ffd38383d improve perf of compose box 2018-02-25 20:45:11 -08:00
Nolan Lawson 62d7166b39 code cleanup 2018-02-25 11:20:40 -08:00
Nolan Lawson 00ccf35777 add reblogging/unreblogging 2018-02-24 20:35:22 -08:00
Nolan Lawson a82cc57f83 fix ajax error handling 2018-02-24 19:25:33 -08:00
Nolan Lawson 160e763e0d simplify click delegates 2018-02-24 16:12:25 -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 5c53199434 lint fix 2018-02-21 17:57:49 -08:00
Nolan Lawson bd77fb43c3 fix URLSearchParams in edge 2018-02-21 17:52:33 -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 4d58c8cc2d async load dialogs 2018-02-14 22:06:23 -08:00
Nolan Lawson 72e287acd0 async load PseudoVirtualList 2018-02-14 21:51:34 -08:00
Nolan Lawson a56591fb8e fix display of loading mask 2018-02-14 18:37:19 -08:00
Nolan Lawson 8dcf72d144 lint fixes 2018-02-11 14:11:03 -08:00
Nolan Lawson 64350ad912 v1 of streaming 2018-02-11 13:46:57 -08:00
Nolan Lawson 82e003f7f5 add timeout of 15 secs to all fetch requests 2018-02-11 10:49:32 -08:00
Nolan Lawson 5adc975bef lint fixes 2018-02-11 09:37:13 -08:00
Nolan Lawson faac8f1a31 save focus when using keyboard navigation 2018-02-10 13:57:04 -08:00
Nolan Lawson e6bf344aec use custom perf mark impl 2018-02-10 11:36:31 -08:00
Nolan Lawson e6304cbbf3 use event delegation for better perf 2018-02-10 11:30:13 -08:00
Nolan Lawson 2e83bc0ff9 use standard 2018-02-08 22:29:29 -08:00
Nolan Lawson fee954bf27 clean up actions, implement cache-first sync strategy 2018-02-08 17:51:48 -08:00
Nolan Lawson d93811d470 refactor 2018-02-08 08:22:14 -08:00
Nolan Lawson 016ecfca8d add favorites, refactor local/federated 2018-02-07 22:49:50 -08:00
Nolan Lawson 8761a46767 implement search 2018-02-06 20:54:49 -08:00
Nolan Lawson 8711bfb831 implement confirmation dialog 2018-02-05 09:43:45 -08:00
Nolan Lawson 074ef0a760 use a11y-dialog instead of dialog polyfill 2018-02-04 19:15:35 -08:00
Nolan Lawson 6978d27a8c click on images to show them in a modal 2018-02-04 15:59:42 -08:00
Nolan Lawson 6e2fa24261 play videos big 2018-02-04 15:08:34 -08:00
Nolan Lawson 2e2c278dee better a11y for modal: retain focus when closed 2018-02-04 13:49:43 -08:00
Nolan Lawson e19b60b9d2 refactor 2018-02-03 18:06:57 -08:00
Nolan Lawson c8cb4354e3 add ability to fetch and store notifications 2018-02-03 18:06:02 -08:00
Nolan Lawson f1eaee4674 implement autoplay gif feature for avatars 2018-01-31 18:20:30 -08:00
Nolan Lawson eebadf8a71 always enable marks in development 2018-01-31 08:40:37 -08:00
Nolan Lawson 2c2f84b870 itemHeights should be divided by realm 2018-01-31 08:37:59 -08:00
Nolan Lawson 8afe67c471 implement RealmStore 2018-01-30 21:55:23 -08:00
Nolan Lawson d1620c3bca use rIC in pseudo virtual list 2018-01-30 21:17:01 -08:00
Nolan Lawson 6b2f16f3bf add status context 2018-01-28 15:44:33 -08:00
Nolan Lawson 8b282de973 refactor 2018-01-28 15:02:02 -08:00
Nolan Lawson 90af9eedde refactor store 2018-01-28 13:09:39 -08:00
Nolan Lawson 88d59678f2 more work on profile page 2018-01-28 12:51:48 -08:00
Nolan Lawson f469dc1272 switch websocket lib for smaller size 2018-01-27 22:48:02 -08:00
Nolan Lawson e53ed9bc40 proper actions for accountId page 2018-01-27 20:23:52 -08:00
Nolan Lawson de248a9b1f refactor timeline to use actions 2018-01-27 17:34:08 -08:00
Nolan Lawson c0c7e9fafe refactor 2018-01-27 16:35:44 -08:00
Nolan Lawson e21224067b refactor 2018-01-27 16:31:26 -08:00
Nolan Lawson 29b9da64d4 properly delete cache when logging out 2018-01-27 14:55:46 -08:00
Nolan Lawson a779afafce refactor [instanceName].html 2018-01-27 14:45:51 -08:00
Nolan Lawson 8bc8cd5ccf remove console.log 2018-01-27 12:55:49 -08:00
Nolan Lawson 5f627bf9f1 move all timeline data to centralized store 2018-01-27 10:46:52 -08:00
Nolan Lawson 7a510101d0 automatically remove console logs 2018-01-27 08:22:23 -08:00
Nolan Lawson 610e54469e add ability to stream statuses 2018-01-26 17:13:59 -08:00
Nolan Lawson 2b943fe0bf make it possible to fetch and store streaming URL 2018-01-25 08:44:10 -08:00
Nolan Lawson 569f384192 refactor virtual list 2018-01-25 08:23:14 -08:00
Nolan Lawson ab3efd2829 add a cache for accounts too 2018-01-25 00:01:56 -08:00
Nolan Lawson d0391a6c0f fix observer bug in svelte store 2018-01-24 18:58:10 -08:00
Nolan Lawson 754bbf0d46 properly cache scroll top 2018-01-24 18:04:25 -08:00
Nolan Lawson fb234adb79 save scroll positions 2018-01-24 09:47:31 -08:00
Nolan Lawson 0a7f56004f guard against NPEs for IntersectionObserver 2018-01-23 21:02:51 -08:00
Nolan Lawson b15ad4b2f7 simplify virtual list even more 2018-01-23 18:19:03 -08:00
Nolan Lawson 5f12322ac8 lazily render statuses, use lru cache on top of idb 2018-01-23 18:15:14 -08:00
Nolan Lawson 8555e9e4c1 remove debug code 2018-01-23 17:26:11 -08:00
Nolan Lawson 8af3f1b6e4 fix for Chrome IntersectionObserver bug 2018-01-23 17:25:56 -08:00
Nolan Lawson 48d47160d7 use database for account caching 2018-01-23 09:21:21 -08:00
Nolan Lawson 47c058a19f simplify database structure 2018-01-23 09:03:31 -08:00
Nolan Lawson 9c287c0727 be explicit about local storage usage 2018-01-22 21:55:25 -08:00