Commit graph

34 commits

Author SHA1 Message Date
Nolan Lawson
c67be9acc2 fix: fix bell notifications, add tests 2022-05-01 08:54:37 -07: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
69ef9f2798
fix: initialize all Intl formatters lazily (#2026)
fixes #2024
2021-04-02 11:02:01 -07:00
Nolan Lawson
40cb793e81
fix: fix word filter style on small screens (#2002) 2021-03-15 22:25:40 -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
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
4f9fb5f253
fix: settings pages preserve focus (#1666)
fixes #1658
2019-12-08 18:03:26 -08:00
Nolan Lawson
ee492c1765
fix: change "add instance" to "log in" when not logged in (#1614) 2019-10-31 06:45:36 -07:00
Nolan Lawson
b8d9c29bac
perf: move async modules to individual files (#1611) 2019-10-29 18:58:49 -07:00
Nolan Lawson
138fe83082
fix: deduplicate settings styles (#1564) 2019-10-10 07:06:04 -07:00
Nolan Lawson
1bbe2a5612
fix: improve focus styles (#1526)
* fix: improve focus styles

* fixup
2019-09-24 00:50:35 -07:00
Nolan Lawson
41270f9210
fix: more fixes for tiny screen sizes (#1509) 2019-09-21 18:16:55 -07:00
Nolan Lawson
38b16c91d1
fix: improve style on very small mobile screens (#1505) 2019-09-21 13:45:48 -07:00
Nolan Lawson
4232da5e33 fix: fix lint 2019-08-19 20:23:58 -07:00
Nolan Lawson
00945a3608
chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
Nolan Lawson
6980083ed0
fix: push subscriptions per instance (#1277)
* fix: push subscriptions per instance

fixes #1274

* fixup

* add notice about one push notification per instance at a time
2019-06-19 23:00:27 -07:00
Nolan Lawson
12c5b732ae
feat: add poll result push notifications (#1227)
fixes one of the sub-tasks in #1130.

I also went ahead and removed the reply feature, because I cannot get it to work in Android 6.0.1 and I can't find any documentation for it in W3C/WHATWG, so I'm not sure how it is supposed to work.
2019-05-25 15:20:09 -07:00
Nolan Lawson
a17948cf99
feat: add home/notification filter settings (#1226)
Fixes #1223
Fixes #1224
2019-05-25 13:21:36 -07:00
Nolan Lawson
92bff6caaa
fix: minor tweaks to PushNotificationSettings (#1222) 2019-05-25 13:21:17 -07:00
sgenoud
e202dd3444 feat: Add a setting to reload the page (#1132)
* Add reload setting

The iOS PWA version does not allow you to reload the page - even with killing
the app. This is useful for reloading new versions of the app (as well as
solving bad transient state issues).

* make href use #
2019-04-08 19:23:16 -07:00
Nolan Lawson
8fc8108454
fix: back button dismisses the modal dialog (#826)
* fix: back button dismisses the modal dialog

fixes #60

* try to manage nested modals

* seems working now

* fix modal timing issue

* fix test flakiness

* improve test flakiness again

* fix muting timing issue

* Revert "fix muting timing issue"

* remove setTimeout from MediaDialog

* refactor
2019-03-24 15:08:34 -07:00
Nolan Lawson
7a152fbdac
feat: allow muting notifications when muting (#1013)
fixes #738
2019-02-18 15:43:41 -08:00
Nolan Lawson
59544d2cf4
fix: improve a11y, move preview box inside label (#997) 2019-02-15 19:03:24 -08:00
Nolan Lawson
df09b0a995
perf: prefetch all internal links (#981) 2019-02-13 18:40:02 -08:00
Nolan Lawson
3aee6fb050
fix: only call Royal the default theme if it is (#970) 2019-02-11 22:36:31 -08:00
Nolan Lawson
652ffffec4
fix: fix SettingsListItem missing className dev warning (#968) 2019-02-11 21:04:08 -08:00
Nolan Lawson
4bf3c2fd28
fix: don't show theme picker if not logged in (#967)
Also tweak some of the styles and layout in the theme picker itself
2019-02-11 21:04:00 -08:00
Nolan Lawson
8179c1b53f
fix: set dark theme based on prefers-color-scheme (#966)
* fix: set dark theme based on prefers-color-scheme

fixes #728

* add an explicit banner fill color
2019-02-11 21:03:51 -08:00
Nolan Lawson
2a96e0eeda
fix: minor fixups for accessibility and responsive design (#948)
* fix: minor fixups for accessibility and responsive design

* fix lint
2019-02-06 22:23:54 -08:00
Isabelle Knott
503378a400 feat: Add 'switch to instance' buttons next to instances in instance list. (#945) 2019-02-06 20:56:30 -08:00
Nolan Lawson
109022fab9
feat: add option to underline links in toot text (#919)
* feat: add option to underline links in toot text

* change text
2019-01-26 12:58:11 -08:00
Nathan Minchow
d7aaec16d3 feat: Add labels to theme groups (#867) 2019-01-12 09:50:17 -08:00
Nolan Lawson
4ab9687200
perf: load Toast asynchronously (#851) 2018-12-22 15:37:51 -08:00
Nolan Lawson
4bd181d3cc
fix: update Sapper to latest (#775)
* fix: update to latest sapper

fixes #416

* fix error and debug pages

* requestIdleCallback makes column switching feel way nicer than double rAF

* add export feature

* add better csp info

* workaround for sapper sub-page issue

* clarify in readme about exporting

* fix now config

* switch from rIC to triple raf

* style-loader is no longer used

* update theming guide
2018-12-11 07:31:48 -08:00