Commit graph

686 commits

Author SHA1 Message Date
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
5d30a8772d
AccountModerationModal: allow deactivating and deleting accounts 2022-09-11 14:29:14 -05:00
Alex Gleason
a61cb2c7cd
AccountModerationModal: add account ID 2022-09-11 14:20:05 -05:00
Alex Gleason
c973b64781
AccountModerationModal: allow suggesting a user 2022-09-11 14:09:09 -05:00
Alex Gleason
84bbecb36e
AccountModerationModal: allow setting the user as a donor 2022-09-11 13:58:05 -05:00
Alex Gleason
a4a54a8164
AccountModerationModal: support account verification 2022-09-11 13:50:03 -05:00
Alex Gleason
a5e5df35a5
Move StaffRolePicker into its own component 2022-09-11 13:36:01 -05:00
Alex Gleason
276e7d6cfc
AccountModerationModal: move to subdirectory 2022-09-11 13:24:34 -05:00
Alex Gleason
6ecb715a71
AccountModerationModal: only show staff picker for local accounts 2022-09-11 13:23:11 -05:00
Alex Gleason
cfdace9454
AccountModerationModal: add staff role picker 2022-09-11 13:19:08 -05:00
Alex Gleason
d653c451b6
AccountModerationModal: add account preview 2022-09-11 12:33:33 -05:00
Alex Gleason
1e3a959c1c
AccountModerationModal: put AdminFE behind a feature flag 2022-09-11 11:48:37 -05:00
Alex Gleason
774894e127
AccountModerationModal: add "Open in AdminFE" button 2022-09-11 11:46:08 -05:00
Alex Gleason
3120cc8453
AccountModerationModal: boilerplate 2022-09-11 11:28:39 -05:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
cd93399569 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 17:15:21 +02:00
Alex Gleason
babac13493
Bundle: convert to TSX 2022-08-31 17:28:19 -05:00
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
05d296f1ee Consistent behavior of compose modal close confirmation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-30 22:51:13 +02:00
Alex Gleason
0349a57f55 Merge branch 'embeds-improvements' into 'develop'
Embeds improvements

See merge request soapbox-pub/soapbox-fe!1752
2022-08-26 12:54:24 +00:00
Alex Gleason
3909c74c00
Add new CopyableInput component, use in EmbedModal 2022-08-25 21:21:03 -05:00
Justin
d4bcdd821c Lint 2022-08-25 09:19:09 -04:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
2fded6daa9 Improve dark mode 2022-08-24 09:28:56 -04:00
Alex Gleason
6ea4129cb7
EmbedModal: use Divider component 2022-08-23 10:40:39 -05:00
Alex Gleason
2e6b826c46
EmbedModal: improve dark mode styles 2022-08-22 12:12:18 -05:00
Alex Gleason
75b015d608
embed_modal.tsx --> embed-modal.tsx 2022-08-22 12:09:01 -05:00
Alex Gleason
393f6a9b60
EmbedModal: improve styling 2022-08-22 12:08:30 -05:00
Alex Gleason
cddf70f0ab
Fix status style regressions 2022-08-22 12:11:01 -04:00
Alex Gleason
6e5689e3a3
EmbedModal: allow-scripts 2022-08-21 15:08:05 -04:00
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
6f38b19b5b
Restore using embeds from the API 2022-08-21 11:21:25 -04:00
Alex Gleason
c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-21 11:20:19 -04:00
Alex Gleason
32b6c646cf Merge branch 'icon-button-themes' into 'develop'
IconButton: add themes

See merge request soapbox-pub/soapbox-fe!1729
2022-08-13 14:09:21 +00:00
Alex Gleason
5f8a22b452
Native status embeds from Soapbox 2022-08-12 12:58:35 -05:00
Alex Gleason
7615111eb0
IconButton: add themes 2022-08-12 10:42:26 -05:00
66216bd5b6 Use Array.includes instead of indexOf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:47:32 +02:00
Justin
22294b8a6e Fix test 2022-08-10 14:45:58 -04:00
Justin
06d1ad2efe Remove sort 2022-08-10 11:33:23 -04:00
Justin
cbe9f47a59 Fix Trends Panel test 2022-08-10 10:31:09 -04:00
Justin
b2530dadd5 Convert trends to React Query 2022-08-10 09:35:07 -04:00
Justin
bec42a3633 Visual tweaks for new branding 2022-08-09 11:50:10 -04:00
2ea76f74cf fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 00:38:00 +02:00
81af0e64f1 Use different confirmation modal/snackbar text for post editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:55:14 +02:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
ac83c9c18c Support mutes duration
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-31 11:57:31 +02:00
e45623eef6 Fix: Unable to approve follower requests from notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-30 23:34:18 +02:00
Justin
0b06731b07 Simplify the Banner width across usage 2022-07-26 14:22:13 -04:00
Alex Gleason
af6cb3a4c2
Merge remote-tracking branch 'origin/develop' into gdpr 2022-07-26 10:32:15 -05:00
Alex Gleason
0480bfab94
Add Banner UI component 2022-07-26 10:30:48 -05:00
marcin mikołajczak
fa8f4b7a2a Merge branch 'icons' into 'develop'
Replace LineAwesome with Tabler in some places

See merge request soapbox-pub/soapbox-fe!1683
2022-07-26 14:07:53 +00:00
eb62ebfa52 Replace LineAwesome with Tabler in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:30:51 +02:00
58952f0ab2 Add break-words to profile fields content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 11:53:36 +02:00
045a73f1d9 conditionally show endorse toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 13:29:00 +02:00
3c835cf724 Restore featured accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:14:23 +02:00
Alex Gleason
04ff9de05d Merge branch 'phone-input' into 'develop'
Introduce PhoneInput component

See merge request soapbox-pub/soapbox-fe!1632
2022-07-14 18:16:40 +00:00
Alex Gleason
ca833e5eed
Revert "Timeline: don't try to memoize getStatusIds"
This reverts commit dd58f8fce7.
2022-07-13 19:15:39 -05:00
Alex Gleason
11a0329924
Fix pages that use PhoneInput 2022-07-13 19:08:19 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
479386af03 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 20:57:12 +02:00
Alex Gleason
a8c709b41c
Refactor formatPhoneNumber to accept countryCode 2022-07-13 11:40:02 -05:00
Alex Gleason
dd58f8fce7
Timeline: don't try to memoize getStatusIds 2022-07-11 19:29:38 -05:00
Alex Gleason
70cd4148e6 Merge branch 'subscription-button-no-tooltip' into 'develop'
SubscriptionButton: remove tooltip warning about web push

See merge request soapbox-pub/soapbox-fe!1618
2022-07-11 17:15:03 +00:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
Alex Gleason
16c08b23a8
Fix improper import of Tabler icons 2022-07-09 11:22:38 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
Alex Gleason
44d0a75044
SubscriptionButton: remove tooltip warning about web push 2022-07-08 16:54:23 -05:00
Alex Gleason
bcc9ff5066 Merge branch 'ts-tests' into 'develop'
Make TypeScript work correctly in tests

Closes #1010

See merge request soapbox-pub/soapbox-fe!1610
2022-07-07 13:39:51 +00:00
Alex Gleason
afe1edddf9
rootReducer(undefined, {} as any) --> rootState 2022-07-06 17:22:11 -05:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
3e8ebb1661 Improve UX after subscribing to account 2022-07-06 14:20:20 -04:00
Alex Gleason
bdf00bb692
Fix types in various component tests 2022-07-06 12:17:17 -05:00
8e8329a7b0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-01 00:04:56 +02:00
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
7ecb8f8d35 Merge branch 'feed-replacement' into 'develop'
Build Feed Filtering feature into the Home Timeline

See merge request soapbox-pub/soapbox-fe!1558
2022-06-30 12:19:51 +00:00
Alex Gleason
b3dc044ff3
Redirect /login when a user is signed in, add /login/add for multiple accounts 2022-06-29 13:32:59 -05:00
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Justin
e3d976a2e7 Account for smaller screens 2022-06-28 14:26:59 -04:00
Justin
825f5566a0 Add CSS class with variables 2022-06-28 14:18:15 -04:00
Alex Gleason
b0b418d699
BackgroundShapes: use a CSS linear gradient 2022-06-28 10:47:41 -05:00
Justin
97b752c00c Fix link UX issue on linkfooter 2022-06-27 11:52:05 -04:00
Alex Gleason
41e5104fac
Update Tabler to v1.71.0, use new pencil-plus and message-circle-2 icons 2022-06-26 10:41:02 -05:00
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Alex Gleason
572744a695
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 11:01:05 -05:00
Justin
4b25bdf635 Merge branch 'poll-improvements' into 'develop'
Refactor & Redesign Polls in Statuses

See merge request soapbox-pub/soapbox-fe!1533
2022-06-21 11:44:40 +00:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
d8cb953955 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 09:26:45 +02:00
6214084890 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:38:51 +02:00
ee5453c18f Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-18 12:11:03 +02:00
ee55241792 Fix type errors, use () => RootState for getState
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 11:51:02 +02:00
Justin
20e0692012 Merge branch 'lodash-imports' into 'develop'
Specifically import the single lodash function

See merge request soapbox-pub/soapbox-fe!1540
2022-06-17 13:47:23 +00:00
Justin
3d76853e93 Lint fix 2022-06-17 08:14:34 -04:00
Justin
16c06e1d60 Temporarily disable for non-PLEROMA/MASTODON 2022-06-17 07:47:21 -04:00
Justin
5fa875ef64 Add tests 2022-06-17 07:44:34 -04:00
Justin
0e1302587a Improve subscription button on header 2022-06-17 07:44:34 -04:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00