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
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
charlag
2113ab3d46
feat: Implement bookmarks, close #1726
2020-08-25 23:47:20 -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
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
ec8e872f8d
fix: better error message for invalid instances ( #1793 )
2020-05-30 11:05:13 -07:00
Nolan Lawson
836b0e341f
perf: lazy-load the thread context ( #1774 )
...
* perf: lazy-load the thread context
fixes #898
* more tests
* test: more tests
* simplify implementation
2020-05-16 13:35:57 -07:00
Nolan Lawson
5c4b44e3dd
fix: fix potential null exception ( #1765 )
2020-05-03 10:45:32 -07:00
Nolan Lawson
e1532ed9d1
perf: calculate plaintext from HTML content in advance in rIC ( #1748 )
...
On the Nexus 5 especially, this ensures we no longer have nearly so many
"long tasks" (i.e. responsiveness is better). It moves html-to-txt
calculation to the same step as blurhash decoding, where it can be done
in requestIdleCallback (heck, maybe someday it could just be done in a
worker thread as well).
2020-04-26 18:30:49 -07:00
Nolan Lawson
ae3bd2bda2
perf: make timeline rendering less janky ( #1747 )
...
* perf: make timeline rendering less janky
1. Ensures all statuses are rendered from top to bottom (no more shuffling-card-effect rendering)
2. Wraps all individual status renders in their own requestIdleCallback to improve input responsiveness especially only slow devices like Nexus 5.
* fix focus restoration
* only do rIC on mobile
2020-04-26 16:54:00 -07:00
Nolan Lawson
78014a7f33
fix: remove remount ( #1688 )
...
* fix: remove remount
* fixup
2019-12-23 18:10:03 -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
b8d9c29bac
perf: move async modules to individual files ( #1611 )
2019-10-29 18:58:49 -07:00
Nolan Lawson
c13b2df6c5
fix: fix duplicate accounts in replies in Pleroma ( #1592 )
...
fixes #1591
2019-10-16 18:09:19 -07:00
Nolan Lawson
2bafaa455e
fix: tweak autosuggest error logging and resetting ( #1572 )
2019-10-13 13:53:48 -07:00
Nolan Lawson
3209d934e8
fix: tweak autocomplete behavior ( #1570 )
...
tweak the hashtag sort algorithm
fix issue where wrong results shown when offline or on slow network
refactor RequestThrottler
2019-10-13 08:08:06 -07:00
Nolan Lawson
89265f709e
fix: combine request throttling logic ( #1568 )
2019-10-12 21:08:08 -07:00
Nolan Lawson
8b3842f15a
feat: add hashtag autocomplete ( #1567 )
...
* feat: add hashtag autocomplete
fixes #1209
* add test and tweak aria label and styles
* do not prefer lowercase
* Change text
2019-10-12 18:06:04 -07:00
Nolan Lawson
8f044e19c8
fix: remove basic login mode for now ( #1554 )
...
* fix: remove basic login mode for now
As described in #1552 I do not have a lot of faith in this feature, so maybe it should just be removed for now until a later release.
* fixup
* fixup
* fixup
2019-10-07 07:15:19 -07:00
Nolan Lawson
56ba259ccf
fix: fix basic login - clear store on log out ( #1545 )
...
fixes #1544
2019-09-26 09:07:49 -07:00
Nolan Lawson
4ddf47f3da
feat: implement basic login mode ( #1543 )
...
fixes #1542
2019-09-26 05:28:52 -07:00
Nolan Lawson
98a4fbb96e
fix: attempt to fix Safari login bug ( #1510 )
2019-09-22 15:12:45 -07:00
Nolan Lawson
5332a4e1e9
fix: fix null exception on community page ( #1504 )
2019-09-21 13:43:45 -07:00
Nolan Lawson
6358af5d04
feat: add legacy build ( #1502 )
...
* feat: add legacy build
* service worker should also be in ES5
* fixup
2019-09-20 23:17:52 -07:00
Nolan Lawson
abfe232f0e
fix: simplify redirect url logic ( #1500 )
2019-09-20 18:53:37 -07:00
Nolan Lawson
3e303a444d
fix: removing media should reset sensitive status ( #1497 )
...
fixes #1495
2019-09-17 00:19:59 -07:00
Nolan Lawson
08992f836a
fix: delete-and-redraft preserves sensitive status ( #1496 )
...
fixes #1494
2019-09-17 00:19:53 -07:00
Nolan Lawson
d3fb67bec3
feat: show unread follow requests on community page ( #1493 )
...
* feat: show unread follow requests on community page
fixes #477
* fixup
* fixup
2019-09-16 22:36:24 -07:00
Nolan Lawson
35058ed965
feat: mark media as sensitive without a CW ( #1486 )
...
fixes #1297
2019-09-15 10:45:46 -07:00
Nolan Lawson
de27d0e2bf
perf: don't fetch custom emoji on every page load ( #1451 )
...
fixes #812
follow-up to #1448 and #1450
2019-08-29 19:15:30 -07:00
Nolan Lawson
ebd10a43d2
perf: fetch lists from database on page load ( #1450 )
...
* perf: fetch lists from database on page load
follow-up to #1448 , I would like for there not to be a flash on the /community page where the lists suddenly load in, but I would still like to avoid the network request if possible. So when the page first loads, we can load the lists from the database and only fetch them from the network if not in the cache.
* add comment
2019-08-29 18:41:36 -07:00
Sorin Davidoi
7d8f19a672
fix(actions/instances): Clear data when token revoked ( #1446 )
2019-08-29 07:55:12 -07:00
Nolan Lawson
b46f76fbf8
fix: use url over id as media upload cache key ( #1437 )
2019-08-25 22:24:37 -07:00
Nolan Lawson
e2c137b2ef
fix: prefer local file URLs for OCR ( #1436 )
2019-08-25 21:48:59 -07:00
Nolan Lawson
4232da5e33
fix: fix lint
2019-08-19 20:23:58 -07:00
Nolan Lawson
5c9416b7fa
fix: fix blurhash for reblogged images ( #1412 )
...
fixes #1411
2019-08-19 20:23:05 -07:00
Nolan Lawson
be3b5eb9d9
fix: reduce number of blurhash performance measures ( #1395 )
2019-08-17 15:35:31 -07:00
Nolan Lawson
f8180e813f
fix: move blurhash worker operations to before status rendering ( #1391 )
...
* fix: move blurhash worker operations to before status rendering
* slight refactor
* avoid sending encoded data back and forth
* move cache outside worker
2019-08-17 14:36:13 -07:00
Nolan Lawson
00945a3608
chore: update standard to v13 ( #1370 )
2019-08-03 13:49:37 -07:00
Nolan Lawson
59bdd0bb77
fix: large streaming gaps by refetching ( #1362 )
...
fixes #1356
2019-07-28 19:38:34 -07:00
Nolan Lawson
1a53ad3fe4
fix: fix bugs in streaming gap ( #1355 )
2019-07-22 07:43:36 -07:00
Nolan Lawson
4d098d6b46
fix: fix streaming gap ( #1349 )
2019-07-21 15:31:26 -07:00
Nolan Lawson
95a68e1fe2
fix: delete-and-redraft preserves polls ( #1343 )
...
* fix: delete-and-redraft preserves polls
fixes #1342
* fix test
2019-07-19 20:08:17 -07:00
Louise de Beaufort
e5df77b2a8
fix: Use unformatted status content in deleteAndRedraft ( #1340 )
...
* Use unformatted status content in deleteAndRedraft
* deleteStatus always returns an object even when the deletion fails
* throw error
fixes #1340
2019-07-19 08:09:52 -07:00
Nolan Lawson
0e2479559b
fix: correctly parse hostname for instance block ( #1328 )
2019-07-08 20:51:17 -07:00
Nolan Lawson
6b40b2efbf
fix: add instance blocks ( #1326 )
...
* fix: add instance blocks
* block domains, not just instances
2019-07-08 19:26:44 -07:00
Nolan Lawson
85b75900c1
feat: add ability to set focal points for media ( #1303 )
...
* feat: add ability to set focal points for media
fixes #739
* fix tests
* actually fix tests
* really really fix tests
* really really really fix tests pinkie swear
2019-07-07 00:14:19 -07:00