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
Fabien 'egg' O'Carroll b591912c74
Updated the local state after following an account (#21509)
refs https://linear.app/ghost/issue/AP-523

We want to preempt the Accept activity from our Follows, so we make the
assumption that it's succeeded. What this means is that we have to
update our `following`, `followingCount` as well as the fetched profile
to set the `isFollowing` property. This gives a more fluid user
experience when following accounts and keeps our state up to date.

Accounts where the follow request has to be accepted manually, are a
little trickier as we don't currently have easy access to the "requested
but not accepted state"
2024-11-06 00:15:39 +07:00
..
public/styles Added Ghost2Ghost ActivityPub feature that uses mock API (#20411) 2024-06-19 12:46:02 +01:00
src Updated the local state after following an account (#21509) 2024-11-06 00:15:39 +07:00
test Added Ghost2Ghost ActivityPub feature that uses mock API (#20411) 2024-06-19 12:46:02 +01:00
.eslintignore
.eslintrc.cjs
.gitignore
index.html
package.json Updated admin-x-activitypub to use consistent URL encoding (#21493) 2024-11-04 10:40:06 +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