Commit Graph

310 Commits

Author SHA1 Message Date
Nolan Lawson 02f1dad098
fix: handle status edit events (#2325) 2022-12-18 11:20:17 -08:00
Nick Colley 3edfed971f
fix: notification page contrast (#2302)
Use lowest possible contrast gray that meets WCAG requirements for
very deemphasised text.

Makes the notification page more readable without compromising access.

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-12-17 18:12:13 +00:00
Nolan Lawson f61054a3d5
test: add test for #2263 (#2317) 2022-12-11 12:46:59 -08:00
Nolan Lawson 040462f5b5
fix: fix pinned status aria-label/blurhash (#2313)
Fixes #2294
2022-12-11 11:00:45 -08:00
Nolan Lawson 380d2a0d45
fix: fix poll "ends at" time (#2292)
Fixes #2286
2022-12-03 18:53:20 -08:00
Nolan Lawson 6d6eb59f41
test: run tests on Mastodon v4 (#2256) 2022-12-02 15:09:58 -08:00
James Teh 815438172e
feat: Make it possible to close inline reply with the escape key. (#2273)
Fixes #915.

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-12-02 12:54:54 -08:00
James Teh 8fc9d5c728
feat: Allow image descriptions to be read automatically by screen readers without needing to expand media. (#2269)
Fixes #2257.

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-12-02 12:54:03 -08:00
Ringtail Software 5eb7183048
feat: make click on reposter's small avatar image go to reposter's account page (#2260)
Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-11-27 13:22:13 -08:00
Nolan Lawson a3f41917c7
fix: change page titles (#2211)
Co-authored-by: Gabriel de Perthuis <g2p.code@gmail.com>
2022-11-27 07:49:18 -08:00
Nolan Lawson 098da30f2a
test: fix flaky test (#2259) 2022-11-25 12:24:59 -08:00
Nick Colley bc664e5ca1
fix: don't rely on colour for boost/favourite state (#2234)
By changing the shape it means no matter what the colour difference between
pressed and non-pressed it'll be possible to know the state.

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-11-24 09:20:35 -08:00
Nolan Lawson 53803db5be
test: add test for shortcut when focus is inside status (#2232) 2022-11-23 08:49:40 -08:00
Nolan Lawson 52880a4689
chore: update emoji-regex, replace copyright character (#2202) 2022-11-18 09:32:46 -08:00
Nolan Lawson a318746961
chore: update dev dependencies (#2200) 2022-11-18 09:32:31 -08:00
Nolan Lawson f10e9dbcf3
fix(a11y): fix number of headings (#2183)
Fixes #2162
2022-11-13 07:01:12 -08:00
Nolan Lawson c67be9acc2 fix: fix bell notifications, add tests 2022-05-01 08:54:37 -07:00
Nolan Lawson 2a53bd3f80
chore: update mastodon 3.5.1 backup files (#2135) 2022-04-30 17:14:31 -07:00
Nolan Lawson 8685e4f603
test: fix flaky test (#2134) 2022-04-30 14:20:22 -07:00
Nolan Lawson 331f6e8803
fix: fix multiple-choice poll results (#2101)
Fixes #2100
2022-01-02 16:00:41 -08:00
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules (#2064)
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required

* fix!: remove esm package, use native Node ES modules

* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00
Nolan Lawson c5de673990
test: improve flaky tests (#2067) 2021-07-04 17:42:43 -07:00
Nolan Lawson 7bc9c3f263
test: fix flaky test (#2060) 2021-07-03 18:07:54 -07:00
Nolan Lawson 85a5874876
fix: internationalize manifest.json (#2034)
* fix: internationalize manifest.json

fixes #2020

* test: fix test
2021-04-11 19:40:24 -07:00
Nolan Lawson 66fc202b5c
fix: internationalize dialogs (#2033)
* fix: internationalize dialogs

Fixes #1988

* test: fix test

* test: fix test

* Revert "test: fix test"

This reverts commit 559e3d80eb.
2021-04-11 19:40:18 -07:00
Nolan Lawson c815292b0b
fix: fix aria-labels on relative timestamps (#2028) 2021-04-02 17:01:08 -07:00
Nolan Lawson 081df2bf82
fix: use day-only time format for wellness setting (#2021)
* fix: use day-only time format for wellness setting

* fix: tweak intl strings

[skip ci]

* test: add test
2021-03-21 18:03:53 -07:00
Nolan Lawson d044e12aee
feat: add PWA shortcuts for compose/notifications (#2019)
* feat: add PWA shortcuts for compose/notifications

Fixes #2012

* fix: fix icon path
2021-03-21 13:49:59 -07:00
Nolan Lawson c3fb1e2038
fix: media cache should be behind async db API (#1999) 2021-03-15 17:25:13 -07:00
Nolan Lawson 193db0aa15
perf: remove quick-login.html (#1994) 2021-03-14 13:39:32 -07:00
Nolan Lawson 5e7440aaee
feat: accept files in web share target (#1992)
fixes #1009
2021-03-14 10:20:23 -07:00
Nolan Lawson 4adc8ff748
feat: implement word/phrase filters (#1990)
* feat: implement word filters

* fix: more progress on word filters

* fix: more progress

* fix: more work

* fix: more work

* fix: more progress

* fix: tweaks

* fix: basic crud stuff

* fix: more work

* test: add tests

* test: more test

* fix: handle filter expiry correctly

* fix: implement more efficient word filter logic

* fix: better required labels

* test: fix test
2021-03-13 17:31:17 -08:00
Nolan Lawson 8c09ede2d4
feat: implement shortcut for opening/closing all CWs (#1973)
Fixes #1914
2021-02-27 18:31:53 -08:00
Nolan Lawson b0c694b1bd
test: fix flakey test (#1970) 2021-02-22 20:36:59 -08:00
Nolan Lawson 533360e32f
chore: update standard and eslint-plugin-html (#1963) 2021-02-20 13:40:33 -08:00
Nolan Lawson ddd565c708
test: fix flakey notification test (#1958) 2021-02-15 16:45:51 -08:00
Nolan Lawson b451093ece
test: fix flakey test (#1957) 2021-02-15 16:45:46 -08:00
Nolan Lawson 5b04db8442
test: fix flakey test (#1956) 2021-02-15 16:45:41 -08:00
Nolan Lawson a3e970fe7a
test: use mastodon 3.3.0 for testing (#1917)
* test: use mastodon 3.3.0 for testing

* test: fix test

* test: fix test

* test: fix test

* test: fix test

* test: revert test change

* test: use ruby 2.6.6
2021-01-24 18:26:40 -08:00
Nolan Lawson a028a7e880
feat: intl support for emoji picker (#1910)
* feat: intl support for emoji picker

Fixes #1908

* fix: update emoji-picker-element

* fix: fix typo
2020-12-18 20:02:36 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French (#1904)
* first attempt

* progress

* working

* working

* test timeago

* rm

* get timeago working

* reduce size

* fix whitespace

* more intl stuff

* more effort

* more work

* more progress

* more work

* more intl

* set lang=LOCALE

* flatten

* more work

* add ltr/rtl

* more work

* add comments

* yet more work

* still more work

* more work

* fix tests

* more test and string fixes

* fix test

* fix test

* fix test

* fix some more strings, add test

* fix snackbar

* fix }

* fix typo

* fix english

* measure perf

* start on french

* more work on french

* more french

* more french

* finish french

* fix some missing translations

* update readme

* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson 5bf5e1d36e
test: add test for relative timeago date formatting (#1903) 2020-11-25 16:43:12 -08:00
Nolan Lawson 69aad56421
fix: fix tainted canvas error with OCR (#1902)
* fix: fix tainted canvas error with OCR

fixes #1901

* fix: minor tweaks
2020-11-24 15:37:10 -08:00
Nolan Lawson 870fa0e93c
feat: add "i" as shortcut to open media (#1890)
fixes #1883
2020-11-14 14:13:38 -08:00
Nolan Lawson 07f23c5990
feat: pressing / or s focuses search input (#1855) 2020-08-31 16:06:31 -07:00
Nolan Lawson 430ab4db4c
fix: empty timelines no longer show infinite loading spinner (#1854)
Instead, they now show "Nothing to show." I only fixed this for VirtualList because List should never be non-empty (threads).

Fixes #1763
2020-08-30 18:08:55 -07:00
Nolan Lawson 1466371909
test: count store listeners in memory leak test (#1853) 2020-08-29 19:18:53 -07:00
Nolan Lawson 5a9e5ae8bc fix: tidy up bookmarks, add tests 2020-08-25 23:47:20 -07:00
Nolan Lawson 36cf9fd56d
test: add test for accessible radio buttons in /community (#1845) 2020-08-25 22:16:14 -07:00
shine c86d2b5088
feat: add `/` as a navigation shortcut for search (#1838)
`/` is a well-known vi/vim key-binding for search. It is supported by
Firefox for a 'quick find' feature in addition to the main find feature
available with the Ctrl+F key combination. DuckDuckGo also supports the
key to focus the search bar as well.

Signed-off-by: shine <4771718+shinenelson@users.noreply.github.com>
2020-08-25 16:45:32 -07:00