Commit graph

374 commits

Author SHA1 Message Date
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 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 85ef4f7fd5 remove semi 2018-02-08 22:44:05 -08:00
Nolan Lawson 2e83bc0ff9 use standard 2018-02-08 22:29:29 -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 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
Nolan Lawson c8cb4354e3 add ability to fetch and store notifications 2018-02-03 18:06:02 -08:00
Nolan Lawson 940954f8fe get rid of dynamic nav title 2018-02-03 10:57:45 -08:00
Nolan Lawson f543024ca6 implement autoplay gifv 2018-02-01 18:48:59 -08:00
Nolan Lawson 0b6bb6354b tweak and simplify media appearance 2018-02-01 18:29:29 -08:00
Nolan Lawson 48df08bd31 implement autoplay gifs for custom emoji 2018-01-31 18:22:47 -08:00
Nolan Lawson f1eaee4674 implement autoplay gif feature for avatars 2018-01-31 18:20:30 -08:00
Nolan Lawson 2c2f84b870 itemHeights should be divided by realm 2018-01-31 08:37:59 -08:00
Nolan Lawson 0d4ee2bba3 tweak loading spinner 2018-01-30 22:46:35 -08:00
Nolan Lawson 3562437713 tweak design for mobile 2018-01-30 22:40:40 -08:00
Nolan Lawson cb91271e23 fix loading spinner 2018-01-30 22:21:31 -08:00
Nolan Lawson b33d4bd955 fix loading spinner 2018-01-30 21:57:41 -08:00
Nolan Lawson 8afe67c471 implement RealmStore 2018-01-30 21:55:23 -08:00
Nolan Lawson b8a7c34228 refactor 2018-01-30 21:34:35 -08:00
Nolan Lawson d1620c3bca use rIC in pseudo virtual list 2018-01-30 21:17:01 -08:00
Nolan Lawson 03b055ab20 tweak pseudo virtual list 2018-01-30 21:02:07 -08:00
Nolan Lawson d2fe8b29f4 more work on pseudo-virtual list 2018-01-30 18:26:13 -08:00
Nolan Lawson 98b22e0243 implement intersection observer-based pseudo virtual list 2018-01-30 09:38:14 -08:00
Nolan Lawson 6f69bf89c5 implement PseudoVirtualList for thread timelines 2018-01-29 19:22:28 -08:00
Nolan Lawson c73223c968 simplify ExternalLink 2018-01-28 21:07:31 -08:00
Nolan Lawson 689cd97071 refactor external links 2018-01-28 19:01:51 -08:00
Nolan Lawson cda9566eb0 fix links in statuses 2018-01-28 17:10:03 -08:00
Nolan Lawson 9d42970493 tweak design 2018-01-28 16:44:13 -08:00
Nolan Lawson 93b4e98e08 tweak design again 2018-01-28 16:35:35 -08:00
Nolan Lawson d542c27dd0 tweak design 2018-01-28 16:34:18 -08:00
Nolan Lawson 58008c3ca1 fix nav display on small screens 2018-01-28 15:53:49 -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 3896717c8c fix z-index on profile 2018-01-28 14:17:37 -08:00
Nolan Lawson 8d5eadf734 tweak frosted glass effect 2018-01-28 14:05:48 -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 5e7438cb52 tweak style of profile page 2018-01-28 00:49:51 -08:00
Nolan Lawson 4620a79b17 first stab at a profile page 2018-01-28 00:29:45 -08:00
Nolan Lawson ad1c9cea66 tweak style, refactor 2018-01-27 18:41:41 -08:00
Nolan Lawson b569d63412 different style for direct/private statuses 2018-01-27 18:25:49 -08:00
Nolan Lawson 01ea4cbc87 mark sensitive/spoiler scoped to instance 2018-01-27 18:06:44 -08:00
Nolan Lawson 5a55506204 fixup 2018-01-27 17:34:42 -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 7f19a9068f fix title and gear icon 2018-01-27 12:55:09 -08:00
Nolan Lawson 5f627bf9f1 move all timeline data to centralized store 2018-01-27 10:46:52 -08:00
Nolan Lawson 9782cb400f update comment 2018-01-27 09:53:33 -08:00
Nolan Lawson b98a0c6b85 fix bug in layout calculations 2018-01-27 09:53:14 -08:00
Nolan Lawson 7a510101d0 automatically remove console logs 2018-01-27 08:22:23 -08:00
Nolan Lawson 687cc5c961 refactor virtual store to use realms 2018-01-27 08:13:28 -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 a8d70174ad fix sensitivity on reblogs 2018-01-24 23:46:01 -08:00
Nolan Lawson b83d1bac8e hydrate status mentions 2018-01-24 19:48:25 -08:00
Nolan Lawson 98c0defacc tweak animation for revealing the timeline 2018-01-24 19:26:08 -08:00
Nolan Lawson d0391a6c0f fix observer bug in svelte store 2018-01-24 18:58:10 -08:00
Nolan Lawson 747a842304 fix logic error 2018-01-24 18:44:24 -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 208316b914 remove unnecessary resize event listener 2018-01-23 21:08:56 -08:00
Nolan Lawson 2a215480e2 store sensitive/spoiler on/off choices 2018-01-23 20:56:07 -08:00
Nolan Lawson 9453b327b7 fix CW for boosted statuses 2018-01-23 18:25:05 -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 48d47160d7 use database for account caching 2018-01-23 09:21:21 -08:00
Nolan Lawson fcfe409633 add loading indicator for images 2018-01-22 21:47:29 -08:00
Nolan Lawson 7adefeada8 refactor 2018-01-22 21:30:14 -08:00
Nolan Lawson ab291a2c7e first stab at account pages 2018-01-22 21:16:27 -08:00
Nolan Lawson 9bba0d80d8 fix fill color on boosted status 2018-01-21 23:06:41 -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 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 6183a9787a tweak timeline fade effect 2018-01-21 14:39:11 -08:00
Nolan Lawson 75d78d44a2 add a nice fade effect 2018-01-21 14:31:59 -08:00
Nolan Lawson ff6c370ef1 tweak layout 2018-01-21 14:20:28 -08:00
Nolan Lawson 72d5ccdc6e fix button style 2018-01-21 13:43:50 -08:00
Nolan Lawson eb724e3045 fix clickability of sensitive media 2018-01-21 13:38:56 -08:00
Nolan Lawson 174e9fc900 tweak design, fix a11y of sensitive media, remove will-change:transform 2018-01-21 13:35:03 -08:00
Nolan Lawson c08e8f2d4d add sensitive media toggle 2018-01-21 12:34:35 -08:00
Nolan Lawson 17312eedbf add custom focus outline, improve a11y 2018-01-21 10:53:15 -08:00
Nolan Lawson 6790cfd187 add spoiler text support 2018-01-21 10:32:18 -08:00
Nolan Lawson 18ad6ab1ab improve a11y 2018-01-21 01:19:28 -08:00
Nolan Lawson 0f29316ada refactor toolbar, tweak colors, add pressed states for toolbar 2018-01-20 21:42:46 -08:00
Nolan Lawson f48aa23fcd improve perf of loading avatars 2018-01-20 21:06:30 -08:00
Nolan Lawson c8da39d457 fix a11y 2018-01-20 20:47:18 -08:00
Nolan Lawson 73fbbad0cc improve SSR hiding 2018-01-20 20:30:49 -08:00
Nolan Lawson aa888500ec improve a11y of video dialog 2018-01-20 20:20:33 -08:00
Nolan Lawson 5a11eeea31 add workaround for Edge dialog bug 2018-01-20 19:30:08 -08:00
Nolan Lawson adfa5d5fb5 add modal dialog to fix fullscreen video 2018-01-20 19:19:24 -08:00
Nolan Lawson 8951b1ba48 fix gifv video 2018-01-20 16:18:28 -08:00
Nolan Lawson 9264f85505 tweak media images and video 2018-01-20 15:37:47 -08:00
Nolan Lawson e0cc3ff6dd simplify offline mode 2018-01-20 13:01:33 -08:00
Nolan Lawson 692bfa8660 more semantic class names, option to globalize CSS 2018-01-20 12:35:38 -08:00
Nolan Lawson 0dbfbcf0f2 refine offline mode 2018-01-19 18:04:31 -08:00
Nolan Lawson 6564880aa8 fix a11y warning 2018-01-19 17:47:00 -08:00
Nolan Lawson 0972d5eb88 remove unused css 2018-01-19 17:29:27 -08:00
Nolan Lawson a05400b06f refactor db usage 2018-01-19 09:18:14 -08:00
Nolan Lawson 9c4187093f fix aria 2018-01-19 01:36:22 -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 e7f94de70c refactor 2018-01-19 00:32:16 -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 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 bfe310fcca first stab at rendering media 2018-01-17 17:02:43 -08:00
Nolan Lawson 697170b04a refactor 2018-01-17 08:20:41 -08:00
Nolan Lawson 95290afca7 add perf marks 2018-01-17 00:59:15 -08:00
Nolan Lawson 5114f1da1c add todo 2018-01-17 00:13:36 -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 94cab7aaf7 improve virtual list update perf 2018-01-16 18:08:37 -08:00
Nolan Lawson 8d91c3a08d remove console.logs 2018-01-16 17:47:25 -08:00
Nolan Lawson 725a47a799 use throttle instead of debounce 2018-01-16 17:33:47 -08:00
Nolan Lawson 163f55875d improve toolbar button touch target size 2018-01-16 09:04:36 -08:00
Nolan Lawson 4e48146fb5 improve scrolling perf 2018-01-16 08:59:44 -08:00
Nolan Lawson 46209d7a2e better class names 2018-01-16 08:51:05 -08:00
Nolan Lawson 77016ae1ca fix design of statuses 2018-01-16 08:44:35 -08:00
Nolan Lawson ef786bd204 reduce dom nodes in each status 2018-01-16 08:38:23 -08:00
Nolan Lawson 27e40da453 simplify image loader 2018-01-16 07:20:54 -08:00
Nolan Lawson f915bc106e remove console.log 2018-01-16 07:09:16 -08:00
Nolan Lawson 91390bcba0 tweak design a heck of a lot 2018-01-15 21:58:31 -08:00
Nolan Lawson cd2be627e2 fix status layout issues 2018-01-15 20:51:51 -08:00
Nolan Lawson 5d69521db3 fix weird-looking placeholder avatar image 2018-01-15 19:26:59 -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 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 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 edbe0547fd tweak text 2018-01-14 19:30:04 -08:00
Nolan Lawson 0340a0d16f flesh out status component 2018-01-14 19:28:50 -08:00
Nolan Lawson 4cb7ee6153 remove console.log 2018-01-14 13:50:47 -08:00
Nolan Lawson 6affa13b35 tweak style on toast 2018-01-14 12:14:47 -08:00
Nolan Lawson b2f08f67ad fix a11y for img alts 2018-01-14 11:36:31 -08:00
Nolan Lawson ee1251467a add error handling, toasts, and loading spinner 2018-01-14 11:22:57 -08:00
Nolan Lawson c49c80305c fix flash of unstyled content 2018-01-13 20:33:14 -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