Commit graph

962 commits

Author SHA1 Message Date
Alex Gleason
dec89cb236
Remove unused .js files, remove groups 2022-11-03 15:52:25 -05:00
Alex Gleason
9bbffb6957
Fix video not visible in modal 2022-11-02 19:55:39 -05:00
Alex Gleason
e3352b89d8
Remove "show more" CW button, display SensitiveContentOverlay instead 2022-10-31 15:18:40 -05:00
d7727b727f Make ActionsModal items full width, minor style improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-23 20:52:45 +02:00
Alex Gleason
ed558ba5ca
MediaModal: fix clicking Audio causes modal to close 2022-10-18 19:23:01 -05:00
Alex Gleason
fa7a517a95
Pass status to MediaModal, handle status undefined 2022-10-18 19:10:16 -05:00
Alex Gleason
a156c399a9
VideoModal: pass visible=true 2022-10-14 16:45:10 -05:00
Alex Gleason
16a95c2c33 Merge branch 'hashtag-tsx' into 'develop'
HashtagTimeline: convert to TSX+FC

See merge request soapbox-pub/soapbox!1834
2022-10-14 16:54:57 +00:00
Alex Gleason
e9108f6183
hashtag_timeline --> hashtag-timeline 2022-10-14 10:49:31 -05:00
Chewbacca
140cfb6e3e Change date format globally to use 12-hr format 2022-10-14 11:38:37 -04:00
Chewbacca
e0fd99f2db Merge branch 'improve-trends' into 'develop'
Improve Trends Panel

See merge request soapbox-pub/soapbox!1831
2022-10-13 18:37:40 +00:00
Alex Gleason
965fd8e479
MediaModal: fix types for Audio 2022-10-13 13:01:30 -05:00
Chewbacca
92d3bf140c Improve Trends Panel in the sidebar 2022-10-13 12:35:11 -04:00
Alex Gleason
6c279cb6c3
media_modal --> media-modal 2022-10-12 17:16:55 -05:00
Alex Gleason
80ce70e33e
MediaModal: convert to TSX+FC 2022-10-12 17:16:37 -05:00
Alex Gleason
18b177d6c9
image_loader --> image-loader 2022-10-12 16:26:19 -05:00
Alex Gleason
cdd8df473e
Merge remote-tracking branch 'origin/develop' into media-modal-tsx 2022-10-12 16:26:06 -05:00
Alex Gleason
5885c454af
ImageLoader: convert to TSX 2022-10-12 16:23:16 -05:00
Alex Gleason
f42e8520b5
zoomable_image --> zoomable-image 2022-10-12 15:27:26 -05:00
Alex Gleason
e6b0d17699
ZoomableImage: refactor, clean up unused code 2022-10-12 15:26:34 -05:00
Alex Gleason
f95168b3e4
ZoomableImage: convert to TSX 2022-10-12 15:22:50 -05:00
Alex Gleason
21cba06d44
Delete focal point code 2022-10-12 13:24:36 -05:00
1343928406 Make CtaBanner and ThreadLoginCta optional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:41:47 +02:00
Alex Gleason
52a0d239ee Merge branch 'video-tsx' into 'develop'
Video: convert to TSX+FC

See merge request soapbox-pub/soapbox!1811
2022-10-04 17:26:24 +00:00
ff0b1b28ca Convert ModalRoot to TSX+FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-01 15:38:08 +02:00
Alex Gleason
af49171cb9
fullscreen.js --> fullscreen.ts 2022-09-30 19:53:59 -05:00
2239221856 Don't display WhoToFollow panel if empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-29 00:06:37 +02:00
Chewbacca
89057abc7b Merge branch 'improve-people-to-follow' into 'develop'
Improve "People to Follow" widget

See merge request soapbox-pub/soapbox!1800
2022-09-27 19:27:24 +00:00
Justin
facd4e95f5 Add tests for new Who To Follow panel 2022-09-27 09:58:49 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -04:00
904e93bd8e Fix ReplyMentionsModal crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-22 22:00:32 +02:00
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
42d68bddf9 handleDrop changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 09:29:36 +02:00
Alex Gleason
06a0ca704c
Improve styles of ConfirmationModal, fix account deletion modal 2022-09-16 12:37:28 -05:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
9822266561 do i really understand this?
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-13 13:49:50 +02:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2fc9b215a9
Display custom badges on profiles 2022-09-11 20:21:37 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
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
0c20739d71 Merge remote-tracking branch 'soapbox/delete-unused' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:35 +02:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
Alex Gleason
3a8e45fba2
Delete unused schedule_idle_task.js 2022-09-10 12:07:47 -05:00
Alex Gleason
bcfbc394ab
Delete Groups components 2022-09-10 12:05:38 -05: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
34b7aad6dd Merge branch 'status-page-tsx' into 'develop'
StatusPage: convert to TSX

See merge request soapbox-pub/soapbox-fe!1728
2022-08-13 14:08:51 +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
Alex Gleason
5386135112
WrappedRoute: fix PageProps type to include children 2022-08-12 10:22:30 -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