Commit Graph

22 Commits

Author SHA1 Message Date
c5c5bd0d62 Add ability to update Group tags 2023-04-17 10:21:59 -04:00
2d52c8c3e4 Add support for Group tags 2023-04-17 10:21:23 -04:00
a4992eec4d isLoading --> isSubmitting for action hooks 2023-04-03 15:19:10 -05:00
659c186394 ManageGroupModal: use internal state instead of Redux 2023-04-03 15:06:20 -05:00
a530ec0202 EntityStore: switch all hooks to use a callback function 2023-03-23 19:22:26 -05:00
ac9718e6ed Return isLoading from useCreateEntity and useDeleteEntity 2023-03-23 15:30:45 -05:00
b4c3248791 useEntityActions: fix isLoading 2023-03-23 15:09:00 -05:00
1c5a6d8b41 useDeleteEntity: refactor with EntityRequest 2023-03-23 15:05:34 -05:00
50f65bc7c9 useCreateEntity: pass an EntityRequest, refactor 2023-03-23 14:52:38 -05:00
1949651b9a Merge remote-tracking branch 'origin/develop' into group-requests 2023-03-23 10:23:06 -05:00
61fb434a54 Improve API of parseEntitiesPath 2023-03-22 16:12:05 -05:00
8f67d2c76f EntityStore: consolidate types, fix type of "path" 2023-03-22 16:06:10 -05:00
b127025167 Move useCreateEntity into its own hook as well, because why not 2023-03-22 15:31:58 -05:00
4049de50aa Add separate useDeleteEntity hook accepting a callback 2023-03-22 14:08:08 -05:00
ad98bf45cc Add hook to delete Group 2023-03-22 11:20:03 -04:00
e42e0577f4 Move Group mutations to entities 2023-03-20 15:41:18 -04:00
89bdc9b4a1 Move Promote/Demote admin into entity store 2023-03-20 15:41:12 -04:00
1ab9b1d75c EntityStore: optimistic deletion 2023-03-15 16:52:09 -05:00
709edaefad Merge branch 'block-group-members' into 'develop'
Use Entity Hooks for Blocking Group members

See merge request soapbox-pub/soapbox!2353
2023-03-15 20:42:40 +00:00
602a670b2e useEntityActions: ensure the delete gets dispatched 2023-03-15 14:04:29 -05:00
20ccd26a6e Update Entity Store with bug fixes 2023-03-15 14:55:43 -04:00
ac76af41b2 Add preliminary useEntityActions hook 2023-03-14 14:24:11 -05:00