Nolan Lawson
581a0fcd00
fix multiple compose autosuggest dropdowns ( #188 )
...
* fix multiple compose autosuggest dropdowns
Fixes #170
* fix failing test
* remove console.log
2018-04-20 06:26:36 -07:00
Nolan Lawson
77ba91c712
fix animations and cleanup store/component get() usage ( #185 )
...
fixes #181
2018-04-19 21:38:11 -07:00
Nolan Lawson
bfc3c46462
use standard to lint HTML too ( #186 )
2018-04-19 21:38:01 -07:00
Nolan Lawson
ebcade8035
constrain gif backgrounds (with modifications) ( #176 )
...
* constrain gif backgrounds. fixes #159
* nit: move background-* styles to AutoplayVideo.html
2018-04-19 10:04:44 -07:00
Nolan Lawson
8d5690d63d
remove get() with string from Svelte calls ( #169 )
...
* remove get() with string pt 1
* remove get() with string pt 2
* fix typo
* fix some null exceptions in get()
* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson
a24177b62a
remove "class" prop in favor of "className" ( #167 )
2018-04-18 23:48:06 -07:00
Nolan Lawson
e431c29efa
update and pin all deps ( #164 )
2018-04-18 20:43:13 -07:00
Nolan Lawson
7c548018c1
Simplify click delegate implementation ( #155 )
2018-04-17 21:47:30 -07:00
Nolan Lawson
980fec15ec
fix favorites/boosts reversed aria labels ( #153 )
...
Fixes #146
2018-04-17 18:38:27 -07:00
Maxime Le Conte des Floris
eef54e992b
focus container on page load ( #116 )
...
* focus container on page load
* only focus container on first page load
* add test for container focus on page load
* fix typo
2018-04-17 09:42:10 -07:00
Nolan Lawson
b231466fff
Refactor database for better code-splitting ( #144 )
2018-04-16 20:56:21 -07:00
Nolan Lawson
8fb00a961c
refactor to avoid unnecessary emojify computations ( #143 )
2018-04-16 20:54:16 -07:00
Nolan Lawson
300a399655
Mark permalinks with icons accessibly ( #138 )
...
Fixes #128
2018-04-15 16:00:09 -07:00
Nolan Lawson
a21541ce4b
hide overflow menu for same-user profile ( #136 )
...
Fixes #130
2018-04-15 15:39:54 -07:00
Nolan Lawson
e23aa97cf2
make PseudoVirtualList sync rather than async ( #133 )
...
Attempt to address #92
2018-04-15 14:43:41 -07:00
Nolan Lawson
7ff45dfb3f
mute and unmute accounts ( #127 )
2018-04-14 22:18:48 -07:00
Nolan Lawson
732d1fded4
Block and unblock an account ( #125 )
...
One of the many features listed in #6
2018-04-14 18:47:55 -07:00
Nolan Lawson
6230c2703e
content warnings can have emoji ( #122 )
...
fixes #105
2018-04-14 15:50:06 -07:00
Nolan Lawson
a6e737bdbb
remove page flash due to LazyPage.html ( #120 )
2018-04-14 14:50:53 -07:00
Nolan Lawson
29c38c1f83
Don't show media in notifications ( #112 )
...
Fixes #70
2018-04-14 14:18:19 -07:00
Nolan Lawson
ff8e92df6c
preload content in CW ( #110 )
...
* preload content in CW
Fixes #63
* fix test
2018-04-14 10:47:53 -07:00
Nolan Lawson
707e89e899
faster hydrateContent() algorithm, add test ( #109 )
2018-04-14 10:08:43 -07:00
Nolan Lawson
6be77a6b25
Fix spinner button spinning background ( #113 )
...
Fixes #107
2018-04-14 10:07:45 -07:00
Nolan Lawson
fdcf2bc46b
fix blurry modal dialog on chrome/safari ( #101 )
...
Fixes #71
2018-04-13 09:46:47 -07:00
Nolan Lawson
aaf0a16a48
remove mistaken code comment
...
[skip ci]
2018-04-12 22:30:40 -07:00
Nolan Lawson
d2c5839873
tweak style for small devices
2018-04-12 22:13:05 -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
b8d862618a
Use display:none for virtual list header ( #96 )
...
Fixes #59 by using display:none instead of opacity/pointer-events tricks while still showing an animation
2018-04-12 21:17:57 -07:00
Nolan Lawson
2c6576e09d
Fix compose button covering content ( #95 )
...
Fixes #43 for browsers that support fit-content
2018-04-12 20:23:38 -07:00
Nolan Lawson
3786473e34
Simplify PseudoVirtualList ( #93 )
...
Possible fix for #92
2018-04-12 19:38:41 -07:00
Nolan Lawson
7ece5d7ffc
fix css typo
2018-04-12 19:37:37 -07:00
Nolan Lawson
1ad72f00c2
fix optimistic follow button ( #91 )
...
Fixes #85
2018-04-11 22:55:04 -07:00
Nolan Lawson
bdf658f54c
fixup minor style nitpicks
...
[skip ci]
2018-04-11 20:01:45 -07:00
codl
8e08d08712
send status on ctrl+enter ( #81 )
...
* send status on ctrl+enter (#24 )
* don't check for floating post button when pressing ctrl+enter
oops, I was too eager. it doesn't matter too much, except that if the
main compose form is off-screen but still focused, ctrl+enter would open
the compose modal instead of posting
2018-04-11 20:01:17 -07:00
Nolan Lawson
a150613b53
tweak css variable names
...
[skip ci]
2018-04-11 19:53:43 -07:00
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
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
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
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