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 06cd63a3ab
Fixed intermittent error when posting a note in admin-x-activitypub (#21917)
refs
[AP-629](https://linear.app/ghost/issue/AP-629/notes-say-they-error-but-post-correctly)

Fixed intermittent error when posting a note in `admin-x-activitypub`

The error was intermittent due to it only occurring when a specific set
of steps occurred, and the query cache being periodically cleared.

The error itself was due to incorrectly expecting the `outbox:${handle}`
query to be an array when it was in fact an object.

This PR also resolves and issue where the reply count for new notes
would display `NaN` (because the `replyCount` property was not present
on newly created notes)
2024-12-18 19:05:31 +00:00
..
public/styles Added Ghost2Ghost ActivityPub feature that uses mock API (#20411) 2024-06-19 12:46:02 +01:00
src Fixed intermittent error when posting a note in admin-x-activitypub (#21917) 2024-12-18 19:05:31 +00:00
test Refactored data loading to be more performant in admin-x-activitypub (#21770) 2024-11-30 22:41:51 +00:00
.eslintignore Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
.eslintrc.cjs Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
.gitignore Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
index.html Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
package.json Fixed intermittent error when posting a note in admin-x-activitypub (#21917) 2024-12-18 19:05:31 +00:00
playwright.config.mjs Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
postcss.config.cjs Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
tailwind.config.cjs Added ActivityPub playground (#20081) 2024-04-25 16:44:29 +08:00
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