0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/apps/admin-x-activitypub
Michael Barrett 04ed106c73
Refactored data loading to be more performant in admin-x-activitypub (#21770)
refs
[AP-614](https://linear.app/ghost/issue/AP-614/investigate-client-loading-issues)

Refactored data loading to be more performant in admin-x-activitypub:
- Utilised tanstack query for suggested profiles instead of rolling our
own custom hook. This allows us to utilise tanstack for caching
- Refactored how data is loaded for the Inbox / Feed view - Queries are
no longer cleared when switching between the 2 layouts
- Refactored how activity data is key'd to make caching more
deterministic as well as allow mutating a specific activity cache (i.e
when adding a note, ensure it only gets added the the feed activities)
- Removed redundant `excludeNonFollowers` parameter - This is no longer
used by the API
2024-11-30 22:41:51 +00:00
..
public/styles Added Ghost2Ghost ActivityPub feature that uses mock API (#20411) 2024-06-19 12:46:02 +01:00
src Refactored data loading to be more performant in admin-x-activitypub (#21770) 2024-11-30 22:41:51 +00:00
test Refactored data loading to be more performant in admin-x-activitypub (#21770) 2024-11-30 22:41:51 +00:00
.eslintignore
.eslintrc.cjs
.gitignore
index.html
package.json Refactored data loading to be more performant in admin-x-activitypub (#21770) 2024-11-30 22:41:51 +00:00
playwright.config.mjs
postcss.config.cjs
tailwind.config.cjs
tsconfig.json Added alternative layout for displaying ActivityPub articles (#20556) 2024-07-08 15:11:01 +01:00
vite.config.mjs Updated vite config to allow sibling test files 2024-07-24 13:38:08 +07:00