Commit graph

2762 commits

Author SHA1 Message Date
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
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
Alex Gleason
b72f398bad
Use feature detection for frontendConfigurations 2022-04-19 18:33:13 -05:00
Alex Gleason
29b28edee5
Improve loading of initial data 2022-04-19 18:15:42 -05:00
Alex Gleason
e8e3379f6d
Improve LandingPage layout 2022-04-19 17:27:23 -05:00
Alex Gleason
42848164f7
Center the homepage logo 2022-04-19 17:18:01 -05:00
Alex Gleason
05b807401a
public_layout/header: use "Email or username" and i18n "Forgot password?" 2022-04-19 17:13:54 -05:00
Alex Gleason
38bb876560
public_layout/header: convert to tsx 2022-04-19 17:11:24 -05:00
Alex Gleason
862d345e26
Replace react-lottie with lottie-web, move that giant Pulse animation into a chunk 2022-04-19 17:03:28 -05:00
Alex Gleason
45018a6fb0
Refactor ErrorBoundary, let it destroy the ServiceWorker 2022-04-19 16:30:10 -05:00
Alex Gleason
0c98157fb3
Delete WelcomeButton, remove TruthSocial remnants 2022-04-19 15:24:12 -05:00
Alex Gleason
564524bfcc
AuthLayout: use logo from soapboxConfig 2022-04-19 15:20:50 -05:00
Alex Gleason
440309b7dd
AuthLayout: convert to tsx 2022-04-19 15:13:48 -05:00
Alex Gleason
33c2fcdea7
LoginForm: "Email or username", fixes #895 2022-04-19 15:10:03 -05:00
Alex Gleason
79c04713e1
LoginForm: convert to tsx 2022-04-19 15:06:35 -05:00
Alex Gleason
7630c64ddd
ExternalLogin: convert to tsx 2022-04-19 15:04:34 -05:00
Alex Gleason
5731b9b1c7
Redirect all /auth routes 2022-04-19 14:37:48 -05:00
Alex Gleason
f577f6fcbe
Account: normalize favicon and domain, clean up account.tsx 2022-04-19 12:28:47 -05:00
Alex Gleason
e5ca5464b7
Widget: fix action button in dark mode 2022-04-19 12:28:37 -05:00
Alex Gleason
5a4ad706cf
Widget: prevent circular imports 2022-04-19 11:37:06 -05:00
Alex Gleason
6968c6bf40
Remove BirthdayReminders component 2022-04-18 23:35:40 -05:00
Alex Gleason
67b0b6a317
Add BirthdayPanel 2022-04-18 23:30:40 -05:00
Alex Gleason
97b5c5af43
Widget: add actions 2022-04-18 23:10:01 -05:00
Alex Gleason
000121d74f
Notifications: use Virtuoso 2022-04-18 19:00:19 -05:00
Alex Gleason
c523e95789 Merge branch 'fix-pending-status' into 'next'
Improve Pending Status design

See merge request soapbox-pub/soapbox-fe!1236
2022-04-18 21:23:51 +00:00
Alex Gleason
4bfffebb32
Normalize accounts in who-to-follow-panel.test.tsx 2022-04-18 16:04:58 -05:00
2711291de6 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-18 22:21:54 +02:00
Justin
76a04ccbb9 Improve Pending Status design 2022-04-18 15:08:41 -04:00
Justin
582767e673 Fix bugs with Account component 2022-04-18 12:15:15 -04:00
8a0913ac84 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-17 23:28:04 +02:00
dc3c273311 Birthdays modal to TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-17 23:27:33 +02:00
Alex Gleason
bc8e9254cf
EditProfile: conditional features 2022-04-16 21:16:01 -05:00
Alex Gleason
39f6910d27
Poll: fix squished radio buttons 2022-04-16 21:08:18 -05:00
Alex Gleason
704524ea34
QuotedStatus: stopPropogation 2022-04-16 19:46:55 -05:00
Alex Gleason
24ffe230d5 Merge branch 'next_' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1231
2022-04-17 00:28:13 +00:00
Alex Gleason
35396923be
Test rendering notifications 2022-04-16 19:03:33 -05:00
239e4b9d61 modals?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-16 23:25:15 +02:00
fe92b37d6d Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-16 23:19:22 +02:00
6c1a10e657 dark mode styles?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-16 23:10:50 +02:00
Alex Gleason
69e22a4144
Notification: restore most notification types 2022-04-16 14:15:37 -05:00
Alex Gleason
5d2e10b2fa
Merge remote-tracking branch 'origin/next' into next-notifications 2022-04-16 13:44:21 -05:00
Alex Gleason
722c96bec2
Notification: convert to TSX 2022-04-16 13:43:55 -05:00
Alex Gleason
9d4b084764
Card: improve normalization of Pleroma OG fields 2022-04-16 12:57:17 -05:00
Alex Gleason
53a54bcc96
Convert Status Card to TSX+FC, trim obscenely long titles 2022-04-16 12:48:05 -05:00
Alex Gleason
bf8de20e0d
Prevent clicking stuff in statuses from expanding the status 2022-04-16 11:53:00 -05:00
Alex Gleason
2ebf4777c2
Nuke the local uuid implementation 2022-04-15 20:00:03 -05:00
Alex Gleason
7882bbf98f
Convert application entrypoint files into Typescript 2022-04-15 19:54:40 -05:00