Commit graph

4522 commits

Author SHA1 Message Date
Alex Gleason
f672f46809
WIP Paginated Context API 2022-04-23 22:31:49 -05:00
Alex Gleason
bcb8d75f71
ScrollableList: don't call onLoadMore() unless it hasMore 2022-04-23 16:43:37 -05:00
Alex Gleason
c4f7106b77 Merge branch 'next-features' into 'next'
Next: Extensive features documentation

See merge request soapbox-pub/soapbox-fe!1252
2022-04-23 21:15:25 +00:00
Alex Gleason
2704bfe2ef Merge branch 'next-virtuoso-threads' into 'next'
Next: Use ScrollableList in threads

See merge request soapbox-pub/soapbox-fe!1251
2022-04-23 20:55:46 +00:00
Alex Gleason
677327336f
Features: sort keys alphabetically 2022-04-23 15:54:57 -05:00
Alex Gleason
ab2e6b2ee3
Features: extensive documentation 2022-04-23 15:40:54 -05:00
Alex Gleason
a616ed215b
Use ScrollableList in threads 2022-04-23 12:20:25 -05:00
Alex Gleason
8becc4de2a
Layout: add breathing room to bottom of UI, fixes #880 2022-04-23 12:19:51 -05:00
Alex Gleason
7b6a56c005
ScrollableList: use Virtuoso component types 2022-04-23 11:28:28 -05:00
Alex Gleason
942027bbd9 Merge branch 'next' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1250
2022-04-22 21:12:22 +00:00
Alex Gleason
0a1cc033af Merge branch 'next-scrollable-list' into 'next'
Next: Reimplement ScrollableList with Virtuoso

See merge request soapbox-pub/soapbox-fe!1249
2022-04-22 21:11:29 +00:00
Alex Gleason
ea34a7f303
DELETE INTERSECTION OBSERVER ARTICLE 2022-04-22 13:13:40 -05:00
Alex Gleason
da17214a0b
Fix Notifications pagination 2022-04-22 13:05:55 -05:00
Alex Gleason
006e253e23
ScrollableList: Don't support autoloadMore for now
This setting allowed disabling endless scrolling, and would display a clickable "load more" button at the bottom of the feed.
2022-04-22 13:00:12 -05:00
Alex Gleason
083b3c22d0
ScrollableList: render emptyMessage inside the PullToRefresh 2022-04-22 12:56:06 -05:00
Alex Gleason
730556a692
ScrollableList: render a spinner if placeholder isn't provided 2022-04-22 12:27:37 -05:00
Alex Gleason
ae48cb2c06
ScrollableList: replace margins with padding 2022-04-22 12:24:09 -05:00
8f848877a0 yarn lint:js
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-22 19:08:37 +02:00
a68a00dbd4 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-22 18:18:36 +02:00
759607a44a Onboarding styles, I guess
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-22 17:50:17 +02:00
Alex Gleason
a8c306e62b
ScrollableList: add placeholder footer, fix "empty" state 2022-04-22 10:23:53 -05:00
0e3d0e25b5 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-22 17:13:30 +02:00
Alex Gleason
0d463bbbd1
ScrollableList: fix empty children 2022-04-22 09:35:52 -05:00
Alex Gleason
b3f4abc8c1
Reimplement ScrollableList with Virtuoso 2022-04-21 21:50:12 -05:00
Alex Gleason
0658c51058
Notifications: typofix 2022-04-21 21:49:34 -05:00
Alex Gleason
d82133eea2
Notifications: refactor placeholders loading state 2022-04-21 20:24:04 -05:00
Alex Gleason
5580e5c860
Notifications: use flex-none on icons 2022-04-21 18:30:54 -05:00
Alex Gleason
9e50f76d78
Merge branch 'next-small-fixes' into next 2022-04-21 18:28:54 -05:00
Alex Gleason
b531115c02 Merge branch 'next-container' into 'next'
Next: convert Soapbox container to TSX+FC

See merge request soapbox-pub/soapbox-fe!1248
2022-04-21 23:27:56 +00:00
Alex Gleason
ba5fd4aa2a
Chats propTypes fixes 2022-04-21 18:27:36 -05:00
Alex Gleason
4047f796d1
Refactor Account favicon into a button component, gets rid of console error 2022-04-21 18:27:16 -05:00
Alex Gleason
eecc46cbdc
Fix useEffect() calls... whoops 2022-04-21 17:52:48 -05:00
Alex Gleason
79a5820687
SoapboxMount: fix useEffect() 2022-04-21 17:47:11 -05:00
Alex Gleason
6012b2a5ba
Delete dysfunctional test 2022-04-21 17:38:13 -05:00
Alex Gleason
f476b5ce96
Mock IndexedDB in tests 2022-04-21 17:03:29 -05:00
Alex Gleason
6b19adbb26
Add basic tests to containers/soapbox 2022-04-21 14:32:10 -05:00
Alex Gleason
b6c7e3717b
test-setup: mock uuid as a string 2022-04-21 12:24:54 -05:00
Alex Gleason
6184ab780a
ErrorBoundary: fix BuildConfig import 2022-04-21 12:20:26 -05:00
Alex Gleason
ce42a47e70
Convert containers/soapbox into TSX 2022-04-21 12:19:33 -05:00
Alex Gleason
04eac8a95e
SoapboxMount: convert to React.FC 2022-04-21 11:47:28 -05:00
Alex Gleason
426f02722a
Make Soapbox component an FC, move console.log 2022-04-21 11:21:09 -05:00
Alex Gleason
ef5ceeacfe
Fix soapboxConfig propType errors 2022-04-21 11:10:35 -05:00
Alex Gleason
5cf66dca2c Merge branch 'next-emoji-reacts' into 'next'
Next: emoji reacts fixes

See merge request soapbox-pub/soapbox-fe!1247
2022-04-20 22:08:12 +00:00
Alex Gleason
889027cd02
Use heart icon instead of thumb-up, fix focus ring 2022-04-20 16:48:17 -05:00
Alex Gleason
b31d088525
EmojiButtonWrapper: remove onBlur event (the desired outcome already happens with onMouseLeave) 2022-04-20 16:40:22 -05:00
Alex Gleason
234e008c93
EmojiButtonWrapper: improve Popper positioning 2022-04-20 16:35:09 -05:00
Alex Gleason
6e4ba02d6e Merge branch 'snippets' into 'next'
Next: Allow custom HTML snippets in build

See merge request soapbox-pub/soapbox-fe!1246
2022-04-20 19:16:41 +00:00
Alex Gleason
ed223a9ff6
Allow custom HTML snippets in build 2022-04-20 13:58:22 -05:00
marcin mikołajczak
edd8c2705a Merge branch 'next' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1245
2022-04-20 17:55:29 +00:00
Alex Gleason
074a1a6fce Merge branch 'next-onboarding' into 'next'
Next: onboarding flow

See merge request soapbox-pub/soapbox-fe!1217
2022-04-20 17:53:02 +00:00