Commit graph

2103 commits

Author SHA1 Message Date
Milan d16ccd5d5f
fix: change pitch black theme (#1702)
On AMOLED displays the pitch black theme was unsatisfying. I have
changed the theme to use #000 as main theme color, which completely
stops the OLED pixels from emitting light, thus saving energy and
on some devices making the background indistinguishable from the screen
border.
2020-02-26 07:03:15 -08:00
Nolan Lawson c202b43cc4
chore: update node-sass (#1710) 2020-02-23 08:15:34 -08:00
Nolan Lawson a522c0ae93
chore: update mocha to v7 (#1709) 2020-02-23 08:15:28 -08:00
Nolan Lawson 8400f10014
chore: update mkdirp (#1699) 2020-02-22 16:45:32 -08:00
greenkeeper[bot] 2f87db8389
chore: Update cross-env to the latest version 🚀 (#1700)
* fix(package): update cross-env to version 7.0.0

* chore(package): update lockfile yarn.lock
2020-02-22 16:42:10 -08:00
greenkeeper[bot] e9b696c96b
chore: Update p-any to the latest version 🚀 (#1706)
* fix(package): update p-any to version 3.0.0

* chore(package): update lockfile yarn.lock
2020-02-22 16:42:02 -08:00
greenkeeper[bot] a0b7e77dc2
chore: Update now to the latest version 🚀 (#1703)
* chore(package): update now to version 17.0.0

* chore(package): update lockfile yarn.lock
2020-02-22 16:41:53 -08:00
Nolan Lawson 2edbd4746d 1.15.7 2020-01-12 14:43:24 -08:00
Nolan Lawson 4a500c16f5
chore: update dependencies (#1697) 2020-01-12 10:32:40 -08:00
Nolan Lawson abaa9b4e05
fix: ignore hidden files in scss/themes (#1696)
When editing a theme file in vim, a .file.swp file is created and would
crash the sass compiler. This ignores any hidden files in the directory,
since they are probably not theme files.

Co-authored-by: Milan <me@petabyteboy.de>
2020-01-12 10:19:29 -08:00
Nolan Lawson a4b743caf7
chore: update dependencies (#1691) 2020-01-12 09:56:57 -08:00
Nolan Lawson 21a300bd4c
fix: remove intrinsicsize in favor of width/height (#1690) 2019-12-24 10:47:27 -08:00
Nolan Lawson f5bb8a0b14
perf: use emoji-mart fork for now (#1689) 2019-12-23 20:48:39 -08:00
Nolan Lawson 78014a7f33
fix: remove remount (#1688)
* fix: remove remount

* fixup
2019-12-23 18:10:03 -08:00
Nolan Lawson 3129ae7344
fix: remove deprecated scrollbar styles (#1687) 2019-12-23 11:53:55 -08:00
Nolan Lawson 22fd567eb1
fix: update emoji-mart, add dark mode and custom categories (#1686) 2019-12-23 11:53:44 -08:00
Isabelle Knott 46ff09b072 fix: Wellness page had the wrong breadcrumb (#1684) 2019-12-23 11:53:35 -08:00
Nolan Lawson 2477e3a020 1.15.6 2019-12-15 11:51:58 -08:00
Nolan Lawson 56ab988d1a
fix: fix search width on narrow sizes (#1678) 2019-12-15 09:58:43 -08:00
Nolan Lawson 32d35a1f11
chore(package): update deps (#1677) 2019-12-15 09:58:05 -08:00
Nolan Lawson 79537fb8cd
fix: handle pleroma ping messages (#1676)
* fix: handle pleroma ping messages

fixes #1673

* refactor safeParse
2019-12-15 09:58:00 -08:00
Nolan Lawson 1d3859a4e2
fix: fix duplicates in threads (#1672)
fixes #943
2019-12-14 12:04:36 -08:00
Nolan Lawson aa662682f3
fix: restore focus on community page (#1669) 2019-12-13 08:31:05 -08:00
Nolan Lawson 47ade12167
refactor: refactor timeline filtering logic (#1667) 2019-12-08 18:03:39 -08:00
Nolan Lawson 4f9fb5f253
fix: settings pages preserve focus (#1666)
fixes #1658
2019-12-08 18:03:26 -08:00
Nolan Lawson 69d0038fc0
chore: update terser-webpack-plugin (#1665) 2019-12-08 13:55:51 -08:00
Sorin Davidoi 5f51bd5aad fix(service-worker): Make API call to the right endpoint (#1664)
Closes #1663.
2019-12-08 09:56:23 -08:00
Nolan Lawson c071ac1174
refactor: refactor focus management (#1662) 2019-11-30 17:43:31 -08:00
Nolan Lawson 26e90d23de
chore: update file-loader and rollup (#1661) 2019-11-30 09:56:57 -08:00
Nolan Lawson 561357b48e
fix: add missing cache-control for gz/webapp files (#1660) 2019-11-28 10:26:01 -08:00
greenkeeper[bot] 3bf98804f5 chore: Update file-loader to the latest version 🚀 (#1657)
* fix(package): update file-loader to version 5.0.0

* chore(package): update lockfile yarn.lock
2019-11-27 07:22:08 -08:00
Nolan Lawson 29f42b137f
chore: update dev deps (#1656) 2019-11-24 12:12:01 -08:00
Nolan Lawson 957bdfc479
chore: update deps (#1655) 2019-11-24 12:11:54 -08:00
Timo Tijhof 9ce900c767 fix: Avoid autocapitalize keyboard for instance name (#1653)
* fix: Avoid autocapitalize keyboard for instance name

On iOS Safari (possibly other browsers as well), auto-capitalization is enabled
even for input fields with inputmode=url.

In my testing, the inputmode attribute is working supported and working (in so
far that iOS does consider it and and provides me a keyboard optimised for URL
inputs, with quick buttons for slash and .com etc).

The autocapitalize is supported on Safari, per:
https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/Attributes.html#//apple_ref/doc/uid/TP40008058-autocapitalize

Fixes https://github.com/nolanlawson/pinafore/issues/1652.

* fix: Avoid spell check on Instance name field

Checking of spelling and grammar and automatic corrections thereof
are likely unwanted when entering the instance domain/URL.
2019-11-23 23:42:38 -08:00
Nolan Lawson cbbf5abd7a
test: test for DOM listener memory leaks (#1654)
* test: test for DOM listener memory leaks

* fix whitespace change, unintended
2019-11-23 23:42:22 -08:00
Nolan Lawson 95ef639b21
test: add basic memory leak test (#1650)
* test: add basic memory leak test

* try to fix test
2019-11-23 19:11:15 -08:00
Nolan Lawson 14762c4a5f 1.15.5 2019-11-23 15:18:12 -08:00
Nolan Lawson fec0c282c9
fix: make autosuggest list appear over modal dialog (#1649)
fixes #1645
2019-11-23 13:21:21 -08:00
Nolan Lawson 4221ce1c72
fix: media nav buttons should be a list (#1648)
More work on #1633, improves accessibility of the media nav buttons by cleaning up the list and labels a bit.
2019-11-23 11:25:42 -08:00
Nolan Lawson d03d223fd9
fix: remove aria-pressed entirely (#1647)
More progress on #1633
2019-11-23 11:25:36 -08:00
Nolan Lawson 1b95499008
fix: use radio buttons for pinning timelines (#1644)
* fix: use radio buttons for pinning timelines

more work on #1633

* cleanup styles
2019-11-17 23:02:05 -05:00
Nolan Lawson 568a3f51fe
fix: convert many toggle buttons into regular buttons (#1643)
work on #1633
2019-11-17 21:23:32 -05:00
greenkeeper[bot] 4bd51de61d chore: Update fake-indexeddb to the latest version 🚀 (#1638)
* chore(package): update fake-indexeddb to version 3.0.0

* chore(package): update lockfile yarn.lock
2019-11-17 21:23:22 -05:00
Nolan Lawson 4903f2effa
perf: avoid aria-hidden="false" (#1640) 2019-11-17 20:51:44 -05:00
Nolan Lawson 6211402afc
chore: update rollup (#1639) 2019-11-17 20:51:36 -05:00
Nolan Lawson 92d77c34be
fix: use radiogroup for instance switcher (#1634)
* fix: use radiogroup for instance switcher

progress on #1633

* fixup

* add unique id
2019-11-17 20:51:28 -05:00
Nolan Lawson 53b6c5f6a1
chore: fix travis postgres, switch from bionic to xenial (#1642)
fixes #1641
2019-11-17 19:37:04 -05:00
Nolan Lawson 63c9f8dc32
fix: fix autocomplete in voiceover+safari (#1632)
* fix: fix autocomplete in voiceover+safari

fixes #1629

* fix test

* fix test
2019-11-09 23:01:32 -05:00
Nolan Lawson 07facea505
fix: improve autosuggest a11y (#1630)
* fix: improve autosuggest a11y

some progress on #1629

- works in Chrome on NVDA now
- works in Chrome on VoiceOver now
- shorter aria-labels, don't repeat information like "1 of 3", because
it causes the screen reader to speak too frequently, e.g. when the
selected result hasn't changed but the number of results has. Also both
NVDA and VoiceOver already speak this information
- stop doing a fancy fade animation, just show and hide the input
instantly. I worry it confuses screen readers to have the aria-hidden
attribute in there at all
- stop using a single id to identify the active descendant - give
immutable IDs and then update the aria-activedescendant instead. I think
this is what fixed Chrome.

* fix test
2019-11-09 20:38:29 -05:00
Nolan Lawson c5a005186c
fix: fix more html entities in card titles (#1628) 2019-11-09 17:25:39 -05:00