Commit Graph

9276 Commits

Author SHA1 Message Date
448f5c6ab9 Fix media gallery being broken 2023-06-23 11:41:10 -05:00
65f8299c1f EntityStore: change error type from any to unknown 2023-06-23 11:35:16 -05:00
ab5c4a4233 Fix useRelationships getting called while logged out 2023-06-23 11:30:10 -05:00
7bfde28b0c useFollow: don't go below 0 2023-06-22 23:47:46 -05:00
75dbeb65b6 Remove account_counters reducer and legacy follow actions 2023-06-22 23:38:50 -05:00
ad1718b5f9 Add useFollow, useChangeEntity hooks 2023-06-22 23:17:40 -05:00
cff5f96df4 Merge branch 'accounts-hook' into 'develop'
Switch to useAccount hook in every place it's convenient

See merge request soapbox-pub/soapbox!2566
2023-06-21 22:47:03 +00:00
88692b7020 Fix Patron badge in profile info panel 2023-06-21 17:13:29 -05:00
3a369f21fa Switch to useAccount hook in more places 2023-06-21 16:51:08 -05:00
5f61a624c6 Remove legacy useAccount hook 2023-06-21 16:28:51 -05:00
69d8817b6d SidebarMenu: useAccount hook 2023-06-21 16:25:35 -05:00
e01ee84ee9 ProfileHoverCard: use useAccount hook, add usePatronUser hook 2023-06-21 16:20:07 -05:00
25d3925b76 Merge branch 'zod-accounts' into 'develop'
Create legacy immutable adapter for accounts reducer

See merge request soapbox-pub/soapbox!2563
2023-06-21 16:39:14 +00:00
c2c94d0577 Fix crash on aliases page 2023-06-21 11:19:09 -05:00
4fc6640c2c Skip broken tests 2023-06-20 21:44:07 -05:00
ced600657b Fix auth test 2023-06-20 21:36:25 -05:00
256d7825ee Fix timelines test 2023-06-20 21:17:57 -05:00
7e83039999 Improve reducer type 2023-06-20 21:09:49 -05:00
ade9fa007d Merge branch 'remove-follow-suggestion' into 'develop'
Fix follow suggestion removal

See merge request soapbox-pub/soapbox!2565
2023-06-21 00:56:14 +00:00
fdd20981e3 Fix field name so follow suggestion is successfully removed 2023-06-20 20:25:15 -04:00
c4ad5e5d78 Fix tests that set the store wrong 2023-06-20 17:48:57 -05:00
e7217c5c58 Fix reducer in a way that works in tests 2023-06-20 17:33:20 -05:00
eb0c499d91 factory: generate account on status if not provided 2023-06-20 16:57:40 -05:00
3000f94325 Fix account relationships 2023-06-20 16:02:43 -05:00
4258d4b27f Fix reducer and selector, import accounts into entity store 2023-06-20 15:24:35 -05:00
412fe84d13 FIX THE TYPE ERRORS 2023-06-20 14:24:39 -05:00
011f2eb298 Merge remote-tracking branch 'origin/develop' into zod-accounts 2023-06-19 20:10:25 -05:00
5d515f0f21 Merge branch 'pick-utils' into 'develop'
utils: pick only needed fields

See merge request soapbox-pub/soapbox!2564
2023-06-19 22:47:31 +00:00
2796726cad utils: pick only needed fields 2023-06-19 16:49:42 -05:00
89c9e32b59 Move legacy functions into separate utils file 2023-06-19 16:02:51 -05:00
e789b44792 Improve legacy store types 2023-06-19 13:09:51 -05:00
8a4239d153 utils/accounts: pick only needed fields from type 2023-06-19 12:10:29 -05:00
060a9b559d Make accounts reducer an alias to entity store with immutableish methods 2023-06-19 12:07:58 -05:00
0cebcc05a5 Use any keys, fixes most errors! 2023-06-19 10:58:07 -05:00
d5b3853afc Merge branch 'add-suggested-groups-to-search' into 'develop'
Add Suggested Groups panel to Search page

See merge request soapbox-pub/soapbox!2560
2023-06-19 12:17:34 +00:00
5c41209a67 Merge branch 'fetch-group-data-timeline' into 'develop'
Fetch group relationships from timeline

See merge request soapbox-pub/soapbox!2549
2023-06-19 12:02:40 +00:00
203b1222f5 Merge branch 'load-group-data' into 'develop'
Fetch group relationship from notifications

See merge request soapbox-pub/soapbox!2540
2023-06-19 12:02:31 +00:00
a54b6ee8a3 Create legacy immutable adapter for accounts reducer 2023-06-18 20:10:17 -05:00
138ded3904 Merge branch 'link-header' into 'develop'
Use Link header for pagination in more places

See merge request soapbox-pub/soapbox!2562
2023-06-17 12:58:59 +00:00
ee76ec9bf4 Merge branch 'add-group-to-thumb-navigation' into 'develop'
Add Groups to Thumb Navigation

See merge request soapbox-pub/soapbox!2559
2023-06-16 12:51:26 +00:00
e1cacb6ee4 Optionally use Link header for pagination in various timelines 2023-06-15 21:40:32 -04:00
a985348bf1 Optionally use Link header for search pagination 2023-06-15 21:40:28 -04:00
dadc39f731 Merge branch 'schema-improvements' into 'develop'
Improve schemas for Account, EmojiReaction, Location, and Status

See merge request soapbox-pub/soapbox!2555
2023-06-14 14:40:59 +00:00
1d9130f7ac Add Suggested Groups panel to Search page 2023-06-14 08:11:39 -04:00
e3f92eadac Add Groups to Thumb Navigation 2023-06-14 08:05:25 -04:00
bfaea4c356 Merge branch 'browserslist' into 'develop'
npx browserslist@latest --update-db

See merge request soapbox-pub/soapbox!2558
2023-06-14 03:16:36 +00:00
590ab73b99 npx browserslist@latest --update-db 2023-06-13 22:14:28 -05:00
60eaf01940 Add Resolve<T> utility type 2023-06-13 22:12:42 -05:00
db070150d9 Remove unnecessary as string 2023-06-13 20:59:38 -05:00
405dcef4a5 Merge remote-tracking branch 'origin/develop' into schema-improvements 2023-06-13 20:58:49 -05:00