Add ActivityPub article preview metadata #33
No reviewers
Labels
No labels
activitypub
actor
admin
ai-safety
article
articles
atproto
bug
cli
configuration
content
dev-environment
docker
enhancement
feature
federation
fediverse
forgejo
garage
health
how-to
logging
markdown
mastodon
media
navigation
opengraph
passkeys
preview
priority:medium
production
release
rendering
s3
settings
setup
status:active
status:done
status:inprogress
technical
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit.com!33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task-2494df77-activitypub-preview-language"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
contents/LanguageStringso Mastodon receivescontentMapDocumentwith media type and alt/nameVerification
Task: task-2494df77
Note: task stays open after merge until release/deploy and live Chromium/Mastodon verification show the card image and no unwanted Translate control.
Review summary
Approved. The PR moves the remaining Mastodon-specific preview behavior into the ActivityPub object, matching the working pattern from
erikcraddock.me.Acceptance criteria coverage
contents: [content, new LanguageString(content, "en")].contentandcontentMap, which should prevent Mastodon from offering translation on future delivered statuses.Documentattachment with absolute URL, media type, and alt/name.content; tests now additionally assertcontentMap.contentMapfor article/note objects.Verification
npm run typechecknpm test -- --run src/federation/__tests__/routes.test.tsnpm testnpm run buildImportant follow-up gate
Do not close task
task-2494df77after merge alone. It should remain open until release/deploy and Chromium/Mastodon verification show the article card image and no unwanted Translate control for a newly delivered/refetched Mastodon status.Blocking issues
None.
Verdict
Approved.