Commit graph

743 commits

Author SHA1 Message Date
Maxime Le Conte des Floris 660362ed46 feat: click on curent column nav button to go to the top of the timeline 2018-04-10 23:15:22 -07:00
Nolan Lawson 9bfa2cf013 add perf mark for clicking spoiler button
[skip ci]
2018-04-10 22:30:22 -07:00
Nolan Lawson d95de24df5 add note about ad blockers / tracker blockers
[skip ci]
2018-04-10 22:14:10 -07:00
Nolan Lawson 7aceaa4d8c
remove role=alert from "show more" button (#68)
Possible solution for issue #59
2018-04-10 22:09:07 -07:00
Nolan Lawson 70b03eb56e
fix headings for timelines (#67)
Adds an sr-only class to make this easier in the future. Also fixes a missing aria-label.

Fixes #44
2018-04-10 22:08:14 -07:00
Nolan Lawson 9d706a3748
Add img title as well as alt (#66)
Fixes #57
2018-04-10 20:02:42 -07:00
Spanky 3a7d887531 Added 'Ozark' dark blue color theme (#62)
* added Ozark theme, based off of a personal color scheme I use elsewhere.

* fixed incorrect main color value
2018-04-10 20:02:28 -07:00
Nolan Lawson 494f906701
increase fetch timeout to 60 seconds for now (#55)
Fixes #29
2018-04-09 18:33:23 -07:00
Nolan Lawson 7ae3212c55
Fix alts for image uploads (#54)
* Fix alts for image uploads

Fixes #41

* fix alts mixed with no-alts
2018-04-09 18:30:15 -07:00
Maxime Le Conte des Floris 2b143ebeeb fix: allow trailing slash in instance name (#52)
Fix #31: allow trailing slash in instance name
2018-04-09 15:09:58 -07:00
Nolan Lawson 1f5a0c3694 add note about intro blog post 2018-04-09 09:35:58 -07:00
Nolan Lawson b2097d33d3 Fix typo that broke Pleroma
Fixes #26
2018-04-09 09:29:15 -07:00
Nolan Lawson ea717b74e3 loading bg for avatars 2018-04-08 17:36:05 -07:00
Nolan Lawson eb8cd5f83d simplify and refactor dialogs using event bus 2018-04-08 16:56:20 -07:00
Nolan Lawson bcc7fb47ef start using an event bus 2018-04-08 15:08:32 -07:00
Nolan Lawson ee8cda5d66 fix modifying replies to statuses 2018-04-08 13:42:31 -07:00
Nolan Lawson e7b1b2ba31 mentions open modal compose box 2018-04-07 00:21:00 -07:00
Nolan Lawson b8d93a5d96 add try catch for closing compose dialog 2018-04-06 08:49:15 -07:00
Nolan Lawson fe8ad175f2 more elegant fix for autosuggestion covering toolbar 2018-04-05 21:35:22 -07:00
Nolan Lawson f5943c3c24 Revert "fix issue with not being able to click toolbar"
This reverts commit 001f85eecc.
2018-04-05 21:00:30 -07:00
Nolan Lawson 001f85eecc fix issue with not being able to click toolbar 2018-04-05 20:30:52 -07:00
Nolan Lawson c54bde0a19 use scrollIntoView which is more consistent than previous strategy 2018-03-29 23:01:36 -07:00
Nolan Lawson b4fc6cf99e fix media in notifications not clickable 2018-04-05 18:18:23 -07:00
Nolan Lawson 57a40a4c41 simplify backdrop filter 2018-04-05 18:13:31 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson a6d2382f97 tweak status options 2018-04-05 07:44:10 -07:00
Nolan Lawson 8197c9e773 fix DM background color for replies 2018-04-04 23:03:26 -07:00
Nolan Lawson 8f24531d94 tweak dialog 2018-04-04 22:28:22 -07:00
Nolan Lawson 0ce79fed44 fix z-index 2018-04-04 22:20:12 -07:00
Nolan Lawson 33d595f239 add mention option to account profiles 2018-04-04 21:45:19 -07:00
Nolan Lawson 5a23235529 destroy entire dialog when closed 2018-04-04 20:33:17 -07:00
Nolan Lawson 8d6cb56421 make entire sticky banner pointer-events:auto 2018-04-04 20:32:54 -07:00
Nolan Lawson b17b554965 fix auto-focus for dialog compose 2018-04-04 19:49:05 -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 eac398702d add console error message 2018-04-04 18:33:31 -07:00
Nolan Lawson cbf46ccae6 simplify language 2018-04-03 18:01:22 -07:00
Nolan Lawson bd183c9b37 fix default post privacy on replies 2018-04-03 17:50:48 -07:00
Nolan Lawson e0345ad750 fix typo 2018-04-03 17:27:30 -07:00
Nolan Lawson 48dc087e58 be optimistic about follow button 2018-04-03 09:51:34 -07:00
Nolan Lawson 79e33d7938 automatically insert CWs for replies to CWs 2018-04-03 09:45:17 -07:00
Nolan Lawson 3c0fe1effc number format account profile details 2018-04-03 08:57:01 -07:00
Nolan Lawson 584d94eea4 fix streaming gap issue for instance switching 2018-04-02 21:14:12 -07:00
Nolan Lawson 5b6af3c8d5 compose modal should auto-focus 2018-04-02 20:49:33 -07:00
Nolan Lawson cf2b6bfe2f refactor 2018-04-02 18:02:09 -07:00
Nolan Lawson cfb8e28fcc be less aggressive about throttling notifications 2018-04-02 18:00:45 -07:00
Nolan Lawson 3458c353e4 clicking avatar takes you to your profile 2018-04-02 17:53:04 -07:00
Nolan Lawson 7988222086 fix emoji dialog overflow 2018-04-01 23:41:35 -07:00
Nolan Lawson 64fccee69b tweak styles 2018-04-01 02:54:40 -07:00
Nolan Lawson 80a89a64f1 fix having multiple modal dialogs 2018-03-31 18:46:44 -07:00
Nolan Lawson ef5b922e77 add basic handling for window resize 2018-03-31 17:42:52 -07:00
Nolan Lawson 8c076622eb fix account details squished on mobile 2018-03-31 17:01:09 -07:00
Nolan Lawson 3c0d543ea1 refactor account profile 2018-03-31 16:51:18 -07:00
Nolan Lawson 7342ff1bf2 unify usage of autoplaying video 2018-03-31 10:45:11 -07:00
Nolan Lawson e467f74631 fix intersection observer bug in firefox 2018-03-31 09:36:29 -07:00
Nolan Lawson ec80a3847b clicking Esc clears autosuggestions 2018-03-30 17:34:10 -07:00
Nolan Lawson 2848d5a417 hide avatar for pinned toots 2018-03-30 17:30:30 -07:00
Nolan Lawson b535285542 fix svg size 2018-03-30 17:21:35 -07:00
Nolan Lawson db9913e6b8 tweak spinner delay 2018-03-30 17:14:53 -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 6d085eea36 correctly handle keyboard event for button 2018-03-30 08:19:30 -07:00
Nolan Lawson 5a0c4897b0 make replies inline 2018-03-30 01:06:17 -07:00
Nolan Lawson 3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
Nolan Lawson 6f350b68d3 fix content warning should delete when you hide it 2018-03-28 18:37:53 -07:00
Nolan Lawson 9c7cef502e add version info 2018-03-28 18:16:42 -07:00
Nolan Lawson 290a3b068e fix math error in css 2018-03-28 09:05:22 -07:00
Nolan Lawson 474b6e6dad replace × with svg x icon 2018-03-28 08:56:40 -07:00
Nolan Lawson 3bca451669 fix svg spinner 2018-03-28 08:45:58 -07:00
Nolan Lawson 45ee11352f remove unnecessary will-change 2018-03-27 20:13:41 -07:00
Nolan Lawson 2a5b1fe1a9 remove unnecessary will-change/filter 2018-03-27 20:13:17 -07:00
Nolan Lawson bf0592aee4 use double rAF instead of rIC for lazy pages 2018-03-27 19:46:01 -07:00
Nolan Lawson 148b1f1b38 use flexbox for dialog button 2018-03-27 17:31:17 -07:00
Nolan Lawson d4c63f04db fix grid layout in Edge 2018-03-27 17:21:40 -07:00
Nolan Lawson 59cf489ca3 try to fix floating button with will-change:transform 2018-03-27 10:01:35 -07:00
Nolan Lawson 1d7d7612a6 improve floating compose button 2018-03-27 09:38:19 -07:00
Nolan Lawson afb67f076d change design of top nav bar 2018-03-27 09:34:29 -07:00
Nolan Lawson ddd32a2223 improve tests 2018-03-27 08:38:40 -07:00
Nolan Lawson 58b700788c add floating compose button 2018-03-27 00:02:55 -07:00
Nolan Lawson 412c7316bc add followers/following/toots to account profile 2018-03-25 16:07:18 -07:00
Nolan Lawson 7ce9a39119 add emoji autosuggest 2018-03-25 12:24:38 -07:00
Nolan Lawson 6fc21e40bf add username autocomplete feature 2018-03-24 18:04:54 -07:00
Nolan Lawson f9cde60a1d fix follow animation 2018-03-23 09:10:49 -07:00
Nolan Lawson 882a288326 only show hourglass for locked accounts 2018-03-23 08:39:09 -07:00
Nolan Lawson c67ba5c0a9 spoiler button is faster now 2018-03-23 08:29:54 -07:00
Nolan Lawson d682982a54 fix caching logic 2018-03-23 08:16:46 -07:00
Nolan Lawson 3b03bd0e8d tweak when to use requestIdleCallback 2018-03-22 22:53:50 -07:00
Nolan Lawson 0dc676b1c5 tweak render buffer 2018-03-22 22:31:29 -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 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