Commit graph

165 commits

Author SHA1 Message Date
Alex Gleason
c343cce5ea
Merge remote-tracking branch 'origin/develop' into group-lookup 2023-04-17 15:55:05 -04:00
Alex Gleason
f2d5b2eaef
Update group URLs to use slugs 2023-04-17 15:42:08 -04:00
Alex Gleason
1bce61182c
Make components use groupId param 2023-04-17 15:28:20 -04:00
Chewbacca
c5c5bd0d62 Add ability to update Group tags 2023-04-17 10:21:59 -04:00
Chewbacca
2d52c8c3e4 Add support for Group tags 2023-04-17 10:21:23 -04:00
Chewbacca
6da45c3ef7 Add ability to search my Groups 2023-04-17 10:19:57 -04:00
Chewbacca
cd890c8641 Handle error from API on Group Save 2023-04-12 16:56:56 -04:00
Chewbacca
dd94dbad8e Update toast after saving Groups 2023-04-12 15:32:29 -04:00
Chewbacca
c8d9197065 Support autoFocus in Streamfield 2023-04-12 09:17:26 -04:00
Alex Gleason
7720df2ebe
Merge remote-tracking branch 'origin/develop' into group-gallery 2023-04-11 11:01:37 -05:00
Chewbacca
e82ecdc05c Improve alignment/spacing 2023-04-11 08:55:17 -04:00
Alex Gleason
ce0557546a
Groups: add group gallery 2023-04-10 15:22:08 -05:00
Alex Gleason
532013b34f Merge branch 'add-topics' into 'develop'
Groups: allow managing topics

See merge request soapbox-pub/soapbox!2416
2023-04-05 21:37:55 +00:00
Alex Gleason
7a3f98ca64
EditGroup: remove toast 2023-04-05 15:57:33 -05:00
Alex Gleason
088f7e0b0e
GroupTagsField: i18n 2023-04-05 15:55:29 -05:00
Chewbacca
535579676b Merge branch 'max-admins' into 'develop'
Cap Group Admins at 5

See merge request soapbox-pub/soapbox!2415
2023-04-05 13:19:19 +00:00
Alex Gleason
1049968fd6
GroupMembershipRequests: invalidate list on unmount 2023-04-04 15:35:28 -05:00
Alex Gleason
ae4430b9eb
EditGroup: allow managing topics 2023-04-04 14:54:32 -05:00
Chewbacca
5fa8a21403 Cap Group Admins at 5 2023-04-04 14:05:08 -04:00
Alex Gleason
8cca3c4e6e
Merge remote-tracking branch 'origin/develop' into group-modal 2023-04-04 12:29:51 -05:00
Chewbacca
b704e476eb Merge branch 'update-group-header' into 'develop'
Allow Admins to manage/leave Group

See merge request soapbox-pub/soapbox!2410
2023-04-04 16:35:52 +00:00
Chewbacca
f20dade50b Update entity in store after canceling request 2023-04-04 12:08:29 -04:00
Chewbacca
e78bbf4e19 Allow Admins to manage/leave Group 2023-04-04 12:08:26 -04:00
Chewbacca
17800fa56f Merge branch 'fix-icon-color' into 'develop'
Update icon color for Group Statuses

See merge request soapbox-pub/soapbox!2409
2023-04-04 14:42:41 +00:00
Chewbacca
7ef2220405 Revert change to key 2023-04-04 08:13:23 -04:00
Chewbacca
a486b317d4 Fetch account and relationship with entity store 2023-04-04 08:11:03 -04:00
Chewbacca
b959b14746 Update icon color in Group timeline 2023-04-03 17:17:03 -04:00
Alex Gleason
9aac68fee8
Merge remote-tracking branch 'origin/develop' into group-modal 2023-04-03 15:23:31 -05:00
Alex Gleason
a4992eec4d
isLoading --> isSubmitting for action hooks 2023-04-03 15:19:10 -05:00
Alex Gleason
659c186394
ManageGroupModal: use internal state instead of Redux 2023-04-03 15:06:20 -05:00
Chewbacca
aed41989f5 Remove 'Pending requests' from Group Manage 2023-04-03 15:57:12 -04:00
Chewbacca
d2224c0359 Merge branch 'udpate-toast-copy' into 'develop'
Update copy after requesting to join group

See merge request soapbox-pub/soapbox!2404
2023-04-03 19:47:47 +00:00
Chewbacca
c2f5671de1 Update copy after requesting to join group 2023-04-03 15:38:41 -04:00
Alex Gleason
1b9c070a20
EditGroup: move AvatarPicker and HeaderPicker into their own components 2023-04-03 14:26:31 -05:00
Chewbacca
485213972e Update banned members design 2023-04-03 12:13:41 -04:00
a1cf627bfd Lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-04-01 20:37:34 +02:00
Alex Gleason
72b57d93da Merge branch 'groups-toggle' into 'develop'
Groups toggle

See merge request soapbox-pub/soapbox!2391
2023-03-31 19:06:10 +00:00
Alex Gleason
839a639f1e
Only show toggle for public groups 2023-03-31 13:46:09 -05:00
Alex Gleason
59860b405a
GroupTimeline: use FormattedMessage 2023-03-31 12:17:20 -05:00
Alex Gleason
406e6f3f40
GroupTimeline: make label clickable 2023-03-31 12:00:15 -05:00
Alex Gleason
94f67e166e
GroupTimeline: use size sm Toggle 2023-03-31 11:58:23 -05:00
Alex Gleason
5720d396fc
Groups: make "share with followers" button work 2023-03-30 20:47:08 -05:00
Chewbacca
681eacf827 Improve dark mode support of Groups + bug fixes 2023-03-30 15:19:14 -04:00
Chewbacca
4b3b601659 Add tests for GroupOptionsButton 2023-03-30 12:57:42 -04:00
Chewbacca
697791fc5d Add tests for GroupRelationship 2023-03-30 12:57:23 -04:00
Alex Gleason
a976b542e1 Merge branch 'edit-group-page' into 'develop'
Edit group page

See merge request soapbox-pub/soapbox!2389
2023-03-30 13:57:57 +00:00
Chewbacca
01458c3003 Merge branch 'reply-popover' into 'develop'
Add popover when trying to reply to Group status

See merge request soapbox-pub/soapbox!2386
2023-03-30 13:23:47 +00:00
Alex Gleason
e47b9300f0
EditGroup: add "cannot change" hint 2023-03-29 20:45:40 -05:00
Alex Gleason
79a33d0f1d
Input: improve disabled style 2023-03-29 20:37:22 -05:00
Alex Gleason
9e60d90812
We do a little refactoring 2023-03-29 20:30:05 -05:00
Alex Gleason
f3727440ff
Move form hooks into their own files 2023-03-29 20:14:41 -05:00
Alex Gleason
eb055339d8
react-hook-form SUX 2023-03-29 20:00:04 -05:00
Alex Gleason
eb6c82a867
Make EditGroup page work, pretty much 2023-03-29 19:18:20 -05:00
Alex Gleason
bfd40fa373
Boilerplate Edit Group page by copying code from the modal 2023-03-29 14:51:29 -05:00
Chewbacca
1e69812078 Add popover when trying to reply to Group status 2023-03-28 15:39:41 -04:00
Chewbacca
af9439f1d3 Use entity store for Group Search 2023-03-28 12:57:44 -04:00
Chewbacca
ca0987dec2 Update variables to use proper naming 2023-03-28 11:53:13 -04:00
Chewbacca
1abcc95a0a Merge branch 'search-my-groups' into 'develop'
Add ability to search my Groups

See merge request soapbox-pub/soapbox!2377
2023-03-28 14:02:25 +00:00
Chewbacca
3a2b4c6efb Add ability to search my Groups 2023-03-28 09:09:09 -04:00
Alex Gleason
22474e3ca9
MembershipRequest: add 3s countdown on authorize/reject actions 2023-03-27 17:09:10 -05:00
Chewbacca
30ef70440f Add ability to report a Group 2023-03-23 15:17:44 -04:00
Alex Gleason
1949651b9a
Merge remote-tracking branch 'origin/develop' into group-requests 2023-03-23 10:23:06 -05:00
Alex Gleason
75b0262f9a
Move pendingCount logic to useEntities 2023-03-22 21:28:48 -05:00
Alex Gleason
2674c060ad
GroupMembers: showLoading if pending members are being fetched 2023-03-22 20:26:53 -05:00
Alex Gleason
c5b1f23bda
GroupMembers: use X-Total-Count if available 2023-03-22 19:22:12 -05:00
Alex Gleason
f016ac1e6d
GroupMembershipRequests: invalidate query upon authorize/reject 2023-03-22 18:48:24 -05:00
Alex Gleason
1eed61c386
GroupMembershipRequests: don't clear dismissed entries until new content is fetched 2023-03-22 16:42:08 -05:00
Alex Gleason
ee1b1b4397
GroupMembers: fix pending row borders and dark mode 2023-03-22 13:47:18 -05:00
Chewbacca
ad98bf45cc Add hook to delete Group 2023-03-22 11:20:03 -04:00
Alex Gleason
f61e0d889a
"Blocked members" --> "Banned members" 2023-03-20 21:56:15 -05:00
Alex Gleason
cc3585f319
Manage group: add headers 2023-03-20 21:52:44 -05:00
Alex Gleason
f369a7c765
Use "danger" text for deleting account and group 2023-03-20 21:42:54 -05:00
Alex Gleason
5774516ea0
Reorganize GroupMembershipRequests a little 2023-03-20 19:32:24 -05:00
Alex Gleason
d4e9fddd02
Update usage of AuthorizeRejectButtons in group membership requests 2023-03-20 19:24:06 -05:00
Alex Gleason
7c7855e7a1
Groups: make authorize/reject use component state, update designs 2023-03-20 17:46:10 -05:00
Alex Gleason
ca9a41f102
Use EntityStore for pending group requests 2023-03-20 16:41:12 -05:00
Alex Gleason
143a9eda44
Use PendingItemsRow for pending members, pass a prop to control its size 2023-03-20 16:26:40 -05:00
Alex Gleason
3c06ba734b
Display pending counter in group member list 2023-03-20 16:03:41 -05:00
Alex Gleason
d08178f5fc
Groups: use entity store for pending requests 2023-03-20 15:54:06 -05:00
Chewbacca
e42e0577f4 Move Group mutations to entities 2023-03-20 15:41:18 -04:00
Chewbacca
4985db7dea Update group roles to owner/admin/user 2023-03-20 15:41:12 -04:00
Chewbacca
89bdc9b4a1 Move Promote/Demote admin into entity store 2023-03-20 15:41:12 -04:00
Alex Gleason
c0a22205f7
Fix GroupActionButton test 2023-03-17 16:14:23 -05:00
Alex Gleason
c51870af6e
Update some more groups stuff to use entities 2023-03-15 19:26:37 -05:00
Alex Gleason
5871abd786
Make "Manage Group" use the EntityStore 2023-03-15 17:59:37 -05:00
Alex Gleason
7fffe59fb9
Allow "owner" permissions on group pages 2023-03-15 17:26:07 -05:00
Chewbacca
6b30671875 Add Account entity and improve Block/Ban support for Groups 2023-03-15 14:55:43 -04:00
Chewbacca
283935e837 Add popover component 2023-03-15 14:55:26 -04:00
Chewbacca
c8a4d63fc8 Add GroupAvatar component 2023-03-14 15:17:05 -04:00
Chewbacca
9d1c2df1a2 Use ZOD for group-members 2023-03-14 15:16:00 -04:00
Chewbacca
08f97a133e Update blankslate for Group Timeline 2023-03-14 15:15:26 -04:00
Chewbacca
8a36561ec8 Use entities with Group Members 2023-03-14 15:15:26 -04:00
Alex Gleason
d12078a687
Use group factory functions in tests instead of normalizers 2023-03-13 14:55:59 -05:00
Alex Gleason
5278c8eb0f
Merge remote-tracking branch 'origin/develop' into groups-zod 2023-03-13 11:05:21 -05:00
Chewbacca
7ad2696f85 Move Join / Leave / Cancel group/request to mutations 2023-03-13 11:36:08 -04:00
Alex Gleason
1af67c3a25
members_count will never be null 2023-03-10 13:46:20 -06:00
Alex Gleason
3d2331d20b
Make useGroups hooks use zod parser, update group types 2023-03-10 13:36:00 -06:00
Chewbacca
3cc4f8b64b Improve Group Header with latest designs 2023-03-02 14:42:45 -05:00
Chewbacca
0b7a2ac19b Add support for i18n in Group Search 2023-03-01 10:40:07 -05:00
81de0014d3 Change ESLint rules, lint
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-02-16 00:12:02 +01:00