Commit graph

163 commits

Author SHA1 Message Date
Nolan Lawson 707e89e899
faster hydrateContent() algorithm, add test (#109) 2018-04-14 10:08:43 -07:00
Nolan Lawson a82c44c21f
Replying returns focus to reply button (#98)
Fixes #42
2018-04-12 21:18:14 -07:00
Nolan Lawson a875386539
fix image hover description on Firefox (#97)
Fixes #57
2018-04-12 21:18:06 -07:00
Nolan Lawson 9bfa2cf013 add perf mark for clicking spoiler button
[skip ci]
2018-04-10 22:30:22 -07:00
Nolan Lawson 9d706a3748
Add img title as well as alt (#66)
Fixes #57
2018-04-10 20:02:42 -07:00
Nolan Lawson bcc7fb47ef start using an event bus 2018-04-08 15:08:32 -07:00
Nolan Lawson b4fc6cf99e fix media in notifications not clickable 2018-04-05 18:18:23 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson 8197c9e773 fix DM background color for replies 2018-04-04 23:03:26 -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 cbe7192928 use regular for loop for html dom element collection 2018-04-04 18:34:43 -07:00
Nolan Lawson 79e33d7938 automatically insert CWs for replies to CWs 2018-04-03 09:45:17 -07:00
Nolan Lawson 64fccee69b tweak styles 2018-04-01 02:54:40 -07:00
Nolan Lawson 7342ff1bf2 unify usage of autoplaying video 2018-03-31 10:45:11 -07:00
Nolan Lawson 2848d5a417 hide avatar for pinned toots 2018-03-30 17:30:30 -07:00
Nolan Lawson f9993cac35 fix post privacy for replies 2018-03-30 10:04:35 -07:00
Nolan Lawson 91402d06fc tweak debounce/throttle 2018-03-30 08:43:36 -07:00
Nolan Lawson 5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson d4c63f04db fix grid layout in Edge 2018-03-27 17:21:40 -07:00
Nolan Lawson c67ba5c0a9 spoiler button is faster now 2018-03-23 08:29:54 -07:00
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 ec73ce8149 avatar should be aria-hidden 2018-03-22 00:22:18 -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 0c9992c0e1 change scheduling to focus on requestIdleCallback 2018-03-20 20:28:53 -07:00
Nolan Lawson f6d1e5079a add titles for mention links 2018-03-19 18:05:51 -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 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 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 8c8c6bab25 improve perf of hydrateContent slightly 2018-03-15 10:05:49 -07:00
Nolan Lawson f137f0c56c simplify and expand click delegates 2018-03-15 08:59:30 -07:00
Nolan Lawson 1477fbfbda faster classname function 2018-03-14 18:52:33 -07:00
Nolan Lawson 436c8c05aa implement lazy images 2018-03-13 23:07:30 -07:00
Nolan Lawson 5908ac6614 Implement LazyPage and refactor to support it 2018-03-13 20:02:50 -07:00
Nolan Lawson c13771c3a0 more options button to follow/unfollow 2018-03-11 19:40:32 -07:00
Nolan Lawson d4e48ac6fa better indication of non-autoplay gifs 2018-03-10 11:28:30 -08:00
Nolan Lawson 8b21505089 fix offline display of images in timeline 2018-03-09 23:30:17 -08:00
Nolan Lawson e3850beddf add ability to post a reply 2018-03-07 18:04:20 -08:00
Nolan Lawson c949c3c3fc Clean up usage of delegate keys 2018-03-04 17:22:34 -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 94305045eb tweak CSS 2018-02-25 11:29:19 -08:00
Nolan Lawson 00ccf35777 add reblogging/unreblogging 2018-02-24 20:35:22 -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 a73555dc46 tweak margin sizes 2018-02-22 09:30:37 -08:00
Nolan Lawson ab366d6c2c add favorites/boost test 2018-02-21 18:39:53 -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 4d58c8cc2d async load dialogs 2018-02-14 22:06:23 -08:00
Nolan Lawson 9758039f5f reduce bundle size with timeago.js 2018-02-13 10:12:52 -08:00
Nolan Lawson 24e8bdbd86 fixup StatusHeader for notifications 2018-02-12 22:34:03 -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 3213714f4b implement pinned statuses 2018-02-11 10:35:25 -08:00
Nolan Lawson de34efc554 show number of favs/boosts and favs/boosts page 2018-02-10 15:31:26 -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 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 476a9644f1 start work on status-in-own-thread 2018-02-08 19:09:22 -08:00
Nolan Lawson d0270991d7 fix Avatar on instanceName page 2018-02-08 17:56:20 -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 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 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 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