Commit graph

490 commits

Author SHA1 Message Date
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
Nolan Lawson 64350ad912 v1 of streaming 2018-02-11 13:46:57 -08:00
Nolan Lawson 321a90251a add observeSafely() 2018-02-11 11:57:18 -08:00
Nolan Lawson 82e003f7f5 add timeout of 15 secs to all fetch requests 2018-02-11 10:49:32 -08:00
Nolan Lawson bea1436711 fix search results race conditions 2018-02-11 10:41:01 -08:00
Nolan Lawson 3213714f4b implement pinned statuses 2018-02-11 10:35:25 -08:00
Nolan Lawson 5adc975bef lint fixes 2018-02-11 09:37:13 -08:00
Nolan Lawson 9411490780 fix offline order of status threads 2018-02-11 09:36:01 -08:00
Nolan Lawson cc2474e12b fixup 2018-02-10 16:08:40 -08:00
Nolan Lawson 02afea70ed add blocked accounts, muted accounts, pinned toots 2018-02-10 16:03:28 -08:00
Nolan Lawson de34efc554 show number of favs/boosts and favs/boosts page 2018-02-10 15:31:26 -08:00
Nolan Lawson e7fc226935 show external link icon in profile 2018-02-10 14:35:21 -08:00
Nolan Lawson ed068f185b fix long link URLs 2018-02-10 14:30:09 -08:00
Nolan Lawson 1ccb1d5eb7 tweak absolute date style 2018-02-10 14:27:05 -08:00
Nolan Lawson 0a165cb2ad dont scroll to first item, it obscures back button 2018-02-10 14:19:10 -08:00
Nolan Lawson db3291c542 no article link for "article in own thread" 2018-02-10 14:18:59 -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 08c19691a9 click to show toot thread 2018-02-10 11:00:56 -08:00
Nolan Lawson 473ddfaa85 add separate style for status-in-own-context 2018-02-09 22:55:11 -08:00
Nolan Lawson 4a653df3b6 flatten grid structure of Status.html 2018-02-09 22:01:44 -08:00
Nolan Lawson 8db7d376d4 simplify grid-template-areas 2018-02-09 20:07:48 -08:00
Nolan Lawson 4f157596eb optimize indexedDB storage 2018-02-09 19:48:52 -08:00
Nolan Lawson 85ef4f7fd5 remove semi 2018-02-08 22:44:05 -08:00
Nolan Lawson 39ffabb785 fix page titles 2018-02-08 22:38:33 -08:00
Nolan Lawson 2e83bc0ff9 use standard 2018-02-08 22:29:29 -08:00
Nolan Lawson 537a112adb refactor database some more 2018-02-08 22:04:10 -08:00
Nolan Lawson 08b3754746 refactor database 2018-02-08 21:49:52 -08:00
Nolan Lawson 476a9644f1 start work on status-in-own-thread 2018-02-08 19:09:22 -08:00
Nolan Lawson 8af2e2061f fix empty timelines 2018-02-08 18:54:48 -08:00
Nolan Lawson 27858e32f8 change media breakpoint for Nav.html 2018-02-08 18:01:00 -08:00
Nolan Lawson d0270991d7 fix Avatar on instanceName page 2018-02-08 17:56:20 -08:00
Nolan Lawson fee954bf27 clean up actions, implement cache-first sync strategy 2018-02-08 17:51:48 -08:00
Nolan Lawson 1d25fa641e add lists support 2018-02-08 09:15:25 -08:00
Nolan Lawson 39439f5f9d move search to last 2018-02-08 08:22:54 -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 fa401d727f style tweaks 2018-02-06 21:20:33 -08:00
Nolan Lawson 8761a46767 implement search 2018-02-06 20:54:49 -08:00
Nolan Lawson eb5b6999ce "add" input should be type=url 2018-02-06 09:22:40 -08:00
Nolan Lawson 503fb6e4e0 change style of modal 2018-02-06 09:09:47 -08:00
Nolan Lawson 8711bfb831 implement confirmation dialog 2018-02-05 09:43:45 -08:00
Nolan Lawson 95e5bdb106 add setting to always mark as sensitive 2018-02-05 08:50:08 -08:00
Nolan Lawson 2fdd10c1fe fixup 2018-02-05 08:44:46 -08:00
Nolan Lawson 3db6579300 big refactor of media attachments 2018-02-04 19:56:06 -08:00
Nolan Lawson 074ef0a760 use a11y-dialog instead of dialog polyfill 2018-02-04 19:15:35 -08:00
Nolan Lawson b10ecff3c0 fix Firefox autoplay gifv 2018-02-04 16:34:54 -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 1152d96289 close dialog on click outside 2018-02-04 15:04:20 -08:00
Nolan Lawson 2e2c278dee better a11y for modal: retain focus when closed 2018-02-04 13:49:43 -08:00
Nolan Lawson 27f15d4030 tweak styles for notifications 2018-02-04 12:49:42 -08:00
Nolan Lawson f7b933815e fix contextual toggling of spoilers/sensitives 2018-02-04 12:27:28 -08:00
Nolan Lawson 542368fd3d refactor 2018-02-04 12:18:22 -08:00
Nolan Lawson faae26863f refactor 2018-02-04 12:10:02 -08:00
Nolan Lawson 82635d8291 fixup 2018-02-04 12:08:05 -08:00
Nolan Lawson 4f89f6f7f1 refactor isStatusInOwnThread 2018-02-04 12:07:22 -08:00
Nolan Lawson 835a9a5b28 refactor status some more 2018-02-04 10:55:10 -08:00
Nolan Lawson 76e78e70e5 refactor status some more 2018-02-04 10:50:39 -08:00
Nolan Lawson f9720dccba refactor out StatusSpoiler.html 2018-02-04 10:44:04 -08:00
Nolan Lawson 1fae77b38f refactor out StatusContent.html 2018-02-04 10:35:24 -08:00
Nolan Lawson 3157054994 refactor out StatusAuthor.html 2018-02-04 10:23:21 -08:00
Nolan Lawson 60cef45be4 refactor out status media attachments 2018-02-04 10:16:27 -08:00
Nolan Lawson 2da9cc8d8f refactor 2018-02-04 10:05:26 -08:00
Nolan Lawson 73ba72d58a mvp for notifications 2018-02-04 10:05:01 -08:00