Commit graph

17 commits

Author SHA1 Message Date
Alex Gleason
fb848f1484
useAccount: memoize the account 2023-07-20 16:23:48 -05:00
Alex Gleason
0e58f2b505
useAccountLookup, useGroupLookup: make lookup case insensitive
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1460
2023-07-06 11:56:27 -05:00
Alex Gleason
bcac58b9c3
Redirect to login when groups or accounts 403 2023-06-29 15:10:45 -05:00
Alex Gleason
242c6026d5
Make account hooks DRY with useAccountList 2023-06-26 11:22:02 -05:00
Alex Gleason
6f7bb54b19
Add useBlocks hook, switch over blocks and mutes to hooks 2023-06-25 17:48:19 -05:00
Alex Gleason
9c9c790a5f
Update followers/following pages 2023-06-25 16:21:27 -05:00
Alex Gleason
bfe6ab3c26
Fix useRelationships hook 2023-06-25 16:11:00 -05:00
Alex Gleason
989d99f908
Add useBatchedEntities hook for relationships 2023-06-25 15:57:38 -05:00
Alex Gleason
072014e39e
Add useRelationship hook, disable fetching relationship for account by default 2023-06-25 12:01:34 -05:00
Alex Gleason
ec8177d578
Add useAccountLookup hook, fix useRelationships 2023-06-23 21:41:36 -05:00
Alex Gleason
9f53a81fa1
Add useTransaction hook 2023-06-23 14:12:12 -05:00
Alex Gleason
ab5c4a4233
Fix useRelationships getting called while logged out 2023-06-23 11:30:10 -05:00
Alex Gleason
7bfde28b0c
useFollow: don't go below 0 2023-06-22 23:47:46 -05:00
Alex Gleason
75dbeb65b6
Remove account_counters reducer and legacy follow actions 2023-06-22 23:38:50 -05:00
Alex Gleason
ad1718b5f9
Add useFollow, useChangeEntity hooks 2023-06-22 23:17:40 -05:00
Alex Gleason
e01ee84ee9
ProfileHoverCard: use useAccount hook, add usePatronUser hook 2023-06-21 16:20:07 -05:00
Chewbacca
e0af6c4b2e Move Group hooks to api folder 2023-05-02 13:26:30 -04:00