Deduplicate Mastodon article card content #35
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!35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task-2494df77-mastodon-card-dedup"
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
contentMapto avoid the Translate controlVerification
Task: task-2494df77
After release/deploy, redeliver
slug-cli-initand verify Chromium shows the URL plus one article card, not duplicated title/excerpt.Review summary
Approved. The PR makes article ActivityPub content URL-only so Mastodon can render one clean link card from OpenGraph metadata instead of showing title/excerpt in both the status body and the card.
Acceptance criteria coverage
contentMaplanguage metadata so the Translate control remains suppressed.Verification
npm run typechecknpm test -- --run src/federation/__tests__/routes.test.tsnpm testnpm run buildFollow-up gate
After merge/release/deploy, redeliver
slug-cli-initand verify in Chromium that Mastodon shows one clickable article card with image and does not duplicate title/excerpt in the status body.Blocking issues
None.
Verdict
Approved.