Commit graph

2763 commits

Author SHA1 Message Date
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
Alex Gleason
2828f233d5
Restore ProfileMediaPanel, convert to TSX+FC 2022-04-15 19:14:34 -05:00
Alex Gleason
72879da710
actions/security: fix parseVersion import 2022-04-15 18:32:56 -05:00
Alex Gleason
5ca4e2fef7
Merge branch 'next' of gitlab.com:soapbox-pub/soapbox-fe into next 2022-04-15 18:13:53 -05:00
Alex Gleason
b47278582a
actions/security: conditionally use truthsocial password reset endpoint 2022-04-15 18:13:24 -05:00
Alex Gleason
dcc25c5d8e Merge branch 'next-status-content' into 'next'
Next: Convert StatusContent to TypeScript React.FC, refactor

See merge request soapbox-pub/soapbox-fe!1226
2022-04-15 23:10:43 +00:00
Alex Gleason
be9bfa6409
StatusContent: refactor updateStatusLinks, remove reblogContent prop 2022-04-15 17:51:12 -05:00
Alex Gleason
2cfb151542
StatusContent: break out ReadMoreButton and SpoilerButton into FC's 2022-04-15 17:41:53 -05:00
Alex Gleason
cfbba43ca4
StatusContent: typescript, React.FC 2022-04-15 16:59:42 -05:00
Alex Gleason
05068460e0
ChatList: use Virtuoso 2022-04-15 15:19:34 -05:00
75e8525798 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-15 14:57:47 +02:00
Alex Gleason
952e06ce41
AutosuggestTextarea: fix expand animation 2022-04-14 19:00:31 -05:00
Alex Gleason
8da30ad98f
Fix video letterboxing 2022-04-14 15:47:55 -05:00
5a81c4672a Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-14 22:33:17 +02:00
2d0dbf6005 dark
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 22:20:53 +02:00
19aa4b254e Support 'status' notification type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 22:14:54 +02:00
Justin
42396c4c4c Merge branch 'remove-preheader' into 'next'
Remove Preheader files

See merge request soapbox-pub/soapbox-fe!1220
2022-04-14 20:12:27 +00:00
Justin
6b281c72a3 Remove Preheader files 2022-04-14 15:56:09 -04:00
Alex Gleason
c5646cf873
Add a TestTimeline for previewing certain types of posts 2022-04-14 14:46:07 -05:00
Alex Gleason
8083b4b6e3 Merge branch 'next-more' into 'next'
Next: Nuke FeaturesPanel, add "More" menu to left sidebar

See merge request soapbox-pub/soapbox-fe!1218
2022-04-14 18:35:47 +00:00
Justin
7e42679478
Add meta tag for iOS banner 2022-04-14 13:24:47 -05:00
Alex Gleason
5955a0819a
Nuke FeaturesPanel, add "More" menu to left sidebar 2022-04-14 13:16:08 -05:00
f745c9fc97 typescript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 18:10:46 +02:00
92a6058f26 typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 17:50:47 +02:00
Justin
8afb0f6e6f
Remove old comment 2022-04-14 10:43:11 -05:00
Justin
ec79f6354d
Skip onboarding if waitlisted 2022-04-14 10:43:11 -05:00
Alex Gleason
c29f2400ad
Onboarding: move TS-specific dialog to custom locale 2022-04-14 10:43:08 -05:00
Alex Gleason
747af447c5
Onboarding: i18n 2022-04-14 10:42:56 -05:00
Justin
98c77006ce
Add Onboarding components 2022-04-14 10:42:56 -05:00
Justin
c8c715ee4b
Add Onboarding controls to Redux 2022-04-14 10:42:56 -05:00
Justin
3bd8ef13ef
Add 'link' theme to Button 2022-04-14 10:42:56 -05:00
Justin
afec2ad9ea
Add 'strokeWidth' prop to Icon 2022-04-14 10:42:56 -05:00
Justin
fd6ae83fe7
Add 'maxLength' prop to Input 2022-04-14 10:42:55 -05:00
Justin
3e0d7de2cd
Add more sizes to Stack 2022-04-14 10:42:55 -05:00
Justin
b7e9015dfd
Add 'transform' prop to Text 2022-04-14 10:42:55 -05:00
Justin
f625e13a25
Update Textarea type 2022-04-14 10:42:55 -05:00
Justin
5e626995df
Convert Registration component test to TSX 2022-04-14 10:42:55 -05:00
Justin
6aa69f57b8
Convert Registration component to TSX 2022-04-14 10:42:55 -05:00
23943ccdee Remote interaction modal styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:51:23 +02:00
bd1e6d364a AutosuggestInput dark styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:36:07 +02:00
580633c915 AccountContainer: use withDate
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:31:50 +02:00
39b819241f Dashboard styles, typescript, add useAppDispatch
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:24:11 +02:00
Alex Gleason
4230464812
Disable PreHeader 2022-04-13 18:28:05 -05:00
Alex Gleason
b79b74918f
Restore Dashboard links to navigation 2022-04-13 18:15:23 -05:00
Alex Gleason
a0a02a2700 Merge branch 'next-mobile' into 'next'
Next: mobile fixes

See merge request soapbox-pub/soapbox-fe!1213
2022-04-13 22:53:51 +00:00
Alex Gleason
9596ed072b
EmojiButtonWrapper: improve touch behavior 2022-04-13 17:37:38 -05:00
44b64d51c4 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-14 00:05:21 +02:00
2faaa75d9c tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 00:04:41 +02:00
Alex Gleason
eaf42370b9
ComposeForm: make all buttons acessible on mobile (hotfix) 2022-04-13 15:49:36 -05:00
Alex Gleason
883ffb0a74
TimelineQueueButtonHeader: add whitespace-nowrap 2022-04-13 15:46:26 -05:00
50797119ff typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-13 16:07:50 +02:00
Justin
74c2e8ea15 Add tests for WhoToFollowPanel 2022-04-13 09:42:01 -04:00
Alex Gleason
934055557f
Fix sidebar reducer test 2022-04-12 20:23:45 -05:00
Alex Gleason
13b6652feb
Merge remote-tracking branch 'origin/next' into next-timelines 2022-04-12 20:11:17 -05:00
Alex Gleason
b727ef3d21
Add timeline links to navigation 2022-04-12 20:10:47 -05:00
Alex Gleason
9c79ae386a
SidebarMenu: convert to tsx 2022-04-12 19:52:20 -05:00
Alex Gleason
8377e3c86b
Make darkMode a feature (for now) 2022-04-12 19:08:42 -05:00
Alex Gleason
3e988cb3a3
Merge remote-tracking branch 'origin/next' into next-theme-picker 2022-04-12 19:02:35 -05:00
7a36837585 typescript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-12 22:40:09 +02:00
Alex Gleason
93a6945b7f
Let a custom auth app be embedded in the build 2022-04-12 15:23:18 -05:00
Alex Gleason
b2a67820ab Merge branch 'node-16' into 'next'
Upgrade to Node.js 16.x

See merge request soapbox-pub/soapbox-fe!1205
2022-04-12 17:30:20 +00:00
Alex Gleason
21d7cafe26 Merge branch 'next-emoji-reacts' into 'next'
Next: Emoji reacts pt 2

See merge request soapbox-pub/soapbox-fe!1204
2022-04-12 17:22:55 +00:00
Alex Gleason
9b7f8b3816
Fix API mock in verification test 2022-04-12 12:13:51 -05:00
b5ae9adf63 Chats: typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-12 18:52:56 +02:00
ae396544a7 Typescript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 23:02:37 +02:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
267ab4b153 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-11 20:11:47 +02:00
Alex Gleason
c5c1f83f36
Fix lint 2022-04-10 20:56:16 -05:00
Alex Gleason
ba5c3b224c
EmojiButtonWrapper: handle click 2022-04-10 20:41:00 -05:00
Alex Gleason
0912700d15
Create preliminary EmojiButtonWrapper component 2022-04-10 20:31:24 -05:00
Alex Gleason
f316dac83e
eslint: scream if I try putting a JS comment in a JSX text node 2022-04-10 19:59:53 -05:00
Alex Gleason
41d49e0fe7
Add preliminary Pixelfed support 2022-04-10 18:21:52 -05:00
Alex Gleason
ae48c6e619
Fix action bar emoji labels 2022-04-10 16:07:23 -05:00
Alex Gleason
1466a08193
Perform better normalization of allowedEmoji 2022-04-10 15:44:51 -05:00
Alex Gleason
54d76d6b56
Move emoji utils into its own module 2022-04-10 15:25:07 -05:00
af92c6fd87 Fix ThumbNavigationLink icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 22:20:43 +02:00
Alex Gleason
c8220be1b4
Merge remote-tracking branch 'origin/develop' into next 2022-04-10 14:46:51 -05:00
Sean Meininger
570fd25a70 Grammatical fix for birthday reminder text 2022-04-10 12:18:44 -07:00
Alex Gleason
f9d01dab0a
Make the ThemeToggle look decent, unhide it 2022-04-10 13:42:52 -05:00
Alex Gleason
04e3b91c29 Merge branch 'next-icons' into 'next'
Use custom SvgIcon component wrapper around InlineSVG

See merge request soapbox-pub/soapbox-fe!1195
2022-04-10 18:42:19 +00:00
Alex Gleason
c7b768b88d
SvgIcon: loader fallback 2022-04-10 13:25:10 -05:00
Alex Gleason
734750a46a
eslint: disallow importing react-inlinesvg directly 2022-04-10 13:18:10 -05:00
Alex Gleason
b391f65e3c
SvgIcon: add tests 2022-04-10 12:56:15 -05:00
Alex Gleason
bd39b76799
SvgIcon: pass className to loader 2022-04-10 12:25:53 -05:00
b7e1fbb693 lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 14:26:30 +02:00
98ff406ddf typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:46:25 +02:00
4f358b9632 Remove ReplyMentionsContainer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:07:03 +02:00
da09365055 Dark styles for select component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 11:11:08 +02:00
7d2a62b181 ReplyMentions component to ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:48:56 +02:00
fb3b88b80b reply mentions modalto tsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:20:12 +02:00
8be889734c well, fix confirmation modal after fixing a typo
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:23:00 +02:00
2fbac4600c MissingDescriptionModal to functional component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:20:50 +02:00
14337e7839 Missing description modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:16:26 +02:00
0252f0525a Fix typo in confirmation modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:05:33 +02:00
e4908fe2b2 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 20:58:23 +02:00
Alex Gleason
423c005437
Use custom SvgIcon component wrapper around InlineSVG 2022-04-07 13:48:04 -05:00
Alex Gleason
17ee19aca7 Merge branch 'next-emoji-test' into 'next'
Next: Refactor Emoji component, add more comprehensive tests

See merge request soapbox-pub/soapbox-fe!1193
2022-04-07 16:32:38 +00:00
Justin
ad381d7fbc Add tests for TrendsPanel 2022-04-07 11:55:15 -04:00
Alex Gleason
182f5e6302
Refactor Emoji component, add more comprehensive tests 2022-04-07 10:24:41 -05:00
Justin
4f1cf84d39 Add tests for Modal 2022-04-07 11:01:38 -04:00