Keep article image previews as link cards #34
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!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task-2494df77-clickable-card-preview"
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
attachmentVerification
Task: task-2494df77
Note: after release/deploy, redeliver
slug-cli-initand verify in Chromium that Mastodon shows a clickable status card with image, not a media gallery, and no Translate control.Review summary
Approved. The PR removes the ActivityPub image attachment that caused Mastodon to render the banner as media, while preserving language-tagged content for the Translate fix. This aligns the desired UX: Mastodon should use the article URL plus OpenGraph metadata to render a clickable link card, not a media gallery image that opens the image file.
Acceptance criteria coverage
contentMap/language-tagged ActivityPub content from PR #33, preserving the no-Translate behavior.Documentattachment so the banner is not treated as media.attachment.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. After release/deploy, redeliverslug-cli-initand verify in Chromium that Mastodon shows a clickable article status card with image, not a media gallery, and no Translate control.Blocking issues
None.
Verdict
Approved.