Commit Graph

2329 Commits

Author SHA1 Message Date
Nick Colley 01108b0d4e Improve contrast on dark themes 2022-11-27 20:48:16 +00:00
Nick Colley d227decc42 Ensure svg fills mirror text for good contrast 2022-11-27 20:48:01 +00:00
Nick Colley f2f84be69f Remove unused var usage 2022-11-27 20:47:40 +00:00
Nick Colley daf6620912 Adjust nav styles 2022-11-27 20:18:01 +00:00
Nick Colley a856b2ec16 fix: improve contrast of pitch black theme 2022-11-27 20:18:01 +00:00
Nick Colley af3ce2e1e7 Make sure length indicator uses correct colour 2022-11-27 20:18:01 +00:00
Nick Colley 26b48d48bf fix: contrast for active navigation
Increase the background contrast for the selected page.
Increase the prominance of the indictor bar so we dont need to rely on
the background to have a strong contrast difference.
2022-11-27 20:18:01 +00:00
Nick Colley 490da809c6 fix: improve contrast of icons
Change the baseline colour of the icons match the deemphasised text.
Use a simpler background hover/active state.
This means the icons meet at least 3:1 contrast ratio against the background.
2022-11-27 20:18:01 +00: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
Nolan Lawson abc39ef982
chore: remove emoji picker i18n files (#2258) 2022-11-25 12:06:09 -08:00
Nick Colley b543399e0a
fix: hide invisible content consistently (#2254)
Some other parts of the interface for example URLs in profiles
use the invisible class, move this to the top level global file
so it'll be applied everywhere.
2022-11-25 12:03:26 -08:00
Nolan Lawson fda00fc87c
chore: switch from circle ci to github actions (#2253) 2022-11-25 11:04:37 -08:00
Nick Colley 0e4523a37d
fix: bring check closer to icon (#2246)
Just a small aesthetic change to make them feel more connected.
2022-11-25 07:49:44 -08:00
Nolan Lawson 4fb8f37db7
fix: fix mismatched dark/light color-scheme (#2244) 2022-11-24 21:34:13 -08:00
Nolan Lawson fac42a91a0
fix: use dvh for bottom nav (#2241) 2022-11-24 15:24:29 -08:00
Nolan Lawson b50b9dc40b
fix: announce "loading more" with aria-live=polite after delay (#2240) 2022-11-24 11:02:17 -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
Marco Zehe fa41fe7649
fix: remove alert role from the loading indicator (#2238)
...so it no longer interferes with screen readers. Fixes "Loading more" alert creates extraneous verbosity for screen reader users

Fixes #2226
2022-11-24 09:16:18 -08:00
Nolan Lawson 53803db5be
test: add test for shortcut when focus is inside status (#2232) 2022-11-23 08:49:40 -08:00
James Teh 8792d912bc
fix: focus the textarea in the Compose dialog (#2227)
ComposeBox already specified autoFocus for the ComposeInput.
However, this didn't work because the dialog was disabled when the ComposeInput code tried to focus the textarea.
To fix this, tweak A11yDialog to look for the autofocus attribute when determining what to focus.
This is consistent with the behavior for native HTML dialogs.
Then, have ComposeInput set this attribute if it's in a dialog.
Fixes #1839.
2022-11-23 08:21:42 -08:00
James Teh a447b9535e
fix: make shortcuts operate relative to the parent toot (#2229)
Previously, if focus was on an element inside a toot instead of the toot itself (e.g. moving to a toot and pressing tab), keyboard commands acted as if no toot was active.
In particular, this meant that the arrow keys scrolled to the first visible toot.
Fixes #2228.
2022-11-23 08:19:42 -08:00
Nolan Lawson 6b1533c947 2.3.2 2022-11-21 20:04:36 -08:00
Nolan Lawson 347dab4e29
fix: fix pencil button location with bottom nav (#2222) 2022-11-21 18:53:25 -08:00
Nolan Lawson fdec7b2b3d
docs: add details on use of Svelte v2 / Sapper 2022-11-21 07:42:30 -08:00
Сергей Ворон 7f86a94414
feat: create ru-RU.JS (#2218)
Russian language
2022-11-21 07:19:36 -08:00
Nolan Lawson 302845866a 2.3.1 2022-11-20 20:37:33 -08:00
Nolan Lawson f875e65c49
chore: bump z-index again (#2217) 2022-11-20 20:30:20 -08:00
Nolan Lawson 85bc6ba372
fix: fix position of toast/snackbar for bottom nav (#2213) 2022-11-20 11:50:38 -08:00
Nolan Lawson 00b6d31f0c 2.3.0 2022-11-20 10:00:38 -08:00
Nolan Lawson 035ab9cbff
fix: reduce flash-of-unstyled on grayscale (#2206) 2022-11-19 11:25:42 -08:00
Nolan Lawson ad73918fa8
feat(ui): bottom nav (#2205)
Co-authored-by: Benny Powers <web@bennypowers.com>
2022-11-19 10:13:57 -08:00
Nolan Lawson d57ab7238f
chore: update yarn.lock, check lockfile in CI (#2204) 2022-11-19 09:51:54 -08:00
Nolan Lawson fb5478cd06
fix: do not show "signed up" notifications in mentions tab (#2203)
Partially addresses #2199
2022-11-18 09:32:54 -08:00
Nolan Lawson 52880a4689
chore: update emoji-regex, replace copyright character (#2202) 2022-11-18 09:32:46 -08:00
Nolan Lawson 2131ababf3
fix: fix inserting emoji with skintone (#2201) 2022-11-18 09:32:39 -08:00
Nolan Lawson a318746961
chore: update dev dependencies (#2200) 2022-11-18 09:32:31 -08:00
Nolan Lawson 601c3e40c9
fix: recalculate toot height after voting on poll (#2198) 2022-11-17 19:57:26 -08:00
Nolan Lawson ff6e1dc6fc
chore: update non-breaking deps (#2193) 2022-11-17 18:26:41 -08:00
Nolan Lawson 4273666ce5
chore: update emoji-picker-element (#2190) 2022-11-17 18:26:29 -08:00
Nolan Lawson 6f4eb98397
chore: use node 14 in CI, update mocha, fix gitignore (#2191) 2022-11-17 17:09:37 -08:00
Nolan Lawson 3c59069490
chore: attempt to fix flaky test (#2197) 2022-11-17 17:09:24 -08:00
dependabot[bot] 55189e840b
chore(deps): bump loader-utils from 1.4.1 to 1.4.2 (#2196)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 17:09:18 -08:00
Nolan Lawson e2d5b5928d
chore: update formatjs deps (#2194) 2022-11-17 07:44:50 -08:00
Nolan Lawson 6fde4e0b90
chore: update webpack/webpack-bundle-analyzer (#2192) 2022-11-17 07:44:40 -08:00
Nolan Lawson 6ebd6a6a01
fix: fix max number of status characters (#2188)
Fixes #2187
2022-11-17 06:17:49 -08:00
Gavin Mogan 36ead0406d
docs: fix link to social media (#2185) 2022-11-16 07:00:28 -08:00
Nolan Lawson 1de26d4b06 2.2.3 2022-11-13 17:01:41 -08:00
Nolan Lawson f10e9dbcf3
fix(a11y): fix number of headings (#2183)
Fixes #2162
2022-11-13 07:01:12 -08:00
Nolan Lawson 1c6387a0a4
fix: show proper text for signup notifications (#2182) 2022-11-13 07:00:37 -08:00