1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-11 09:45:24 +01:00
Commit Graph

499 Commits

Author SHA1 Message Date
Spanky
bdf547b561 made a variable for the AccountProfile page for its color overlay of the header image. (#84) 2018-04-11 19:47:24 -07:00
Nolan Lawson
55782a5331 detect "selected" when doing smooth scroll to top 2018-04-10 23:15:22 -07:00
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
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
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
Nolan Lawson
1f5a0c3694 add note about intro blog post 2018-04-09 09:35:58 -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
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
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
5b6af3c8d5 compose modal should auto-focus 2018-04-02 20:49:33 -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
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
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
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
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
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
add39a7334 faster HiddenFromSSR implementation 2018-03-18 18:37:19 -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