Commit graph

624 commits

Author SHA1 Message Date
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
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
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
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
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -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
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
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
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
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
Alex Gleason
99b89d2230
external_video_id hotfix 2022-03-30 14:01:05 -05:00
Alex Gleason
c82d191dd8
ThumbNavigationLink: fix runtime error
No clue why that was happening
2022-03-30 11:34:05 -05:00
Alex Gleason
9fb3439cda Merge branch 'next-truthsocial-fixes' into 'next'
Next: TruthSocial fixes

See merge request soapbox-pub/soapbox-fe!1166
2022-03-30 16:15:32 +00:00
Alex Gleason
ebc2bf96ac
external_video_id: render card html instead of hardcoding the provider 2022-03-30 11:03:35 -05:00
Alex Gleason
36fb3759a0 Merge branch 'next' into 'next'
typescript, ThumbNavigationLink component

See merge request soapbox-pub/soapbox-fe!1165
2022-03-30 15:55:18 +00:00
cf0307af0f typescript, ThumbNavigationLink component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 17:37:30 +02:00
Justin
fbd8fa87ae Improve error handling 2022-03-30 10:40:09 -04:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +02:00
Alex Gleason
b1d2681115
WIP emoji reacts 2022-03-29 15:17:39 -05:00
6d4d96528c quote posts?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 20:12:49 +02:00
dbeb292009 wip dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
7006af2803
ui/column: fix snapshot 2022-03-28 19:02:21 -05:00
Alex Gleason
570164de33
ui/column: add relative class 2022-03-28 18:55:28 -05:00
Alex Gleason
75adf65ee9
Helmet: fix title 2022-03-28 18:55:21 -05:00
Alex Gleason
51fc8402f2
MediaGallery: use original image 2022-03-28 18:00:21 -05:00
Alex Gleason
1a1464f5ba
Poll: convert to React.FC, remove PollContainer 2022-03-26 22:24:52 -05:00
Alex Gleason
cc1df1bd09
Polls: style with Tailwind 2022-03-26 22:06:18 -05:00
Alex Gleason
9262d5c26b
Poll: break into smaller components 2022-03-26 19:53:51 -05:00
Alex Gleason
e78ea4aaf3
Polls: break out PollOptionText into a React.FC 2022-03-26 19:05:16 -05:00
Alex Gleason
334b45ec74
Polls: break out PollPercentageBar into separate component 2022-03-26 18:52:48 -05:00
Alex Gleason
0cdf898b37
Convert Polls to TSX 2022-03-26 18:11:26 -05:00
Alex Gleason
1ce340c1c5
Make polls look mostly okay 2022-03-26 15:39:50 -05:00
Alex Gleason
67c0c83b44
Refactor sidebar panels with Widget component 2022-03-25 14:08:12 -05:00
Alex Gleason
75f78dc5cb
Jest: update snapshots 2022-03-24 19:06:36 -05:00
Alex Gleason
ef0de13c91
Improve dark mode 2022-03-24 18:56:22 -05:00
Alex Gleason
f8592b3616
Jest: fix tests 2022-03-24 14:44:39 -05:00
Alex Gleason
dec49003f4
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 14:30:39 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Justin
63bafc41a1 Remove conditional to run style logic 2022-03-24 12:16:41 -04:00
Justin
97af1ece28 Resolve missing CSS variables in the theme 2022-03-24 11:48:03 -04:00
Justin
2094f9673d Fix bug when clicking on a Status 2022-03-24 08:23:18 -04:00
Alex Gleason
09d3f375d5
Dark mode: navbar bg, update snapshots 2022-03-23 21:46:59 -05:00
Alex Gleason
793b0f9128
Start adding dark mode 2022-03-23 19:18:37 -05:00
Justin
95a5ca2115 Convert Permalink to TSX 2022-03-23 13:50:45 -04:00
Justin
f0a9ed8ad4 Fix prop warnings 2022-03-23 13:50:45 -04:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin
7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Justin
614228a130 Merge branch 'improve-sensitive-design' into 'next'
Improve design of sensitive media

See merge request soapbox-pub/soapbox-fe!1129
2022-03-22 15:42:53 +00:00
Justin
122ee00f58 Improve design of sensitive media 2022-03-22 11:13:42 -04:00
Justin
40cc960985 Use React Router hook for 'history' 2022-03-22 08:42:26 -04:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Justin
012138829c Fix tests 2022-03-21 16:30:46 -04:00
Justin
e02d5142e5 Properly handle navigating to previous page if 'backHref' is undefined 2022-03-21 15:23:57 -04:00
Alex Gleason
787c6600a0
SidebarMenu: fix missing message 2022-03-21 13:39:12 -05:00
Alex Gleason
83137498d9
Generalize some language 2022-03-21 13:33:10 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3 2022-03-17 20:17:28 -05:00
Alex Gleason
1d4daee53b Merge branch 'datepicker-async' into 'develop'
Load react-datepicker asynchronously

Closes #855

See merge request soapbox-pub/soapbox-fe!1086
2022-03-16 21:42:13 +00:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
d600a74410
Revert "PollContainer: don't pass me as a prop"
This reverts commit dc2d3b1b09.
2022-03-10 19:36:58 -06:00
Alex Gleason
dc2d3b1b09
PollContainer: don't pass me as a prop 2022-03-10 16:30:42 -06:00
Alex Gleason
4bd1531056
More poll normalization fixes 2022-03-10 16:25:11 -06:00
a29019dbb0 Load react-datepicker asynchronously
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-09 22:59:51 +01:00
Alex Gleason
e7ed56127f
VerificationBadge: use tsx, add className prop 2022-03-07 12:42:00 -06:00
marcin mikołajczak
edb80c705d Merge branch 'attachment-thumbs-sensitive' into 'develop'
Fix: Quote posts do not carry sensitive tag

Closes #852

See merge request soapbox-pub/soapbox-fe!1079
2022-03-06 23:22:01 +00:00
06b8b407c5 AttachmentThumbs: sensitive tag
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
marcin mikołajczak
fd27688b11 Merge branch 'fix-modal-navigation' into 'develop'
Fix: User is returned to a previously viewed page after replying to a post

Closes #843

See merge request soapbox-pub/soapbox-fe!1078
2022-03-06 22:35:39 +00:00