Commit Graph

655 Commits

Author SHA1 Message Date
Nolan Lawson cd968245e1 go back to having Timeline.html manage focus 2018-03-22 21:59:02 -07:00
Nolan Lawson 7a9cb22269 add icons for boosters/favoriters/followers in status header 2018-03-22 21:36:19 -07:00
Nolan Lawson 2785eb28c3 add option to reduce motion 2018-03-22 20:23:00 -07:00
Nolan Lawson 76848d4c35 make anims faster 2018-03-22 20:19:07 -07:00
Nolan Lawson 15133c276b add animation for following someone 2018-03-22 20:18:17 -07:00
Nolan Lawson 80c92ac33d fix animation IconButton issue in Edge 2018-03-22 20:09:20 -07:00
Nolan Lawson a03961f379 attempt to fix focus crash issue 2018-03-22 19:56:08 -07:00
Nolan Lawson d40befacdb compose button is not disabled by default 2018-03-22 17:55:35 -07:00
Nolan Lawson ef51842e6a calculate listOffset to avoid profile offset issue 2018-03-22 17:33:42 -07:00
Nolan Lawson 98b8ea1c67 increase the render factor until I can figure out how to fix the list offsets 2018-03-22 09:39:46 -07:00
Nolan Lawson ec73ce8149 avatar should be aria-hidden 2018-03-22 00:22:18 -07:00
Nolan Lawson d2834d3bb2 dial back rIC usage, fix virtualListStore calculations 2018-03-22 00:01:19 -07:00
Nolan Lawson 72e7e18e0b add favorite/reblog animations 2018-03-21 09:38:20 -07:00
Nolan Lawson 7053230ac0 fix focus() being called too often 2018-03-21 00:53:52 -07:00
Nolan Lawson 60dd2ecff2 add muted style for image/video dialogs 2018-03-20 21:26:53 -07:00
Nolan Lawson b7406c78ae simplify HiddenFromSSR 2018-03-20 20:56:52 -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 1786d737bb correctly resize text input after posting 2018-03-19 20:58:53 -07:00
Nolan Lawson f6d1e5079a add titles for mention links 2018-03-19 18:05:51 -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 add39a7334 faster HiddenFromSSR implementation 2018-03-18 18:37:19 -07:00
Nolan Lawson 536fa97060 don't attempt to remove reblogged duplicates 2018-03-18 09:31:36 -07:00
Nolan Lawson 4d386357e7 fix another indexeddb migration bug 2018-03-17 11:59:35 -07:00
Nolan Lawson b2f8f356ed bump db because lodash-webpack-plugin broke it 2018-03-16 23:39:10 -07:00
Nolan Lawson ed0db17ca0 add auto-focus to reply input text 2018-03-16 19:04:48 -07:00
Nolan Lawson 9a0071a934 clicking avatars goes directly to profile 2018-03-16 18:48:24 -07:00
Nolan Lawson 4e47f3048b can show list of follow requests 2018-03-16 09:18:40 -07:00
Nolan Lawson 67e2e781f4 start on follow requests 2018-03-16 09:05:34 -07:00
Nolan Lawson 9de2949cb7 Simplify selectors, prefer class selectors for SVGs 2018-03-16 08:58:04 -07:00
Nolan Lawson bd0a0bf0be refactor 2018-03-16 00:01:03 -07:00
Nolan Lawson e4572a8066 increase timeout 2018-03-15 21:01:37 -07:00
Nolan Lawson a25dd048b6 make statuses robust against duplicates, remove duplicate from test 2018-03-15 20:04:24 -07:00
Nolan Lawson a5ca99c2f0 fix some tests 2018-03-15 17:33:52 -07:00
Nolan Lawson 9c6b8a7a8e Revert "use rIC to keep scrolling smooth"
This reverts commit fc8554bed3.
2018-03-15 10:25:02 -07:00
Nolan Lawson 8c8c6bab25 improve perf of hydrateContent slightly 2018-03-15 10:05:49 -07:00
Nolan Lawson fc8554bed3 use rIC to keep scrolling smooth 2018-03-15 10:00:51 -07:00
Nolan Lawson f137f0c56c simplify and expand click delegates 2018-03-15 08:59:30 -07:00
Nolan Lawson f81bb51936 change toast message 2018-03-14 23:17:47 -07:00
Nolan Lawson 622b162924 uniqBy doesnt have shorthands in production 2018-03-14 23:13:27 -07:00
Nolan Lawson 8bd3cf24e3 reduce viewport render factor for better scrolling perf 2018-03-14 23:03:37 -07:00
Nolan Lawson 56f7efb78f implement requesting to follow someone 2018-03-14 22:32:58 -07:00
Nolan Lawson c11f2454ad break up status rendering with rAF a bit 2018-03-14 19:04:48 -07:00
Nolan Lawson 1477fbfbda faster classname function 2018-03-14 18:52:33 -07:00
Nolan Lawson 2db30856f9 fix bug where large items might not be rendered when scrolling up 2018-03-14 18:38:26 -07:00
Nolan Lawson a2744cddb0 attempt to fix dupliates in itemIdsToAdd 2018-03-14 09:46:08 -07:00
Nolan Lawson b8d1ccb339 add ability to delete a status 2018-03-14 08:36:12 -07:00
Nolan Lawson ffa672382d fix underline on link hover 2018-03-14 07:24:24 -07:00
Nolan Lawson c97937eced remove unnecessary rAF 2018-03-14 07:24:16 -07:00
Nolan Lawson 436c8c05aa implement lazy images 2018-03-13 23:07:30 -07:00
Nolan Lawson dd67b4f856 fix "loading more" spinner 2018-03-13 21:27:34 -07:00
Nolan Lawson 5908ac6614 Implement LazyPage and refactor to support it 2018-03-13 20:02:50 -07:00
Nolan Lawson b0896a4e10 move informational footer to own component 2018-03-12 22:16:52 -07:00
Nolan Lawson a05c691667 Revert "improve column switching performance"
This reverts commit 8813694039.
2018-03-12 22:13:51 -07:00
Nolan Lawson 8813694039 improve column switching performance 2018-03-12 20:58:45 -07:00
Nolan Lawson 624020dd01 improve keyboard latency in compose box 2018-03-12 20:18:34 -07:00
Nolan Lawson 136ec67d61 fix length gauge 2018-03-12 10:06:41 -07:00
Nolan Lawson c13771c3a0 more options button to follow/unfollow 2018-03-11 19:40:32 -07:00
Nolan Lawson 92176df3ab add ability to follow/unfollow an account 2018-03-11 15:22:31 -07:00
Nolan Lawson 9c0fbdabd2 better offline support 2018-03-11 12:11:06 -07:00
Nolan Lawson e397bf3b3b lint fix 2018-03-11 10:49:18 -07:00
Nolan Lawson 217aca3d31 only show one status if the thread is not cached 2018-03-11 10:48:16 -07:00
Nolan Lawson 06575a0b81 delete statuses should delete notifications 2018-03-10 21:05:00 -08: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 d4e48ac6fa better indication of non-autoplay gifs 2018-03-10 11:28:30 -08:00
Nolan Lawson b3263e528f fix incoming statuses, add tests 2018-03-10 10:54:16 -08:00
Nolan Lawson 8b21505089 fix offline display of images in timeline 2018-03-09 23:30:17 -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 6f1903fec5 fix handles appearing in replies 2018-03-09 08:45:12 -08:00
Nolan Lawson 346cfa0e2c remove URLSearchParams 2018-03-09 00:08:23 -08:00
Nolan Lawson f42a07162b simplify idb schema 2018-03-08 23:18:18 -08:00
Nolan Lawson e3b6a9b758 fix offline threads 2018-03-08 18:31:59 -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 e3850beddf add ability to post a reply 2018-03-07 18:04:20 -08:00
Nolan Lawson d5aa18ddb6 add footer and license 2018-03-07 09:25:07 -08:00
Nolan Lawson 9c14a0abd5 simplify landing page 2018-03-06 23:27:36 -08:00
Nolan Lawson 36fdd79032 add custom emoji 2018-03-06 09:03:59 -08:00
Nolan Lawson 4a49e9118e lint fix 2018-03-05 23:56:48 -08:00
Nolan Lawson 8eeb7da186 getting closer 2018-03-05 22:36:54 -08:00
Nolan Lawson 9872f6073e continue on test data instance restoration 2018-03-05 20:29:49 -08:00
Nolan Lawson c949c3c3fc Clean up usage of delegate keys 2018-03-04 17:22:34 -08:00
Nolan Lawson 4220e61042 add ability to post statuses 2018-03-04 16:27:15 -08:00
Nolan Lawson 525066e6ea add titles to external links, plus tests 2018-03-04 15:31:31 -08:00
Nolan Lawson 2113a22511 remove unnecessary lodash/identity filters 2018-03-04 13:52:35 -08:00
Nolan Lawson 73861c4749 make virtual list more effecient using "reselect" 2018-03-04 13:37:55 -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 9a610273b6 remove title for user account pages 2018-03-03 16:31:42 -08:00
Nolan Lawson 2f8bd171d4 add an animation for modals 2018-03-03 16:31:00 -08:00
Nolan Lawson 73b3895b23 add an animation for content warnings 2018-03-03 16:25:22 -08:00
Nolan Lawson 9149887fec add tests for content warnings 2018-03-03 16:12:48 -08:00
Nolan Lawson 2f5e19bd44 start on content warnings 2018-03-03 15:44:43 -08:00
Nolan Lawson 1de9e49f78 tweak style 2018-03-03 15:03:02 -08:00
Nolan Lawson 695ac7eae3 add mark/measure 2018-03-03 14:58:45 -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 5b94dd7829 add ability to remove media 2018-03-02 21:55:04 -08:00
Nolan Lawson 9f8b4fa9d8 start adding media upload test 2018-03-02 17:54:38 -08:00
Nolan Lawson 2cb0dc81f5 fix logging out should clear input text 2018-03-02 09:10:52 -08:00
Nolan Lawson cd376c5a18 start adding media uploads 2018-03-01 21:21:49 -08:00
Nolan Lawson 66a803b170 more work on media upload 2018-03-01 09:29:11 -08:00
Nolan Lawson 71d0e4ddd1 fix items rendered on top of other items 2018-03-01 09:19:45 -08:00
Nolan Lawson 840f391661 start on media upload 2018-03-01 09:02:42 -08:00
Nolan Lawson 5424242b0f fix emoji insertion 2018-02-28 21:03:21 -08:00
Nolan Lawson cd9365cddb code cleanup 2018-02-28 19:16:11 -08:00
Nolan Lawson 2614e451b2 add test for compose, and emoji 2018-02-28 18:45:29 -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 c1e64711c0 refactor ComposeBox more 2018-02-26 21:54:21 -08:00
Nolan Lawson 7eedeaac76 modularize Composebox 2018-02-26 21:50:03 -08:00
Nolan Lawson 3c62411819 start adding compose icons, update seafoam style 2018-02-26 20:55:49 -08:00
Nolan Lawson a6b2f270c8 tweak style 2018-02-26 00:24:28 -08:00
Nolan Lawson 3d921f3bfe add animations for gauge 2018-02-25 23:16:55 -08:00
Nolan Lawson cef354d412 fix box sizing calculations 2018-02-25 23:01:15 -08:00
Nolan Lawson e65087e8d1 more perf improvements 2018-02-25 22:50:50 -08:00
Nolan Lawson 96303583ad improve perf of autosize.js 2018-02-25 22:29:12 -08:00
Nolan Lawson aed194fced fix safari issue on ios 2018-02-25 21:12:22 -08:00
Nolan Lawson 2ffd38383d improve perf of compose box 2018-02-25 20:45:11 -08:00
Nolan Lawson 6c71910660 remove unnecessary grid-template-rows 2018-02-25 19:02:41 -08:00
Nolan Lawson 1a9bca6c2b add a length indicator 2018-02-25 17:21:17 -08:00
Nolan Lawson da1f20595c improve perf of autosize 2018-02-25 16:47:45 -08:00
Nolan Lawson 33b999b37a start work on compose box 2018-02-25 16:26:43 -08:00
Nolan Lawson 454fcda954 fix display name on instance page 2018-02-25 14:06:36 -08:00
Nolan Lawson 94305045eb tweak CSS 2018-02-25 11:29:19 -08:00
Nolan Lawson 62d7166b39 code cleanup 2018-02-25 11:20:40 -08:00
Nolan Lawson 3f5f016c32 clean up observers 2018-02-25 10:50:04 -08:00
Nolan Lawson 81174e636b add test for notifications 2018-02-24 21:27:32 -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 ae04fddd68 add NPE check for makeProps 2018-02-23 17:54:16 -08:00
Nolan Lawson 2fd1f872c5 add aria label to loading spinner 2018-02-22 22:10:05 -08:00
Nolan Lawson 23e3de6e26 tweak modal design 2018-02-22 20:55:00 -08:00
Nolan Lawson f325bdfe9e fix modal height in mobile browsers 2018-02-22 20:04:19 -08:00
Nolan Lawson a73555dc46 tweak margin sizes 2018-02-22 09:30:37 -08:00
Nolan Lawson f318b8405f add noscript warning 2018-02-22 09:20:56 -08:00
Nolan Lawson ab366d6c2c add favorites/boost test 2018-02-21 18:39:53 -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 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 689c00bd4f add test for account profiles 2018-02-19 10:59:03 -08:00
Nolan Lawson dc1a42ed29 add tabindex tests 2018-02-19 10:46:30 -08:00
Nolan Lawson 47453d284b add test for status types 2018-02-19 10:34:36 -08:00
Nolan Lawson 9dfe76692f add test for pinned statuses 2018-02-19 09:17:22 -08:00
Nolan Lawson a8ebbc517f use instance URL basename more consistently 2018-02-18 19:41:10 -08:00
Nolan Lawson 014f23887f fix notifications test 2018-02-18 17:28:08 -08:00
Nolan Lawson f4eeacdc1c basic timeline test 2018-02-18 15:28:42 -08:00
Nolan Lawson 8e633e3870 test basic login/logout behavior 2018-02-18 14:31:28 -08:00
Nolan Lawson 5a1016d1c9 handle streamed deletions 2018-02-16 19:38:21 -08:00
Nolan Lawson 6dfed9d12a fix NavItem svg layout issue 2018-02-16 09:04:04 -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 f45d1d53fb fix aria-label of notification count 2018-02-15 22:58:18 -08:00
Nolan Lawson 2d640945a3 lint fixup 2018-02-15 22:21:42 -08:00
Nolan Lawson 29761d8e45 add notification badge 2018-02-15 22:21:23 -08:00
Nolan Lawson 3f264e476c add home/notification streaming 2018-02-15 09:02:46 -08:00
Nolan Lawson 0465d2d5c6 fix lint 2018-02-14 22:06:45 -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 9ffd2a1d2d fix process.browser usage 2018-02-14 19:00:25 -08:00
Nolan Lawson a56591fb8e fix display of loading mask 2018-02-14 18:37:19 -08:00
Nolan Lawson 6ebb0ef394 simplify loading mask impl 2018-02-14 18:23:11 -08:00
Nolan Lawson 58cfd9db38 fixup 2018-02-14 18:17:17 -08:00
Nolan Lawson 9fc39c5322 fixup 2018-02-14 18:15:14 -08:00
Nolan Lawson d45e8da5c4 reduce viewport render factor in virtual list 2018-02-13 19:43:06 -08:00
Nolan Lawson 144468ade2 lint fixup 2018-02-13 19:35:46 -08:00
Nolan Lawson 92f6dd96c0 implement periodic db cleanup 2018-02-13 19:34:37 -08:00
Nolan Lawson 9758039f5f reduce bundle size with timeago.js 2018-02-13 10:12:52 -08:00
Nolan Lawson 93635fee6a refactor virtual list 2018-02-13 09:15:10 -08:00
Nolan Lawson c7e4c5cc80 fixup 2018-02-13 09:05:39 -08:00
Nolan Lawson faff6c4427 add todos 2018-02-12 22:49:02 -08:00
Nolan Lawson 9a042c5981 fix virtual list realm 2018-02-12 22:47:25 -08:00
Nolan Lawson 2db4236761 more refactoring 2018-02-12 22:35:02 -08:00
Nolan Lawson acc1ce396d refactor VirtualList to be more self-contained 2018-02-12 22:35:01 -08:00
Nolan Lawson 24e8bdbd86 fixup StatusHeader for notifications 2018-02-12 22:34:03 -08:00
Nolan Lawson c8cef10031 fix aria role 2018-02-11 23:17:24 -08:00
Nolan Lawson 8a424ca71a remove unused component 2018-02-11 23:10:07 -08:00
Nolan Lawson 013bc02d23 fix GNU Social / Pleroma compat 2018-02-11 23:07:48 -08:00
Nolan Lawson d12b39963b fix layout issue with blocked media 2018-02-11 22:59:33 -08:00
Nolan Lawson be16ebfa78 add animation for virtual list header 2018-02-11 22:50:20 -08:00
Nolan Lawson 0c9757a941 add markers, tweak how streaming is processed 2018-02-11 22:40:56 -08:00
Nolan Lawson c8c7c03864 temporary hack to avoid excessive observers 2018-02-11 20:12:15 -08:00
Nolan Lawson 2a86425c90 streaming is kinda working 2018-02-11 19:15:21 -08:00
Nolan Lawson 075066ba9a add animation for virtual list items 2018-02-11 16:24:14 -08:00
Nolan Lawson 6a3345fe67 fix error in updates 2018-02-11 16:18:53 -08:00
Nolan Lawson 650071568d fix show/hide of timelines 2018-02-11 16:10:39 -08:00
Nolan Lawson c3a82a15bf Revert "add observeSafely()"
it doesn't actually work

This reverts commit 321a90251a.
2018-02-11 14:17:17 -08:00
Nolan Lawson 8dcf72d144 lint fixes 2018-02-11 14:11:03 -08:00