Commit Graph

110 Commits

Author SHA1 Message Date
5fa8a21403 Cap Group Admins at 5 2023-04-04 14:05:08 -04:00
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
f20dade50b Update entity in store after canceling request 2023-04-04 12:08:29 -04:00
a486b317d4 Fetch account and relationship with entity store 2023-04-04 08:11:03 -04:00
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
9e60d90812 We do a little refactoring 2023-03-29 20:30:05 -05:00
f3727440ff Move form hooks into their own files 2023-03-29 20:14:41 -05:00
eb6c82a867 Make EditGroup page work, pretty much 2023-03-29 19:18:20 -05:00
455030ef5b Add validation support to features 2023-03-29 15:44:00 -04:00
4886548889 Add validation support to Group names 2023-03-29 15:42:20 -04:00
af9439f1d3 Use entity store for Group Search 2023-03-28 12:57:44 -04:00
966fcc617a Merge branch 'fix-loading-state' into 'develop'
Fix loading animation for Carousel

See merge request soapbox-pub/soapbox!2383
2023-03-28 15:52:56 +00:00
e12450ee5d Merge branch 'group-improvements' into 'develop'
Remove mock data for Group Discovery

See merge request soapbox-pub/soapbox!2384
2023-03-28 14:33:49 +00:00
29c913859e Remove mock data for Group Discovery 2023-03-28 10:32:56 -04:00
be4a7e45e9 Fix loading animation for Carousel 2023-03-28 10:30:34 -04:00
e6252070a6 Fix test 2023-03-28 09:46:55 -04:00
3a2b4c6efb Add ability to search my Groups 2023-03-28 09:09:09 -04:00
a530ec0202 EntityStore: switch all hooks to use a callback function 2023-03-23 19:22:26 -05:00
9d12173b87 Add useLoading hook 2023-03-23 18:44:44 -05:00
ad3f8acbe5 EntityStore: allow passing an EntityRequest object to useEntities 2023-03-23 14:14:53 -05:00
1949651b9a Merge remote-tracking branch 'origin/develop' into group-requests 2023-03-23 10:23:06 -05:00
402daec9c3 Add useIncrementEntity hook 2023-03-22 19:45:34 -05:00
f016ac1e6d GroupMembershipRequests: invalidate query upon authorize/reject 2023-03-22 18:48:24 -05:00
b47cdb368f useGroupMembershipRequests: use useDismissEntity hooks 2023-03-22 16:31:49 -05:00
8f67d2c76f EntityStore: consolidate types, fix type of "path" 2023-03-22 16:06:10 -05:00
ad98bf45cc Add hook to delete Group 2023-03-22 11:20:03 -04:00
7c7855e7a1 Groups: make authorize/reject use component state, update designs 2023-03-20 17:46:10 -05:00
282afaa47f Merge branch 'use-groups-condition' into 'develop'
Do not make requests to api/v1/groups if feature not available

See merge request soapbox-pub/soapbox!2363
2023-03-20 21:57:35 +00:00
7329c0bf25 Do not make requests to api/v1/groups if fffeature not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-20 22:42:27 +01:00
d08178f5fc Groups: use entity store for pending requests 2023-03-20 15:54:06 -05:00
e42e0577f4 Move Group mutations to entities 2023-03-20 15:41:18 -04:00
4985db7dea Update group roles to owner/admin/user 2023-03-20 15:41:12 -04:00
89bdc9b4a1 Move Promote/Demote admin into entity store 2023-03-20 15:41:12 -04:00
e6621a802b Make popular and suggested groups share the Group store 2023-03-16 13:18:36 -05:00
74ebd560e6 Revert useEntity array changes, do that in the schema parser 2023-03-15 14:19:13 -05:00
6b30671875 Add Account entity and improve Block/Ban support for Groups 2023-03-15 14:55:43 -04:00
7070630eaf useVersion -> useBackend 2023-03-14 15:16:01 -04:00
1b542c3ed7 Use Entities enum 2023-03-14 15:16:01 -04:00
f4d2f42c01 Use new schema arg 2023-03-14 15:16:01 -04:00
7be8218f0c Convert popular/suggested Groups to use Entities 2023-03-14 15:16:01 -04:00
1d53f48904 Fix parser 2023-03-14 15:16:01 -04:00
9d1c2df1a2 Use ZOD for group-members 2023-03-14 15:16:00 -04:00
8a36561ec8 Use entities with Group Members 2023-03-14 15:15:26 -04:00
6ac57910bf Merge branch 'groupschema-tests' into 'develop'
Add group factory functions for tests, add a groupSchema test

See merge request soapbox-pub/soapbox!2344
2023-03-14 14:16:05 +00:00
39d61eabda Merge branch 'entity-store-refactoring' into 'develop'
Entity store refactoring (improve performance, etc)

See merge request soapbox-pub/soapbox!2346
2023-03-14 14:12:14 +00:00
8547aeb517 Add useGetState hook 2023-03-13 17:45:35 -05:00
d0ceac9987 Pass zodSchema directly to entity hooks for safeParse validation 2023-03-13 16:23:11 -05:00
d12078a687 Use group factory functions in tests instead of normalizers 2023-03-13 14:55:59 -05:00
61ece4d271 Merge remote-tracking branch 'takver/fix-locale-parser' into fix-locale-parser
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-03-13 20:44:09 +01:00
a9b79f72b4 Revert "Fix useGroupsPath test"
This reverts commit 487604b15a.
2023-03-13 13:02:41 -04:00