Commit graph

3503 commits

Author SHA1 Message Date
Alex Gleason
3c90937bf2
WrappedRoute: refactor with TSX+FC 2022-04-26 12:01:57 -05:00
Alex Gleason
6db00e0293 Revert "Merge branch 'allow-text-selection' into 'next'"
This reverts merge request !1262
2022-04-26 14:28:39 +00:00
Justin
0a622d0741 Allow text selection in the Status component 2022-04-26 09:54:26 -04:00
Alex Gleason
2758980021
Restore mobile account switcher, make it available to everyone 2022-04-25 18:37:20 -05:00
Alex Gleason
92cdd238b1
Merge remote-tracking branch 'origin/next' into next-small-fixes 2022-04-25 18:26:29 -05:00
Alex Gleason
b8955d63e2
SidebarMenu: make accounts clickable 2022-04-25 18:26:17 -05:00
Alex Gleason
3788980856
BundleColumnError: improve styles 2022-04-25 18:04:00 -05:00
Alex Gleason
672216d4de
BundleColumnError: convert to TSX 2022-04-25 17:54:17 -05:00
Alex Gleason
4d4070da9a
Make error routes developerOnly 2022-04-25 17:51:03 -05:00
Alex Gleason
754e669ea5
Add network error preview to Developers (/error/network) 2022-04-25 17:48:53 -05:00
Alex Gleason
d92330cbfc
ComposeForm: move EmojiPickerDropdown beside UploadButton 2022-04-25 17:38:42 -05:00
Alex Gleason
7982c2c1f2
Toggle visiblity --> Hide 2022-04-25 17:33:29 -05:00
Alex Gleason
04c4475083
StatusContent: fix markdown styles 2022-04-25 17:28:53 -05:00
Alex Gleason
190829fd09
StatusInteractionBar: fix emoji react styles 2022-04-25 17:02:37 -05:00
Alex Gleason
26b89cb8b1 Merge branch 'next' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1260
2022-04-25 22:00:03 +00:00
161f561b44 dark styles on public pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-25 23:41:02 +02:00
Alex Gleason
19d579c2a0
createAsyncThunk(): .toString() --> .type 2022-04-25 15:47:47 -05:00
1ef6c55d44 maybe add some links to sidebar menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-25 22:44:15 +02:00
Alex Gleason
72e64780f7
Update tests relying on actions/instance 2022-04-25 14:27:09 -05:00
Alex Gleason
c6456a43b6
Convert actions/instance to use createAsyncThunk() 2022-04-25 14:17:05 -05:00
Alex Gleason
fa0d08c09f
Add redux-toolkit, configureStore() 2022-04-25 12:43:13 -05:00
Justin
61f0439047 pulse -> sonar 2022-04-25 12:48:13 -04:00
Justin
af5be1c276 Remove Lottie 2022-04-25 12:40:27 -04:00
Justin
272c3c0f6d Add new Pulse effect in vanilla CSS 2022-04-25 12:39:33 -04:00
Justin
49464ad4cc Add support for formatting numbers in millions 2022-04-25 11:08:32 -04:00
Alex Gleason
3bd272622a
Nvm, definitely do cache icon requests 2022-04-24 19:07:10 -05:00
Alex Gleason
e64d93abcb
Fix Patron tests 2022-04-24 19:02:25 -05:00
Alex Gleason
d9903807ed
FundingPanel: remove unused history variable 2022-04-24 18:56:57 -05:00
Alex Gleason
9e3a1f0411
Merge remote-tracking branch 'origin/next' into next-patron 2022-04-24 18:56:24 -05:00
Alex Gleason
ba6fb43e07 Merge branch 'next' into 'next'
Allow editing/deleting lists from Lists page

See merge request soapbox-pub/soapbox-fe!1255
2022-04-24 23:56:05 +00:00
Alex Gleason
000615ced4
CryptoAddress: improve icon size 2022-04-24 18:54:46 -05:00
Alex Gleason
eaf15fd77c
LinkFooter: improve style of repo link 2022-04-24 18:38:12 -05:00
Alex Gleason
8586c8ded5
LinkFooter: add breathing room 2022-04-24 18:35:23 -05:00
Alex Gleason
18c4210cec
Fix VideoModal, remove Video close button 2022-04-24 18:24:57 -05:00
Alex Gleason
b8eff3e46b
VideoModal: convert to TSX 2022-04-24 18:07:20 -05:00
Alex Gleason
e648162f66
Modal: fix pager style 2022-04-24 17:59:12 -05:00
Alex Gleason
187af8b7d2
Improve dropdown menu styles 2022-04-24 17:53:03 -05:00
Alex Gleason
73f086c680
Add "Donor" badge 2022-04-24 17:27:08 -05:00
Alex Gleason
09ad4f0252
Merge remote-tracking branch 'origin/next-ts-conversions' into next-patron 2022-04-24 17:05:41 -05:00
Alex Gleason
2afcf5c2b6
SidebarNavigation: remove unused ImmutableMap import 2022-04-24 17:05:11 -05:00
Alex Gleason
3f9cc3cd04
Restore Patron features, context to TSX 2022-04-24 17:01:57 -05:00
5a700e702f Allow editing/deleting lists from Lists page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-24 23:12:01 +02:00
Alex Gleason
57e5d81e33
Convert Redux custom middleware to TypeScript 2022-04-24 14:40:14 -05:00
Alex Gleason
7038d6a844
Convert a bunch of files to TypeScript 2022-04-24 14:28:07 -05:00
Alex Gleason
36a5432f9a
Use PlaceholderStatus in paginated thread 2022-04-23 23:00:43 -05:00
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
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
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
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
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
285b67e390 pl translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-20 19:40:42 +02:00
a398f14b2f Lists links styling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-20 19:37:40 +02:00
5cecb2ef9e SidebarNavigation: Do not show Bookmarks/Lists links if unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-20 19:25:07 +02:00
Alex Gleason
34b83c8ad3
Onboarding: improve rendering of empty suggestions 2022-04-20 12:24:03 -05:00
Alex Gleason
41ab4f0a44
Onboarding: use a server setting instead of localStorage, fix steps when data is already present 2022-04-20 12:08:49 -05:00
Alex Gleason
ab5b8f747e
Make handleShare use status.uri instead of status.url 2022-04-20 10:54:12 -05:00
Alex Gleason
445327d139
ErrorBoundary: clear IndexedDB too 2022-04-20 10:46:49 -05:00
Alex Gleason
1deb4dfd2d
Merge remote-tracking branch 'origin/next' into next-onboarding 2022-04-20 08:23:15 -05:00
Alex Gleason
9d03b8ab93 Merge branch 'next-public-layout' into 'next'
Next: improve public pages, feature detection, etc

See merge request soapbox-pub/soapbox-fe!1243
2022-04-20 13:19:35 +00:00
Alex Gleason
be778ce533
Restore PromoPanel 2022-04-19 21:42:03 -05:00
Alex Gleason
f4d2b70077
public_layout/header: pepe feature detection 2022-04-19 18:42:28 -05:00