Commit Graph

2089 Commits

Author SHA1 Message Date
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
charlag 2113ab3d46 feat: Implement bookmarks, close #1726 2020-08-25 23:47:20 -07:00
Nolan Lawson 4e8a60ddef
chore: fix vercel deployments (#1846)
* chore: fix vercel deployments

* fix: encode properly
2020-08-25 22:41:39 -07:00
Nolan Lawson c081bf67dc
chore: update testcafe (#1821) 2020-08-25 22:16:25 -07:00
Nolan Lawson 36cf9fd56d
test: add test for accessible radio buttons in /community (#1845) 2020-08-25 22:16:14 -07:00
Nolan Lawson 07deb122f3
chore: update emoji-picker-element, use declarative format (#1840) 2020-08-25 16:46:02 -07:00
Nolan Lawson 2812e4521e
chore: update from now to vercel (#1844) 2020-08-25 16:45:53 -07:00
Nolan Lawson 7de0023d17
fix: add "/" hotkey to help info (#1843) 2020-08-25 16:45:41 -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