Commit graph

527 commits

Author SHA1 Message Date
Justin
8dc7cc8794 Convert ActionButton to TSX 2022-05-03 09:27:15 -04:00
Justin
870f78e413 Add unmute action to ActionButton 2022-05-03 08:24:34 -04:00
Justin
e2f24cdd6b Account for multiple rules 2022-05-03 08:15:11 -04:00
Alex Gleason
e11575ff50
LandingPageModal: convert to tsx 2022-05-02 16:26:27 -05:00
Alex Gleason
2028873d34
LandingPageModal: fix routes 2022-05-02 16:24:45 -05:00
Alex Gleason
86ecda84c5
rule_id --> rule_ids 2022-05-02 14:50:16 -05:00
Alex Gleason
f92eeb333c
Merge remote-tracking branch 'origin/develop' into improve-reporting 2022-05-02 14:39:20 -05:00
Alex Gleason
b8fb318c06
ReportModal: fix report forwarding 2022-05-02 14:36:18 -05:00
Justin
0302f9fa20 Account for fewer rules 2022-05-02 14:55:02 -04:00
Justin
972d61bd8c Compare strings 2022-05-02 14:31:54 -04:00
Justin
2607a55380 Configure with i18n 2022-05-02 13:55:29 -04:00
Justin
86fb9bf704 Add ProgressBar and dark mode support 2022-05-02 13:55:08 -04:00
Justin
d644e3cf25 Fix a few visual issues 2022-05-02 13:55:08 -04:00
Justin
a58069a123 Add tests for Report modal 2022-05-02 13:55:08 -04:00
Justin
924b042c84 Improve reporting modal 2022-05-02 13:55:07 -04:00
Justin
0fb4c9bd40 Convert ReportModal to TSX 2022-05-02 13:52:37 -04:00
Alex Gleason
829a61c3a5
Delete unused ColumnSubheading 2022-05-01 12:54:54 -05:00
Alex Gleason
5def7a087d
Convert UploadArea to tsx 2022-05-01 12:46:06 -05:00
Alex Gleason
e08a297eff
/auth/verify --> /verify 2022-04-30 11:28:18 -05:00
Alex Gleason
c4e376816d
ProfileField: style verified links 2022-04-29 21:51:48 -05:00
Alex Gleason
20013cf712
ProfileField: basic styling 2022-04-29 21:37:35 -05:00
Alex Gleason
b2c9d4938f
Display rudimentary ProfileFieldsPanel 2022-04-29 21:05:39 -05:00
Alex Gleason
2702f3fd70
ProfileStats: convert to TSX 2022-04-29 20:41:14 -05:00
Alex Gleason
0127d282e2
ProfileInfoPanel: convert to TSX 2022-04-29 20:33:26 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
7df6d4bc9c
BackgroundShapes: convert to TSX 2022-04-26 12:05:49 -05:00
Alex Gleason
3c90937bf2
WrappedRoute: refactor with TSX+FC 2022-04-26 12:01:57 -05:00
Alex Gleason
2758980021
Restore mobile account switcher, make it available to everyone 2022-04-25 18:37:20 -05:00
Alex Gleason
3788980856
BundleColumnError: improve styles 2022-04-25 18:04:00 -05:00
Alex Gleason
672216d4de
BundleColumnError: convert to TSX 2022-04-25 17:54:17 -05:00
Alex Gleason
d9903807ed
FundingPanel: remove unused history variable 2022-04-24 18:56:57 -05:00
Alex Gleason
000615ced4
CryptoAddress: improve icon size 2022-04-24 18:54:46 -05:00
Alex Gleason
eaf15fd77c
LinkFooter: improve style of repo link 2022-04-24 18:38:12 -05:00
Alex Gleason
18c4210cec
Fix VideoModal, remove Video close button 2022-04-24 18:24:57 -05:00
Alex Gleason
b8eff3e46b
VideoModal: convert to TSX 2022-04-24 18:07:20 -05:00
Alex Gleason
73f086c680
Add "Donor" badge 2022-04-24 17:27:08 -05:00
Alex Gleason
3f9cc3cd04
Restore Patron features, context to TSX 2022-04-24 17:01:57 -05:00
Alex Gleason
ae48cb2c06
ScrollableList: replace margins with padding 2022-04-22 12:24:09 -05:00
Alex Gleason
eecc46cbdc
Fix useEffect() calls... whoops 2022-04-21 17:52:48 -05:00
a398f14b2f Lists links styling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-20 19:37:40 +02: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
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
5731b9b1c7
Redirect all /auth routes 2022-04-19 14:37:48 -05:00
Alex Gleason
97b5c5af43
Widget: add actions 2022-04-18 23:10:01 -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
Justin
76a04ccbb9 Improve Pending Status design 2022-04-18 15:08:41 -04: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
2828f233d5
Restore ProfileMediaPanel, convert to TSX+FC 2022-04-15 19:14:34 -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
Alex Gleason
5955a0819a
Nuke FeaturesPanel, add "More" menu to left sidebar 2022-04-14 13:16:08 -05:00
23943ccdee Remote interaction modal styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:51:23 +02:00
Justin
74c2e8ea15 Add tests for WhoToFollowPanel 2022-04-13 09:42:01 -04: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
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
37a8bc7083
WIP: embeds 2022-04-10 17:52:42 -05:00
Alex Gleason
f9d01dab0a
Make the ThemeToggle look decent, unhide it 2022-04-10 13:42:52 -05:00
98ff406ddf typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:46:25 +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
Justin
ad381d7fbc Add tests for TrendsPanel 2022-04-07 11:55:15 -04: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
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
Alex Gleason
e88fe4a707
Clean up me usage 2022-04-04 14:24:55 -05: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
1f697dd8f2 hotkeys modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:40:06 +02:00
abf98cb75a Conditionally display some hotkeys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:34:00 +02: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
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -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
c62cd9898a
Fix background shapes for dark mode 2022-03-30 12:08:32 -05:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +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
67c0c83b44
Refactor sidebar panels with Widget component 2022-03-25 14:08:12 -05:00
Alex Gleason
ee691e0cc8
LinkFooter: remove "Legal" link 2022-03-24 16:59:25 -05:00
Alex Gleason
ae2153dffe
Add ThemeToggle to Navbar (developers only) 2022-03-24 16:17:39 -05:00
Alex Gleason
53b920c297
ThemeToggle: convert to TSX 2022-03-24 16:03:02 -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
867912aa1b Wrap profile fields 2022-03-24 14:08:54 -04:00
Alex Gleason
84d7d2ee38
Add @ts-ignore lines for strictFunctionTypes 2022-03-24 12:26:27 -05:00
Alex Gleason
5f4930dba3 Merge branch 'next-dark-mode' into 'next'
Next: dark mode

See merge request soapbox-pub/soapbox-fe!1136
2022-03-24 03:04:40 +00:00
Alex Gleason
09d3f375d5
Dark mode: navbar bg, update snapshots 2022-03-23 21:46:59 -05:00
Alex Gleason
be690255cb
Hooks: get rid of useAccount, create useOwnAccount 2022-03-23 21:05:55 -05:00
Alex Gleason
2da31341c4
Custom hooks: useAccount, useSettings, useSoapboxConfig 2022-03-23 20:29:35 -05:00
Alex Gleason
1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -05:00
Alex Gleason
12617bf7de
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-23 13:05:53 -05: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
Alex Gleason
5ffb9828ba
LinkFooter: restore copyright message, let it be overridden 2022-03-22 17:43:42 -05:00
Alex Gleason
8f85fd01d5
Make bg-shape colors configurable 2022-03-22 16:25:52 -05:00
Alex Gleason
9e16d992e6
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-22 13:57:09 -05:00
Alex Gleason
a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Justin
430cfc3a2a Remove unneeded 'event' when using Reach Menu 2022-03-22 11:41:44 -04:00
Justin
12ed6889a4 Use React Router Link in MenuLink 2022-03-22 08:28:18 -04:00
Alex Gleason
d34937e959
UnauthorizedModal: use withRouter history 2022-03-21 16:08:03 -05:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Alex Gleason
4ccbce71e0
Fetch frontend_configurations once again, reenable /soapbox/config route 2022-03-21 15:13:33 -05:00
Justin
b4d677dfde Use new Icon comp with Tabler version 2022-03-21 15:09:46 -04:00
Alex Gleason
c5e89969c8
Generalize homepage 2022-03-21 13:45:57 -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
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
9b756043fb
ReactionsModal: defensive property checks 2022-03-03 11:36:05 -06:00
Alex Gleason
2679519d23
Display account location on profile 2022-02-28 17:25:20 -06:00
Alex Gleason
d86eac4c1a
Remove isVerified() function 2022-02-27 22:25:23 -06:00
Alex Gleason
07aaa427a6 Merge branch 'fedibird' into 'develop'
Fedibird birthdays

Closes #833

See merge request soapbox-pub/soapbox-fe!1054
2022-02-27 19:33:32 +00:00
marcin mikołajczak
725b1e43ef Merge branch 'account-endorsements' into 'develop'
Fix "Feature on profile" feature breaks when emojis are present in name

See merge request soapbox-pub/soapbox-fe!1055
2022-02-26 22:07:17 +00:00
9a3260e071 Fix "Feature on profile" feature breaks when emojis are present in name
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 22:55:24 +01:00
2257612b12 Fedibird birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 22:49:42 +01:00
Alex Gleason
92ac0e6a0d Merge branch 'account-notes' into 'develop'
Account notes

See merge request soapbox-pub/soapbox-fe!1053
2022-02-26 21:30:05 +00:00
Alex Gleason
5a66a9b8c5
Improve phrasing 2022-02-26 15:14:56 -06:00
ccff91b072 Account notes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 15:57:34 +01:00
06d33de47f Single user mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-25 16:35:48 +01:00
Alex Gleason
5afd1ce4b3
Fix PendingStatus 2022-02-21 03:56:31 -05:00
Alex Gleason
37cf29d9f1
LinkFooter: link to /settings/migration, not /settings/aliases 2022-02-18 22:18:39 -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
NEETzsche
bf0a7d7bae State why you can't follow someone, don't just disable the button 2022-02-05 20:36:25 +00: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
abe5b07245
Format birthday as UTC 2022-01-31 20:18:15 -06:00
Alex Gleason
154b9849f3 Merge branch 'revert-5381b27c' into 'develop'
Reintroduce replying-to on pending statuses

See merge request soapbox-pub/soapbox-fe!990
2022-02-01 01:01:06 +00: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
f25c9298ca Merge remote-tracking branch 'soapbox/develop' into account-subscriptions-mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-28 23:47:27 +01:00
Alex Gleason
0964fc1f4d
Add "demo" mode for taking screenshots 2022-01-26 19:37:32 -06:00
22b3986178 PendingStatus: Do not display PlaceholderCard if it has a quote
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-26 19:49:04 +01:00
7c790a53eb Add quotes for pending statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-26 19:45:02 +01:00
Alex Gleason
0f9e01b4a1
"birth date" --> "birthday", move the toggle next to the picker 2022-01-25 17:08:20 -06:00
ac42b43fab Birthdays: renames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 21:10:13 +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
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +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