Commit graph

565 commits

Author SHA1 Message Date
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
5b46f0c0f7 Fix: User is returned to a previously viewed page after replying to a post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:20:13 +01:00
Alex Gleason
067e3a26f5
Allow setting a custom verified icon 2022-03-05 13:55:41 -06:00
Alex Gleason
583de44b35
Use an SVG verified icon 2022-03-05 13:17:03 -06:00
Justin
74af8c0e91 Fix scroll-to-top on Notifications 2022-03-03 10:13:45 -05:00
Alex Gleason
e9efb6078d
Merge remote-tracking branch 'origin/develop' into revert-7d2ccc72 2022-02-28 14:15:09 -06:00
Alex Gleason
d86eac4c1a
Remove isVerified() function 2022-02-27 22:25:23 -06:00
Alex Gleason
3a5c62cb70 Revert "Merge branch 'revert-f59d977a' into 'develop'"
This reverts merge request !1056
2022-02-27 00:13:35 +00:00
Alex Gleason
1f549ebe1a Revert "Merge branch 'typescript' into 'develop'"
This reverts merge request !859
2022-02-26 23:55:34 +00:00
Alex Gleason
79b782600b
Merge remote-tracking branch 'origin/develop' into typescript 2022-02-26 15:40:39 -06:00
bb6e904642 Use gavel icon from Tabler icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 13:32:54 +01:00
Alex Gleason
a6a87f6702
Convert Badge component to typescript 2022-02-23 15:29:03 -05:00
Alex Gleason
8bc790de17
ErrorBoundary: display Soapbox version 2022-02-23 12:42:04 -05:00
Alex Gleason
01bf8b4729
Merge remote-tracking branch 'origin/develop' into fix-self-reply 2022-02-23 12:03:04 -05:00
f9b934d8f5 Fix 'View context' in media modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-22 08:52:33 +01:00
Alex Gleason
70ac6b2a76
Fix error in ErrorBoundary 2022-02-21 03:17:52 -05:00
Alex Gleason
f7f18fac79
Refactor status normalizer 2022-02-20 02:27:29 -05:00
Alex Gleason
10c6a82e53
SidebarMenu: /settings/aliases --> /settings/migration 2022-02-18 22:22:11 -05:00
Alex Gleason
635f88f5e8
Rewrite code with optional chaining (?.) 2022-02-18 21:04:18 -05:00
5f73f96735 Minor modals cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 22:38:15 +01:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
Alex Gleason
a4060f8a4c Merge branch 'normalize-attachments' into 'develop'
Status: normalize media attachments

See merge request soapbox-pub/soapbox-fe!1036
2022-02-12 00:13:02 +00:00
Alex Gleason
63fa3e7154
Status: normalize media attachments 2022-02-11 17:58:18 -06:00
66ab33a550 Fix item deletion on 'Edit profile' and 'Soapbox config' pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-12 00:11:15 +01:00
c672f7a6ae Don't show 'Bookmark' item menu if not authenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-09 23:11:45 +01:00
Alex Gleason
d260cc2e2c
Add fallback avatar 2022-02-07 13:14:15 -06:00
Alex Gleason
c4bf347dae
MediaGallery: fall back on url when preview_url isn't provided 2022-02-07 12:26:11 -06:00
Alex Gleason
fb7c642dc7
GoToSocial support 2022-02-06 20:46:06 -06:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
e0f0370579 Merge remote-tracking branch 'soapbox/develop' into modals-stack
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 14:30:38 +01:00
Alex Gleason
3708c0128c Merge branch 'birthdays' into 'develop'
Birth dates

See merge request soapbox-pub/soapbox-fe!1000
2022-02-01 01:00:52 +00:00
807b3c7e5b Use stack for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
ae7f2f86a0 Add quoted status tombstone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 17:26:39 +01:00
6c11d2f0bf Merge branch 'birthdays' of https://gitlab.com/mkljczk/soapbox-fe into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-26 18:43:44 +01:00
b1bc544a01 Birthdays: Use custom header
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-26 18:43:00 +01:00
741e80d9ab Birthdays: Try to fix timezones
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 23:37:40 -08:00
Alex Gleason
0f9e01b4a1
"birth date" --> "birthday", move the toggle next to the picker 2022-01-25 17:08:20 -06:00
8277d78f4c Quote posts: Shift+Click for normal repost
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 23:00:30 +01:00
ac42b43fab Birthdays: renames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 21:10:13 +01:00
980f5f8ae3 Birthdays: use maxDate
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 16:51:15 +01:00
Alex Gleason
462df83989
Status: strip compatibility features from markup when importing 2022-01-24 20:39:22 -06:00
Alex Gleason
35ab65efcf
Hide recipients inlined by ForceMentionsInContent MRF 2022-01-24 19:14:44 -06:00
Alex Gleason
c3a82cb777
StatusContent: delete inline quote from markup 2022-01-24 17:31:34 -06:00
e0d7f2dd87 Birthdays: Accessibility improvements/fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 23:51:22 +01:00
7da12b1526 Merge remote-tracking branch 'soapbox/develop' into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 23:12:07 +01:00
af9b69271b change reblogIcon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 18:47:10 +01:00
fc0a5aea9c Normalization, process quotes in importFetchedStatuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 16:52:15 +01:00
c5e34de79a Do not use reblogIcon before initialization
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 00:18:20 +01:00
289cdcc776 Use dropdown for reposts, do not display cards for quote posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 22:15:25 +01:00
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00
c0bee9be3c Display quoted posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 17:55:03 +01:00
bae4455f8c birth_date -> birthday, hide_birth_date -> show_birthday
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 12:53:48 +01:00
97d09317ae Modal improvements, profile information
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-22 13:08:20 +01:00
d6f0023cc9 Add birthday reminder notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20 22:39:58 +01:00
409cb3819e Show birth date field on registration page when required
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20 00:21:40 +01:00
Alex Gleason
f675e7992a
MfaForm: improve styles and usability 2022-01-12 12:39:01 -06:00
Alex Gleason
1fee3eb0ac
LoadingSpinner: fix two warnings 2022-01-11 09:50:30 -06:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00