Commit graph

216 commits

Author SHA1 Message Date
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
Nolan Lawson fcfe409633 add loading indicator for images 2018-01-22 21:47:29 -08:00
Nolan Lawson ab291a2c7e first stab at account pages 2018-01-22 21:16:27 -08:00
Nolan Lawson ec411d1ce6 add custom emoji rendering 2018-01-21 22:46:27 -08:00
Nolan Lawson a11f31bb3f implement hashtags 2018-01-21 20:02:32 -08:00
Nolan Lawson 0460a7de2d fix database cleanup 2018-01-21 19:31:37 -08:00
Nolan Lawson 0e229bedff implement database cleanup on logout 2018-01-21 18:36:40 -08:00
Nolan Lawson 8e81926076 fix bug in db cleanup 2018-01-21 17:26:16 -08:00
Nolan Lawson 4b04cc92f1 refactor database 2018-01-21 17:18:56 -08:00
Nolan Lawson 924e803d16 add loading footer 2018-01-21 16:07:11 -08:00
Nolan Lawson d627348d19 set meta theme color correctly 2018-01-21 15:20:50 -08:00
Nolan Lawson 6790cfd187 add spoiler text support 2018-01-21 10:32:18 -08:00
Nolan Lawson c1e7208e11 fix console log for prod 2018-01-20 20:45:31 -08:00
Nolan Lawson aa888500ec improve a11y of video dialog 2018-01-20 20:20:33 -08:00
Nolan Lawson adfa5d5fb5 add modal dialog to fix fullscreen video 2018-01-20 19:19:24 -08:00
Nolan Lawson 9264f85505 tweak media images and video 2018-01-20 15:37:47 -08:00
Nolan Lawson 9bb9632913 perf improvement for db cleanup 2018-01-19 21:51:22 -08:00
Nolan Lawson 0dbfbcf0f2 refine offline mode 2018-01-19 18:04:31 -08:00
Nolan Lawson a05400b06f refactor db usage 2018-01-19 09:18:14 -08:00
Nolan Lawson d659578338 fix webpackChunkName 2018-01-19 07:17:33 -08:00
Nolan Lawson 7799dafef8 use workerize 2018-01-19 01:32:23 -08:00
Nolan Lawson 0360672d49 improve loading spinner 2018-01-19 00:51:51 -08:00
Nolan Lawson b8d7ae3d8b tweak offline mode 2018-01-19 00:29:45 -08:00
Nolan Lawson 6cf4a11283 more work on offline capabilities 2018-01-18 23:37:43 -08:00
Nolan Lawson 42fd153364 more refinements to fetching and offline 2018-01-18 21:52:58 -08:00
Nolan Lawson a2f0f9bc39 more offline work 2018-01-18 21:25:12 -08:00
Nolan Lawson cbcb270ed3 add explicit offline mode 2018-01-18 20:57:15 -08:00
Nolan Lawson 90762897db first stab at online mode 2018-01-18 20:25:34 -08:00
Nolan Lawson 1c354817a6 improve a11y 2018-01-17 23:00:33 -08:00
Nolan Lawson 31244a5f8e refactor 2018-01-17 19:53:12 -08:00
Nolan Lawson f416413b7e fix batch update 2018-01-17 19:52:18 -08:00
Nolan Lawson bfe0f1255a implement batchUpdate() 2018-01-17 19:41:37 -08:00
Nolan Lawson 0f69df592a implement AsyncLayout 2018-01-17 19:16:04 -08:00
Nolan Lawson b58033203d use real statuses 2018-01-17 18:35:27 -08:00
Nolan Lawson 95290afca7 add perf marks 2018-01-17 00:59:15 -08:00
Nolan Lawson 9e111bfc5a fine-tune infinite scrolling list 2018-01-17 00:06:24 -08:00
Nolan Lawson eacf28317e more progress on infinite scroll 2018-01-16 23:16:15 -08:00
Nolan Lawson e670b57381 start on infinite scrolling 2018-01-16 21:43:31 -08:00
Nolan Lawson 5e3e56d454 use IntersectionObserver for virtual scroll 2018-01-16 20:34:09 -08:00
Nolan Lawson 8d91c3a08d remove console.logs 2018-01-16 17:47:25 -08:00
Nolan Lawson e6e84e9079 tweak virtual list 2018-01-16 09:10:24 -08:00
Nolan Lawson 7582f34d24 fix jerky scrolling on Safari 2018-01-15 18:29:28 -08:00
Nolan Lawson b09e8c85ab kinda really sorta working 2018-01-15 17:25:32 -08:00
Nolan Lawson 1528d51290 kinda working better 2018-01-15 16:35:08 -08:00
Nolan Lawson 21a2b4251e remove dead code 2018-01-15 16:12:35 -08:00
Nolan Lawson 7682015cda kinda sorta working 2018-01-15 16:12:07 -08:00
Nolan Lawson 3f9ca66e38 some more work on virtual scroll which is hard 2018-01-15 12:23:28 -08:00
Nolan Lawson 3ef701fd57 start on virtual list 2018-01-15 10:54:02 -08:00
Nolan Lawson 234c21f249 make toast non-async for better error messages 2018-01-14 23:36:44 -08:00
Nolan Lawson e3bb16b688 lazy load the timeline 2018-01-14 23:24:27 -08:00
Nolan Lawson bdcfea32e7 fix style for statuses 2018-01-14 21:41:19 -08:00
Nolan Lawson 13231a8af4 improve bundle size, add webpack-bundle-analyzer 2018-01-14 17:50:29 -08:00
Nolan Lawson 01243ba4c1 more work on service worker 2018-01-14 17:13:42 -08:00
Nolan Lawson ee1251467a add error handling, toasts, and loading spinner 2018-01-14 11:22:57 -08:00
Nolan Lawson 269d0b1953 flesh out settings menu 2018-01-13 20:07:11 -08:00
Nolan Lawson a56996b2bf fix instance login 2018-01-13 19:23:05 -08:00
Nolan Lawson 1f9029f457 finish theme engine 2018-01-13 18:59:49 -08:00
Nolan Lawson f69797544d start on instance theming 2018-01-13 17:41:15 -08:00
Nolan Lawson eaaacdeef5 start on themes 2018-01-13 14:19:51 -08:00
Nolan Lawson b7d2a51ee7 flesh out settings more 2018-01-13 12:12:17 -08:00
Nolan Lawson af8cf63caa work on list of instances settings page 2018-01-13 11:11:35 -08:00
Nolan Lawson 1582cd10e1 flesh out settings 2018-01-13 10:53:25 -08:00
Nolan Lawson ebe26a2615 remove dead code 2018-01-12 22:27:40 -08:00
Nolan Lawson 1d2ed28dd5 allow multiple instances 2018-01-12 22:24:54 -08:00
Nolan Lawson 6b1c047bcd more efficient localstorage store 2018-01-12 22:05:57 -08:00
Nolan Lawson e573220f3f start fleshing out timeline 2018-01-10 20:45:02 -08:00
Nolan Lawson 4b593e794e start on timeline implementation 2018-01-08 18:14:21 -08:00
Nolan Lawson e7e17f3899 use svelte store and localstorage for ui state 2018-01-08 10:13:42 -08:00
Nolan Lawson e7d8632154 we can fetch timelines! 2018-01-07 22:13:15 -08:00
Nolan Lawson 9753b3d1c6 finish whole oauth logic 2018-01-07 22:00:20 -08:00