Commit Graph

2347 Commits

Author SHA1 Message Date
Nolan Lawson fc96d7137d
docs: add better docs on internationalization (#1932)
[skip ci]
2021-02-14 09:58:55 -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 eff9d6c52e
chore: update testcafe (#1918) 2021-01-24 09:36:30 -08:00
Nolan Lawson 67feaef844
chore: update emoji-picker-element (#1916) 2021-01-23 15:58:07 -08:00
Nolan Lawson 0afaef350a
perf: remove lookup-closest-locale (#1911) 2020-12-20 15:33:41 -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
dependabot[bot] 2de875795b
chore(deps): bump ini from 1.3.5 to 1.3.7 (#1907)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-13 11:33:12 -08:00
Nolan Lawson 6433a9c644
test: fix timeago unit test (#1906) 2020-11-29 18:50:13 -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 583285a09c
chore: update testcafe to 1.9.4 (#1905) 2020-11-27 19:13:55 -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 d3ce112f60
chore: fix bundler caching in circleci (#1899) 2020-11-23 18:07:38 -08:00
Nolan Lawson a124ba9dc8
chore: cache bundler correctly in CircleCI (#1898) 2020-11-23 16:29:03 -08:00
Nolan Lawson f2e51bbbfe 1.20.0 2020-11-23 14:47:45 -08:00
Nolan Lawson de2c58be6a
chore: commit vercel.json, update husky (#1896) 2020-11-23 14:43:39 -08:00
Nolan Lawson ac08a53014
chore: switch from travis to circleci (#1895)
* chore: update to circleci

* chore: fixup

* chore: fixup

* chore: remove travis.yml

* chore: wait for redis

* chore: fix postgres

* chore: try to fix db

* chore: debug

* chore: debug

* chore: try another node

* chore: try 2.5

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: fix node

* chore: cleanup

* chore: cleanup

* chore: remove travis stuff

* chore: fix emoji

* chore: fix cache

* chore: update readme
2020-11-23 12:45:01 -08:00
Nolan Lawson 006f0deee8
fix: fix tappable area between toolbar buttons (#1893)
fixes #1884

If "disable entire toot area" is on, then the cursor becomes default between the buttons, and clicking does nothing. If it is off (default), then the cursor is always pointer and clicking between the buttons clicks the whole toot.
2020-11-14 17:22:12 -08:00
Nolan Lawson 01ba161520
chore: update vercel token (#1892) 2020-11-14 15:04:28 -08:00
Nolan Lawson 9cb16ea91c
fix: move "bookmark" button past "report" (#1891)
fixes #1879
2020-11-14 14:13:45 -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 742a76b4dd
chore: update tesseract (#1889) 2020-11-14 14:13:31 -08:00
Nolan Lawson 57b75ade1b
chore: update emoji-picker-element to v1.3.0 (#1888) 2020-11-14 14:13:22 -08:00
Timo Tijhof 9acb3faac8
fix: change dark grayscale to use have a brighter action-button color (#1881)
The pressed state, such as used for the "Unfollow" button, was effectively
identical to the background, thus making it invisible.

Brighten it up to fix this. The relative differences are kept the same as
before and match the default theme,, e.g. the brightness ranges from
(darkest) Unfollow > Unfollow-hover > Follow > Follow-hover (brightest)

Fixes https://github.com/nolanlawson/pinafore/issues/1880.
2020-11-14 11:35:55 -08:00
Nolan Lawson f09e1bd975 1.19.2 2020-09-20 19:49:16 -07:00
Nolan Lawson ef3cecae74
chore: update deps of deps (#1876)
* chore: update deps of deps

* chore: pin testcafe for now
2020-09-20 19:37:45 -07:00
Nolan Lawson 04b56f5dc5
fix: remove license files from service worker (#1875) 2020-09-20 14:31:15 -07:00
Nolan Lawson 620dfafd09
chore: update emoji-picker-element (#1871) 2020-09-13 16:23:01 -07:00
Nolan Lawson 37711ee17e
fix: dynamically import focus-visible polyfill for emoji picker (#1870) 2020-09-13 15:34:01 -07:00
Nolan Lawson 7803bdf797
fix: remove LEGACY mode (#1867) 2020-09-13 13:37:54 -07:00
Nolan Lawson 295bd18e05
chore: update deps (#1863) 2020-09-07 14:42:50 -07:00
Nolan Lawson e3b3382c01
chore: update worker-loader (#1864)
* chore: update worker-loader

* fix: fix worker-loader
2020-09-07 14:42:44 -07:00
Nolan Lawson 35818250c0
chore: remove unused css-loader dependency (#1862) 2020-09-06 20:02:03 -07:00
Nolan Lawson f6ba607493
chore: update deps (#1865) 2020-09-06 20:01:55 -07:00
Nolan Lawson f1907a8315
chore: update dev deps (#1866) 2020-09-06 20:01:48 -07:00
Nolan Lawson c683a4b85d
fix: ensure bookmarks page has generated HTML file (#1861)
* fix: ensure bookmarks page has generated HTML file

* fix: only render if not logged in
2020-09-02 18:01:46 -07:00
Nolan Lawson fd7c22345c 1.19.1 2020-09-01 22:45:01 -07:00
Nolan Lawson 7445a16e3c
fix: tweak maskable PWA icons (#1860) 2020-09-01 22:14:45 -07:00
Emilia Michanek 60a146eb40
fix: pinning the bookmarks page (#1859)
Pinning the bookmarks page would accidentally pin the local timeline page due a forgotten `else if`.

Fixes #1858
2020-09-01 21:57:36 -07:00
Nolan Lawson 978afb8753 1.19.0 2020-08-31 17:29:01 -07:00
Nolan Lawson 6adad8e4a9
feat: add maskable PWA icons (#1857)
fixes #1856
2020-08-31 17:07:15 -07: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 55b9c8d3b8
fix: use absolute positioning over transform (#1850) 2020-08-29 19:19:24 -07:00
Nolan Lawson 40e9b44adc
fix(VirtualList): fix some TODOs (#1851)
* fix(VirtualList): fix some TODOs

* fix: fix memory leak

* fix: remove dead code
2020-08-29 19:19:16 -07:00
Nolan Lawson 4d1a72bb98
chore: add husky to automatically fix lint issues (#1852) 2020-08-29 19:18:59 -07:00
Nolan Lawson 1466371909
test: count store listeners in memory leak test (#1853) 2020-08-29 19:18:53 -07:00
Nolan Lawson 2f41494a9a
fix: tweak language around bookmarking (#1848)
For consistency with the rest of the UI, say "toot" instead of "status" and specify "toot."
2020-08-27 08:49:36 -07:00
Nolan Lawson 08c021bc56
fix: log an error when images cannot be decoded (#1849) 2020-08-27 08:49:22 -07:00
Nolan Lawson 5a9e5ae8bc fix: tidy up bookmarks, add tests 2020-08-25 23:47:20 -07:00