Commit graph

3568 commits

Author SHA1 Message Date
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
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
1482b89323
Fix letterboxed image background 2022-04-14 15:58:22 -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
0b3509b5bd Support 'status' notification type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 22:08:53 +02: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
211a1fc88b dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:37:20 +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
Justin
b6ce38122d Add simple test for FormActions 2022-04-07 10:12:23 -04:00
Justin
dbe6a0c415 Merge branch 'add-search-tests' into 'next'
Add tests for Search

See merge request soapbox-pub/soapbox-fe!1190
2022-04-07 14:06:00 +00:00
Justin
f8b6f8db28 Add tests for Search 2022-04-07 09:50:50 -04:00
63b90718b7 next
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-06 23:59:00 +02:00
bfd92827d9 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-06 23:36:15 +02:00
Alex Gleason
8d96409236 Merge branch 'next-pepe' into 'next'
LandingPage: conditional registration flow

See merge request soapbox-pub/soapbox-fe!1187
2022-04-06 19:12:56 +00:00
Alex Gleason
fe4c2d5c5b
Try using react-sticky-box instead of react-stickynode 2022-04-06 10:04:06 -05:00
Alex Gleason
48fb37a90d
Layout: convert to tsx, use react-stickynode again 2022-04-05 18:06:30 -05:00
8f7a0e9942 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 23:49:35 +02:00
d727a3a7c5 update snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 23:47:56 +02:00
Alex Gleason
a7d450a7c0
Fix landing_page test filename 2022-04-05 15:01:31 -05:00
Alex Gleason
f77d1789d0 Merge branch 'next-sw' into 'next'
Next: Enable the ServiceWorker

See merge request soapbox-pub/soapbox-fe!1186
2022-04-05 20:00:54 +00:00
Alex Gleason
40ac9bece9
Enable the ServiceWorker 2022-04-05 14:43:29 -05:00
Alex Gleason
ec83c3bc57
LandingPage: conditional registration flow 2022-04-05 14:38:49 -05:00
Alex Gleason
efe5670147
Refactor VerificationBadge 2022-04-05 12:32:41 -05:00
Justin
8251af62f2 Add test for Emoji 2022-04-05 11:03:57 -04:00
Justin
42c28610a8 Improve tests for Button 2022-04-05 10:42:19 -04:00
Justin
887ef55cd4 Merge branch 'avatar-tests' into 'next'
Add tests for Avatar

See merge request soapbox-pub/soapbox-fe!1182
2022-04-05 14:01:08 +00:00
Justin
e5ac95d050 Add tests for Avatar 2022-04-05 09:43:26 -04:00
dd1f8a257e styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 00:03:26 +02:00
Alex Gleason
20aa17ce64 Merge branch 'next-status-loading' into 'next'
Next: Improve status loading, refactor Status components to TSX

See merge request soapbox-pub/soapbox-fe!1179
2022-04-04 21:36:47 +00:00
Justin
2d565a7ebf Merge branch 'hide-sensitive-content' into 'next'
Fix sensitive content bugs

See merge request soapbox-pub/soapbox-fe!1178
2022-04-04 21:17:07 +00:00
Alex Gleason
b3d510911c
StatusInteractionBar: convert to tsx and React.FC 2022-04-04 16:17:02 -05:00
Alex Gleason
d976811cf1
Convert DetailedStatus to tsx, pretty much 2022-04-04 15:55:28 -05:00
Justin
6e62f894e3 Fix sensitive content bugs 2022-04-04 16:51:29 -04:00
Alex Gleason
1a4401ce75
Convert ThreadStatus to tsx 2022-04-04 15:20:17 -05:00
Justin
c465e68f67 Add tests for LoginForm 2022-04-04 16:07:09 -04:00
Alex Gleason
aa808be682
Display a thread loading state 2022-04-04 14:44:31 -05:00
773f2f62b0 Add text color for columns
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-04 21:39:45 +02:00
Alex Gleason
e88fe4a707
Clean up me usage 2022-04-04 14:24:55 -05:00
Justin
43512a469b Add tests for Registration component 2022-04-04 15:21:34 -04:00
Alex Gleason
fdb44d615d
Convert features/status/index to typescript (pretty much) 2022-04-04 14:17:24 -05:00
Justin
827bca3fd6 Silence prop warnings in test suite 2022-04-04 15:05:15 -04:00
Alex Gleason
c51441c026
TypeScript: reducers/me 2022-04-04 12:44:05 -05:00
Justin
dcc90bc99a Add registration & verification tests 2022-04-04 11:54:00 -04:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Justin
9a099b3fa7 Add "react-testing-library"
This commit also removes our older testing libraries like Enzyme and React Test Renderer.
2022-04-04 11:51:32 -04:00
Alex Gleason
41ae50c495 Merge branch 'next-emoji-reacts' into 'next'
Next: emoji reacts part 1

See merge request soapbox-pub/soapbox-fe!1161
2022-04-03 18:09:27 +00:00
1f697dd8f2 hotkeys modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:40:06 +02:00
52ddbcdb73 styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:39:36 +02:00
abf98cb75a Conditionally display some hotkeys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:34:00 +02:00
1ba551b88b styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:27:08 +02:00
Alex Gleason
d738e7d5bf
Fix tests 2022-04-02 21:40:47 -05:00
Alex Gleason
cc1b478e3f
StatusActionButton: change the way color props work 2022-04-02 20:23:00 -05:00
Alex Gleason
bd98842434
Refactor StatusActionButton 2022-04-02 18:43:34 -05:00
Alex Gleason
82130a1612
StatusActionBar: remove a bunch of .get() calls 2022-04-02 13:07:12 -05:00
Alex Gleason
96ccc66641
Convert DropdownMenu to typescript 2022-04-02 13:03:12 -05:00
Alex Gleason
a080ed8647
status.tsx: extend withRouter props 2022-04-02 11:55:54 -05:00
Alex Gleason
c74d154874
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-04-02 10:48:45 -05:00
e36e5b5996 Update snapshots
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:47:46 +02:00
e36212e0ed Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-02 16:10:42 +02:00
0661ca25be styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:10:16 +02:00
Alex Gleason
a045ec45df
StatusActionButton improvements 2022-04-01 22:28:46 -05:00
Alex Gleason
883545b3b3
StatusActionButton: treat element as a group 2022-04-01 21:55:29 -05:00
Curtis
590381fb23 Update header.js 2022-04-02 02:30:04 +00:00
Alex Gleason
dfb5e7f41b
SidebarNavigationLink: set parent height for before svg is loaded 2022-04-01 20:41:20 -05:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
4a8f08e313
StatusActionBar: convert to tsx 2022-04-01 18:39:27 -05:00
Alex Gleason
c59ff4e822
StatusActionCounter: use shortNumberFormat 2022-04-01 17:45:09 -05:00
Alex Gleason
3fe21ce268
StatusActionBar: conditionally render dumb Like button 2022-04-01 17:38:36 -05:00
Alex Gleason
561f348094
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-04-01 16:24:25 -05:00
Alex Gleason
6cb04965a2
StatusActionBar: refactor buttons 2022-04-01 16:16:10 -05:00
84cc259a8b styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-01 22:55:53 +02:00
Alex Gleason
0f044ad8e8
Create StatusActionButton component 2022-04-01 15:45:48 -05:00
Alex Gleason
6c8bc3f329
Hoverable component: we've come full circle 2022-04-01 14:55:42 -05:00
Alex Gleason
1742236074
First pass at Hoverable component 2022-04-01 13:31:08 -05:00
Alex Gleason
69de2aad55
Restyle emoji components 2022-04-01 11:42:07 -05:00
Alex Gleason
f03fb5b73c
Create now emoji-selector functional component (wip) 2022-03-31 21:17:29 -05:00
Alex Gleason
5e8472e29d
EmojiSelector: fix onReact prop 2022-03-31 20:47:28 -05:00
Alex Gleason
52982706fe
Add Emoji functional component 2022-03-31 20:32:53 -05:00
Alex Gleason
ee1ef09201
EmojiSelector: convert to tsx 2022-03-31 19:03:43 -05:00
Alex Gleason
836c02b388
Convert reducers/alerts to Typescript 2022-03-31 18:18:39 -05:00
Alex Gleason
7efa10e7e0
Convert reducers/admin to Typescript 2022-03-31 18:10:34 -05:00
Alex Gleason
dddba516fb
Convert selectors/index to Typescript 2022-03-31 17:00:31 -05:00
Alex Gleason
830fb67215
Fix Jest snapshot 2022-03-31 14:29:04 -05:00
Alex Gleason
c077a4ea58
Improve status.card normalization (it will never be a string) 2022-03-31 14:28:09 -05:00
Alex Gleason
c4dd3c65f9
Convert components/status to Typescript 2022-03-31 14:13:43 -05:00
Alex Gleason
733d240893
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-03-31 11:47:07 -05:00
Justin
3bea4927be Change copy for generic 500 error 2022-03-31 07:13:47 -04:00
Alex Gleason
ba7f99096c
utils/features: don't call .get 2022-03-30 16:30:04 -05:00
Alex Gleason
462658dda7
LinkFooter: replace account aliases with account migration 2022-03-30 15:53:48 -05:00
Alex Gleason
ac7b8553d4
LinkFooter: don't use <ul> tag 2022-03-30 15:51:49 -05:00
Alex Gleason
548ecef20f
LinkFooter: convert to TSX 2022-03-30 15:50:16 -05:00
Alex Gleason
99b89d2230
external_video_id hotfix 2022-03-30 14:01:05 -05:00
Alex Gleason
531f6f3993
Improve bg-shape-1 color normalization 2022-03-30 12:13:23 -05:00
Alex Gleason
c62cd9898a
Fix background shapes for dark mode 2022-03-30 12:08:32 -05:00
marcin mikołajczak
beeec8ba06 Merge branch 'next' into 'next'
Polish translation

See merge request soapbox-pub/soapbox-fe!1167
2022-03-30 17:01:01 +00:00
9915fb3c04 Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 18:43:39 +02:00
Alex Gleason
c82d191dd8
ThumbNavigationLink: fix runtime error
No clue why that was happening
2022-03-30 11:34:05 -05:00