Commit graph

5076 commits

Author SHA1 Message Date
Alex Gleason
0c1cda0afb
AccountHeader: fix type of avatar and header media 2022-10-13 13:06:57 -05:00
Alex Gleason
965fd8e479
MediaModal: fix types for Audio 2022-10-13 13:01:30 -05:00
Alex Gleason
def1c58835
Merge remote-tracking branch 'origin/develop' into media-modal-tsx 2022-10-13 13:00:41 -05:00
Chewbacca
8023bd82c3 Fix intl 2022-10-13 13:26:34 -04:00
Chewbacca
76a8f43679 Merge branch 'improve-ui-types' into 'develop'
Refactor UI library types

See merge request soapbox-pub/soapbox!1814
2022-10-13 17:13:15 +00:00
Chewbacca
905eb01308 Merge branch 'add-help-text-to-username-registration' into 'develop'
Add hints to username field during registration

See merge request soapbox-pub/soapbox!1832
2022-10-13 17:11:24 +00:00
Chewbacca
92d3bf140c Improve Trends Panel in the sidebar 2022-10-13 12:35:11 -04:00
Chewbacca
f4890874d2 Add hints to username field during registration 2022-10-13 12:32:57 -04:00
Alex Gleason
cc27e46067
Audio: move useEffect's to bottom, remove unused code 2022-10-12 18:33:32 -05:00
Alex Gleason
6dddaea736
Audio: convert to TSX+FC 2022-10-12 18:24:23 -05: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
d5f526448d Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-11 22:48:41 +02:00
Alex Gleason
763ae5c58a
yarn lint:js --fix 2022-10-11 13:22:54 -05:00
Alex Gleason
3695be06c5 Merge branch 'issue/1103/add-registration-date-to-profiles' into 'develop'
Initial implementation of join date inclusion in hover profile card

See merge request soapbox-pub/soapbox!1825
2022-10-11 18:13:22 +00:00
Jonathan Kempf
936db6fac0 Initial implementation of join date inclusion in hover profile card 2022-10-10 17:25:19 -04:00
Alex Gleason
7dff0391b1
Normalize chat attachments 2022-10-10 15:56:11 -05:00
Alex Gleason
bb1823ee6d
AttachmentThumbs: make visible 2022-10-10 15:16:35 -05:00
marcin mikołajczak
67d47cdafd Merge branch 'conditional-cta' into 'develop'
Make CtaBanner and ThreadLoginCta optional

See merge request soapbox-pub/soapbox!1821
2022-10-09 23:07:28 +00:00
1343928406 Make CtaBanner and ThreadLoginCta optional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:41:47 +02:00
c1dcc91f76 Only show WhoToFollowPanel if authenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-10 00:34:32 +02:00
8903674cb1 Fix pinned status icon in status action bar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-06 00:02:32 +02:00
Alex Gleason
a829e53559
AutosuggestInput: nuke top margin 2022-10-04 17:25:02 -04:00
Alex Gleason
4988f4a2d5
Input: support 'transparent' theme 2022-10-04 17:14:08 -04:00
Alex Gleason
b9e0e94587
Input: support 'theme' prop (deprecate 'isSearch'), pass theme down from higher components 2022-10-04 17:09:47 -04:00
Alex Gleason
61dd57ab81
AutosuggestInput: use UI input component 2022-10-04 16:39:51 -04:00
Justin
1c55e60055 Ensure space is number 2022-10-04 15:17:51 -04:00
Justin
c960ad9d33 Ensure space is number 2022-10-04 15:17:26 -04:00
Justin
c49aec2ae0 Refactor UI library types 2022-10-04 15:08:22 -04:00
Alex Gleason
c2757f27c6 Merge branch 'onboarding-fediverse-info' into 'develop'
onboarding: add information about the Fediverse to the onboarding process if the server federates

See merge request soapbox-pub/soapbox!1806
2022-10-04 17:31:51 +00: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
Alex Gleason
11a1beb55f Merge branch 'media-tsx' into 'develop'
MediaGallery: convert to TSX

See merge request soapbox-pub/soapbox!1810
2022-10-04 17:26:18 +00:00
Alex Gleason
6276fb0f00 Merge branch 'status-content-css' into 'develop'
StatusContent: move css to status-content.css

See merge request soapbox-pub/soapbox!1809
2022-10-04 17:26:09 +00:00
Miss Pasture
ba68e845b7 onboarding: add information about the Fediverse to the onboarding process if the server federates 2022-10-03 16:13:17 -04:00
Alex Gleason
ca9abf3e5a
MediaGallery: fix "Show content" button 2022-10-03 10:10:31 -05: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
7a54e07966
Video: fix default aspect ratio (16:9) 2022-09-30 20:32:24 -05:00
Alex Gleason
af49171cb9
fullscreen.js --> fullscreen.ts 2022-09-30 19:53:59 -05:00
Alex Gleason
0b7416b6e5
Video: convert to TSX+FC 2022-09-30 19:37:35 -05:00
Alex Gleason
cc3e8ebd3b
MediaGallery: clean up unused code, rearrange useEffect 2022-09-30 18:11:05 -05:00
Alex Gleason
1069546b50
MediaGallery: convert to TSX+FC (first pass) 2022-09-30 18:05:23 -05:00
Alex Gleason
775cfad4dc
Restore .floating-link for now 2022-09-30 14:19:22 -05:00
Alex Gleason
6d77e0327f
Make .emojione styles global again 2022-09-30 13:35:26 -05:00
Alex Gleason
d3683ab7ef
StatusContent: migrate more to css, fix SpoilerButton on dark theme 2022-09-30 13:15:37 -05:00
Alex Gleason
0d5dfad8cc
Move StatusContent css into status-content.css 2022-09-30 12:59:52 -05:00
Alex Gleason
3b2b1ab05f
Move .instance-description to css file 2022-09-30 12:27:52 -05:00
Justin
b8bbac31e5 Improve 'In Review' UX 2022-09-29 13:57:25 -04:00
marcin mikołajczak
01b2eed2e4 Merge branch 'compose-upload-fix' into 'develop'
Fix editing media descriptions

See merge request soapbox-pub/soapbox!1805
2022-09-28 22:39:56 +00:00
0dbfd600bc Fix editing media descriptions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-29 00:15:30 +02: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
marcin mikołajczak
972881be85 Merge branch 'migrations-tsx' into 'develop'
TS/FC: Migrations page

See merge request soapbox-pub/soapbox!1803
2022-09-28 21:57:27 +00:00
5a703bbf50 TS/FC: Migrations page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-28 23:49:50 +02:00
Alex Gleason
8772d19128 Merge branch 'more-country-codes' into 'develop'
CountryCodeDropdown: support +55, +351

See merge request soapbox-pub/soapbox!1801
2022-09-27 19:29:38 +00: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
d4cf5dc2b9 Remove unneeded disabled button on Bio step
We don't require users to have bios, so we shouldn't force them to add one
during the onboarding steps in order to proceed to the next step without
"skipping" it.
2022-09-27 10:35:42 -04:00
Justin
facd4e95f5 Add tests for new Who To Follow panel 2022-09-27 09:58:49 -04:00
Alex Gleason
a0d595c7df
CountryCodeDropdown: support +55, +351 2022-09-26 15:00:01 -05:00
Justin
63bd9a21fc Update spacing on Widgets 2022-09-26 15:23:51 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -04:00
c1618026a7 Fix share route
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-23 23:12:44 +02:00
904e93bd8e Fix ReplyMentionsModal crash
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-22 22:00:32 +02:00
Alex Gleason
097954d2f1 Merge branch 'compose-focus-fix' into 'develop'
ComposeForm: don't focus the input constantly, add usePrevious hook

Closes #1105

See merge request soapbox-pub/soapbox!1796
2022-09-20 13:19:44 +00:00
Alex Gleason
39f682a472
Self status typofix 2022-09-19 14:04:51 -05:00
Alex Gleason
6b57b62b38
ComposeForm: don't focus the input constantly, add usePrevious hook 2022-09-19 13:55:08 -05: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
marcin mikołajczak
4d74158eb7 Merge branch 'compose' into 'develop'
Allow multiple compose forms

See merge request soapbox-pub/soapbox!1786
2022-09-17 21:00:29 +00:00
5e7b78bbac Fix media upload with uninitialized compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 21:13:02 +02:00
42d68bddf9 handleDrop changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-17 09:29:36 +02:00
Alex Gleason
ca4a5370c1
OutlineBox: allow passing div props through 2022-09-16 13:34:53 -05:00
Alex Gleason
5297227501
My god is the everlasting sky! Your god lives beneath him. 2022-09-16 13:30:55 -05:00
d3693fe89a Don't accept 'default' as id for ComposeForm
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:18:12 +02:00
Alex Gleason
7fe97e8075
QuotedStatus: move testId to highest component 2022-09-16 12:44:11 -05: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
Alex Gleason
c19fe9f167
Strip leading @ from password reset input 2022-09-16 10:42:05 -05:00
9b51b16e78 update test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 16:25:01 +02:00
c31e13b0a5 default cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:53:20 +02: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
b38e5ec8e3 tests i can't run locally for now
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 10:40:19 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
marcin mikołajczak
3509fd1c6e Merge branch 'follow-requests-link' into 'develop'
Link to /follow_requests in SidebarMenu

See merge request soapbox-pub/soapbox!1792
2022-09-14 14:39:58 +00:00
859f39a9d3 Link to /follow_requests in SidebarMenu
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 16:12:23 +02:00
Alex Gleason
749a11dd77 Merge branch 'feed-insertion-algorithm' into 'develop'
Feed insertion algorithms

See merge request soapbox-pub/soapbox!1782
2022-09-14 13:18:19 +00:00
Alex Gleason
6a5c22faaa
SoapboxConfig: fix being unable to add streamfield items when the list is empty 2022-09-13 14:17:54 -05:00
Alex Gleason
474d7da02a
linearAlgorithm: add test, fix selection order 2022-09-13 11:57:28 -05:00
Alex Gleason
4ff9918fe0
abovefoldAlgorithm: add basic tests 2022-09-13 11:44:21 -05: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
22061daf95 Merge branch 'instance-html' into 'develop'
LandingPage: treat as HTML field, prefer short_description

See merge request soapbox-pub/soapbox!1789
2022-09-13 03:46:11 +00:00
Alex Gleason
32a0ae2d1f Merge branch 'followers-tsx' into 'develop'
Followers/Following: convert to TSX

See merge request soapbox-pub/soapbox!1784
2022-09-13 03:45:57 +00:00
Alex Gleason
daa3360581 Merge branch 'favourites-tsx' into 'develop'
Favourites tsx

See merge request soapbox-pub/soapbox!1783
2022-09-13 03:45:44 +00:00
Alex Gleason
f9858841fd Merge branch 'moderation-modal' into 'develop'
Moderation modal

Closes #1082

See merge request soapbox-pub/soapbox!1788
2022-09-13 03:45:21 +00:00
Alex Gleason
da75e0016d
LandingPage: treat as HTML field, prefer short_description 2022-09-12 18:23:23 -05:00
Alex Gleason
0bf6dad97f
Merge remote-tracking branch 'origin/develop' into feed-insertion-algorithm 2022-09-12 10:47:14 -05:00
Alex Gleason
94c2f5e978
abovefoldAlgorithm: remove accidental console.log 2022-09-12 10:47:01 -05:00
Alex Gleason
d221897cd0
Followers/Following: unavailable --> isUnavailable, move useEffect's down 2022-09-12 10:17:49 -05:00
Alex Gleason
74d2325b58
Favourites: unavailable --> isUnavailable, move useEffect's down 2022-09-12 10:14:57 -05:00
Alex Gleason
74b2b84458 Merge branch 'video-minimize' into 'develop'
Video: remove "maximize" button

See merge request soapbox-pub/soapbox!1787
2022-09-12 12:36:42 +00:00
Justin
3bbeaa4cf4 Merge branch 'fix-infinite-scroll' into 'develop'
Map paginated results into normalized Tag

See merge request soapbox-pub/soapbox!1779
2022-09-12 12:28:19 +00:00
Alex Gleason
f472e0cca6
setTags: call endpoints synchronously 2022-09-11 21:59:16 -05:00
Alex Gleason
6f236dd1e6
Add utils/badges tests 2022-09-11 21:04:34 -05:00
Alex Gleason
25f0ff9d86
Allow removing legacy 'donor' tag 2022-09-11 20:47:53 -05: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
90cbf0a60f
ListItem: allow child to set className 2022-09-11 17:32:34 -05:00
2b6d06ce01 add emoji-picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 23:10:55 +02:00
Alex Gleason
c067dd7547
Create TagInput component 2022-09-11 15:47:50 -05:00
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
8a8ef99433
StatusActionBar: simplify options, use AccountModerationModal 2022-09-11 14:36:58 -05:00
Alex Gleason
6d70989ef5
AccountHeader: remove deactivate/delete options 2022-09-11 14:30:24 -05:00
Alex Gleason
5d30a8772d
AccountModerationModal: allow deactivating and deleting accounts 2022-09-11 14:29:14 -05:00
Alex Gleason
b29df50374
AccountHeader: clean up roles messages 2022-09-11 14:21:25 -05:00
Alex Gleason
a61cb2c7cd
AccountModerationModal: add account ID 2022-09-11 14:20:05 -05:00
Alex Gleason
ca1a3d460c
AccountHeader: remove suggestion option 2022-09-11 14:09:52 -05:00
Alex Gleason
c973b64781
AccountModerationModal: allow suggesting a user 2022-09-11 14:09:09 -05:00
Alex Gleason
654c60a699
AccountHeader: remove donor option 2022-09-11 13:58:50 -05:00
Alex Gleason
84bbecb36e
AccountModerationModal: allow setting the user as a donor 2022-09-11 13:58:05 -05:00
Alex Gleason
667f0c09bf
AccountHeader: remove "verified" option 2022-09-11 13:52:13 -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
6f99be6c3d
AccountHeader: remove promote/demote menu options 2022-09-11 13:23: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
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02: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
Alex Gleason
123317d44b
Video: remove "maximize" button 2022-09-11 10:40:35 -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
3e2d917ca5
Delete height_cache.js 2022-09-10 12:06:31 -05:00
Alex Gleason
bcfbc394ab
Delete Groups components 2022-09-10 12:05:38 -05:00
Alex Gleason
82edcc4bd8
Delete unused "introduction" feature 2022-09-10 12:04:08 -05:00
Alex Gleason
3f04d0a049
Followers/Following: convert to TSX 2022-09-10 11:56:02 -05:00
Alex Gleason
0355d2a927
Favourites: refactor, clean up, make it sane 2022-09-10 11:07:35 -05:00
Alex Gleason
aca2df0775
Favourites: quick & dirty conversion to TSX 2022-09-10 10:46:12 -05:00
Alex Gleason
2681b32f7d
StatusList: incorporate feed injection algorithms 2022-09-09 22:26:36 -05:00
Alex Gleason
ec225ea1c5
abovefoldAlgorithm: wrap item selection 2022-09-09 20:49:17 -05:00
Alex Gleason
5749821b36
Algorithms: index --> iteration 2022-09-09 20:47:51 -05:00
Alex Gleason
fe8966fc3e
Scaffold out timeline insertion modules 2022-09-09 20:44:52 -05:00