Commit graph

2116 commits

Author SHA1 Message Date
Nolan Lawson 3476b9dc7e
chore: use sass instead of node-sass (#1792)
* chore: use sass instead of node-sass

* perf: renderSync is slightly faster
2020-05-28 21:06:24 -07:00
Nolan Lawson d26470592c 1.17.0 2020-05-23 09:56:59 -07:00
Nolan Lawson ceff1f1f8f
fix: tweak indicator design again (#1789) 2020-05-23 09:28:23 -07:00
Nolan Lawson 1fc14107c8
fix: tweak nav indicator so it's a bit more prominent (#1788) 2020-05-20 21:10:56 -07:00
Nolan Lawson 4fc41affe4
chore: update node-sass (#1787) 2020-05-20 19:39:48 -07:00
Nolan Lawson bedb636182
fix: css cleanup of nav-related variables (#1786)
* fix: css cleanup of nav-related variables

* changed my mind on this margin
2020-05-20 07:07:47 -07:00
Nolan Lawson f080148aad
perf: lazy-lazy-load the :focus-visible polyfill (#1785) 2020-05-19 07:52:28 -07:00
Nolan Lawson a790004be7
fix: Revert "perf: always load focus-visible polyfill (#1780)" (#1784)
This reverts commit c98b198e60.
2020-05-18 22:19:33 -07:00
Nolan Lawson c98b198e60
perf: always load focus-visible polyfill (#1780) 2020-05-18 21:11:13 -07:00
Nolan Lawson ea1315858d
perf: use OffscreenCanvas in Chrome 82+ (#1779) 2020-05-18 20:00:02 -07:00
Nolan Lawson beade4aec3
fix: use attr rather than class for focus-visible polyfill (#1778)
fixes #1777
2020-05-16 14:25:12 -07:00
Nolan Lawson cc62000b21
feat: use :focus-visible, add setting to enable/disable it (#1775)
* feat: use :focus-visible, add setting to enable it

* add the ids back

* css cleanup
2020-05-16 13:36:08 -07:00
Nolan Lawson 836b0e341f
perf: lazy-load the thread context (#1774)
* perf: lazy-load the thread context

fixes #898

* more tests

* test: more tests

* simplify implementation
2020-05-16 13:35:57 -07:00
Nolan Lawson 9e09ba6ca1
test: add another threading test (#1773) 2020-05-15 07:47:42 -07:00
Nolan Lawson 3f7aa7fb00
test: add more tests for thread order (#1772) 2020-05-14 22:39:57 -07:00
Nolan Lawson c610a259d5
fix: ListItem should have proper fade animations (#1771) 2020-05-14 21:22:33 -07:00
Nolan Lawson f5eb5fc50b
test: add tests for thread order (#1770) 2020-05-14 21:22:22 -07:00
Nolan Lawson 1df3b506e9 1.16.0 2020-05-11 19:03:29 -07:00
Nolan Lawson dacd9dcc5b
fix: fix polls with content warnings (#1768)
* fix: fix polls with content warnings

fixes #1766

* fixup
2020-05-10 19:41:55 -07:00
Alex a4820a2792
feat: Docker compose (#1767)
* Added docker-compose.yml file to replace Dockerfile.

* Added instruction in the README.md on starting the docker-compose build.
2020-05-07 19:45:52 -07:00
Nolan Lawson 511d16694c 1.15.9 2020-05-03 14:43:39 -07:00
Nolan Lawson 5c4b44e3dd
fix: fix potential null exception (#1765) 2020-05-03 10:45:32 -07:00
Nolan Lawson 4b4cee3662
fix: fix delete-and-redraft in Firefox Android (#1762)
fixes #1681
2020-05-03 10:45:11 -07:00
Nolan Lawson 5348b3ccce
test: do not write to mastodon.log in travis (#1761)
* test: do not write to mastodon.log in travis

* fixup
2020-05-02 19:58:58 -07:00
Nolan Lawson 6447326f5c
fix: beef up CSP headers (#1759)
* fix: beef up CSP headers

* add base-uri self

* fix connect-src for tesseract

* more csp fixes
2020-05-02 18:09:07 -07:00
Nolan Lawson 00b9b1c216
chore: update tested mastodon to v3.1.3 (#1760)
* chore: update tested mastodon to v3.1.3

* fix tests

* fixup

* fix test
2020-05-02 18:02:29 -07:00
Nolan Lawson 4fe7a818ab
fix: bump sapper version (#1758) 2020-05-02 13:42:33 -07:00
Nolan Lawson 7c8cd271ca
fix: update sapper to fix SNYK-JS-SAPPER-561051 (#1757) 2020-05-02 12:27:25 -07:00
Nolan Lawson 2f602e5a58
chore: remove greenkeeper (#1756) 2020-05-02 11:37:04 -07:00
Nolan Lawson a78c7c6992
chore: update travis badge (#1755)
* chore: update travis badge

* fix typo
2020-05-02 11:11:30 -07:00
greenkeeper[bot] 3e63323c27
chore: Update terser-webpack-plugin to the latest version 🚀 (#1754)
* fix(package): update terser-webpack-plugin to version 3.0.0

* chore(package): update lockfile

https://npm.im/greenkeeper-lockfile

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
Co-authored-by: greenkeeperio-bot <support@greenkeeper.io>
2020-05-02 10:10:54 -07:00
Nolan Lawson 0c300f8e70
fix: change all opacity animation timings to 0.2s (#1753) 2020-04-30 21:54:07 -07:00
Nolan Lawson 4ad7de8e8d
fix: fix rendering order bug in Firefox for Android (#1752) 2020-04-29 22:00:20 -07:00
Nolan Lawson 0ce47f0379
fix: fix fade animations on slow devices (#1751)
I noticed that, on 6x CPU throttling in Chrome, the status fade-in animations were not consistent when switching columns. This fixes that using rAF.
2020-04-28 17:48:31 -07:00
Nolan Lawson 5f6c5d89d1
fix: only avoid scrollbar motion for prefers-reduced-motion (#1750)
After thinking about it, I do not believe the scrollbar is that distracting. But for prefers-reduced-motion we should be careful about the scrollbar growing so quickly.
2020-04-28 17:48:25 -07:00
Nolan Lawson e1532ed9d1
perf: calculate plaintext from HTML content in advance in rIC (#1748)
On the Nexus 5 especially, this ensures we no longer have nearly so many
"long tasks" (i.e. responsiveness is better). It moves html-to-txt
calculation to the same step as blurhash decoding, where it can be done
in requestIdleCallback (heck, maybe someday it could just be done in a
worker thread as well).
2020-04-26 18:30:49 -07:00
Nolan Lawson ae3bd2bda2
perf: make timeline rendering less janky (#1747)
* perf: make timeline rendering less janky

1. Ensures all statuses are rendered from top to bottom (no more shuffling-card-effect rendering)
2. Wraps all individual status renders in their own requestIdleCallback to improve input responsiveness especially only slow devices like Nexus 5.

* fix focus restoration

* only do rIC on mobile
2020-04-26 16:54:00 -07:00
Nolan Lawson 06a403df28
fix: left/right hotkey works on all settings page (#1745)
fixes #1744
2020-04-25 19:35:14 -07:00
Nolan Lawson a4a9cb7962
fix: fix nav links in Voice Control on iOS (#1746)
fixes #1735
2020-04-25 19:35:03 -07:00
Nolan Lawson 1f0d67fcc4
feat: aria-labels and buttons contain more media info (#1743)
* feat: aria-labels and buttons contain more media info

fixes #1733

* fix lint
2020-04-25 19:03:39 -07:00
greenkeeper[bot] bfb1da6bd0
chore: Update now to the latest version 🚀 (#1741)
* chore(package): update now to version 18.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-25 15:01:06 -07:00
greenkeeper[bot] ee5d911d49
chore: Update intersection-observer to the latest version 🚀 (#1740)
* fix(package): update intersection-observer to version 0.8.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-25 14:17:52 -07:00
greenkeeper[bot] 94fd351638
chore: Update emoji-regex to the latest version 🚀 (#1738)
* fix(package): update emoji-regex to version 9.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-04-25 14:12:04 -07:00
Nolan Lawson f6f2da2748
fix: fix automatic zeit deployment (#1734)
This reverts commit 767fbccaff and
fixes #1732.
2020-03-29 11:54:40 -07:00
Nolan Lawson 767fbccaff chore: remove automatic zeit deployment for now 2020-03-21 10:35:47 -07:00
Nolan Lawson 55d6de2de6 chore: add .now to .gitignore 2020-03-21 10:34:58 -07:00
Nolan Lawson 8d8f30a134 1.15.8 2020-03-21 09:51:03 -07:00
Nolan Lawson 8f3fa34358
chore: update deps (#1731) 2020-03-21 09:09:01 -07:00
greenkeeper[bot] 916889efe9
chore: Update file-loader to the latest version 🚀 (#1730)
* fix(package): update file-loader to version 6.0.0

* chore(package): update lockfile yarn.lock

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-21 08:42:05 -07:00
Nolan Lawson 912dda8778
fix: fix svelte dev warning about pinIndex (#1729) 2020-03-08 12:01:23 -07:00