Commit graph

2155 commits

Author SHA1 Message Date
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
Nolan Lawson cc8c605828
chore: update deps (#1834) 2020-07-20 07:02:05 -07:00
Nolan Lawson d40cd429e0 1.18.1 2020-07-07 07:43:37 -07:00
Nolan Lawson bd09718cf6
fix: improve a11y of autosuggest labels (#1830) 2020-07-06 22:27:04 -07:00
Alex 780db2be22
fix: Updated Dockerfile. Referenced in #1826 (#1828) 2020-07-06 19:52:13 -07:00
Nolan Lawson f1606706c4 1.18.0 2020-07-05 19:07:38 -07:00
Nolan Lawson b8fef16a92
fix: fix mobile size of picker when searching (#1822) 2020-07-05 12:38:05 -07:00
Nolan Lawson 518691b8b2
chore: update all dev deps except testcafe (#1820) 2020-07-05 12:37:53 -07:00
Nolan Lawson 60dc4c4e7b
chore: update tesseract deps (#1819) 2020-07-05 12:37:33 -07:00
Nolan Lawson f6f9b7d294
chore: update rollup deps (#1815) 2020-07-05 12:07:17 -07:00
Nolan Lawson c5c6b6a14b
chore: update deps (#1818) 2020-07-05 10:26:32 -07:00
Nolan Lawson 30819c6c47
chore: update babel deps (#1816) 2020-07-05 10:26:25 -07:00
Nolan Lawson 8c8934a8c6
chore: update webpack deps (#1814) 2020-07-05 10:26:16 -07:00
Nolan Lawson ad066e39b1
chore: remove package-lock.json (#1813) 2020-07-05 10:26:09 -07:00
Nolan Lawson 55ded5c234
fix: fix stacking context in Safari/WebKit (#1812)
fixes #1806
2020-07-04 23:17:55 -07:00
Nolan Lawson f17096a8ac
fix: emoji picker height on mobile (#1811) 2020-07-04 19:34:21 -07:00
Nolan Lawson 44c1b6feb5 fix: fix ajax code, add test, switch parser library 2020-07-04 19:34:01 -07:00
charlag 5e7c8003db fix: Fix favorites, fix #850
This commit fixes invalid assumption that all timelines are sorted by status id.
Some, like favorites or bookmarks are sorted by private server id. To correctly
paginate we must use the Link header.

To work around the issue, offline for favorites was effectively disabled.
Statuses are still inserted into the database but we can't reproduce correct
timeline order.
2020-07-04 19:34:01 -07:00
Nolan Lawson 8bbe372fda
chore: upgrade emoji-picker-element (#1809) 2020-07-01 12:49:44 -07:00
Nolan Lawson eb436de9c3
chore: update emoji-picker-element to v1.0.1 (#1807) 2020-06-30 13:42:03 -07:00
Nolan Lawson 1371175bce
feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804)
* feat: use emoji-picker-element, add emoji autocompletions/tooltips

* fix: fix lint bug

* test: fix emoji in chrome on linux in travis

* test: try bionic in travis

* chore: try to fix travis

* chore: try to fix travis

* fix: filter unsupported emoji

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* Revert "chore: try to fix travis"

This reverts commit 3cd2d94469b2f1a20c847c2a69e088d7c8d1efdd.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -07:00
Nolan Lawson 85ce93177b
fix: add apple-mobile-web-app-capable (#1803)
Fixes #1802
2020-06-25 19:09:27 -07:00
Nolan Lawson 949fb5f8a4
docs: improve docs in Admin guide (#1794)
[skip ci]
2020-05-30 12:55:20 -07:00
Nolan Lawson ec8e872f8d
fix: better error message for invalid instances (#1793) 2020-05-30 11:05:13 -07:00
Nolan Lawson 3476b9dc7e
chore: use sass instead of node-sass (#1792)
* chore: use sass instead of node-sass

* perf: renderSync is slightly faster
2020-05-28 21:06:24 -07:00
Nolan Lawson d26470592c 1.17.0 2020-05-23 09:56:59 -07:00
Nolan Lawson ceff1f1f8f
fix: tweak indicator design again (#1789) 2020-05-23 09:28:23 -07:00
Nolan Lawson 1fc14107c8
fix: tweak nav indicator so it's a bit more prominent (#1788) 2020-05-20 21:10:56 -07:00
Nolan Lawson 4fc41affe4
chore: update node-sass (#1787) 2020-05-20 19:39:48 -07:00
Nolan Lawson bedb636182
fix: css cleanup of nav-related variables (#1786)
* fix: css cleanup of nav-related variables

* changed my mind on this margin
2020-05-20 07:07:47 -07:00
Nolan Lawson f080148aad
perf: lazy-lazy-load the :focus-visible polyfill (#1785) 2020-05-19 07:52:28 -07:00
Nolan Lawson a790004be7
fix: Revert "perf: always load focus-visible polyfill (#1780)" (#1784)
This reverts commit c98b198e60.
2020-05-18 22:19:33 -07:00
Nolan Lawson c98b198e60
perf: always load focus-visible polyfill (#1780) 2020-05-18 21:11:13 -07:00
Nolan Lawson ea1315858d
perf: use OffscreenCanvas in Chrome 82+ (#1779) 2020-05-18 20:00:02 -07:00
Nolan Lawson beade4aec3
fix: use attr rather than class for focus-visible polyfill (#1778)
fixes #1777
2020-05-16 14:25:12 -07:00