Commit graph

483 commits

Author SHA1 Message Date
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