Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Show posts that mention a trending link #1153

Merged
merged 4 commits into from
Dec 3, 2024

Conversation

nikclayton
Copy link
Contributor

Mastodon 4.3 introduced a new API to fetch a timeline of posts that mention a trending link.

Use that to display a "See posts about ths link" message in a trending link's preview card (if supported by the server).

Define a new timeline type with associated API call to fetch the timeline.

Add an accessibilty action to support this.

While I'm here also support author's in preview cards that don't have a related Fediverse account; show their name in this case.

Fixes #1123

Mastodon 4.3 introduced a new API to fetch a timeline of posts that
mention a trending link.

Use that to display a "See <n> posts about ths link" message in a
trending link's preview card (if supported by the server).

Define a new timeline type with associated API call to fetch the
timeline.

Add an accessibilty action to support this.

While I'm here also support author's in preview cards that don't have
a related Fediverse account; show their name in this case.

Fixes #1123
@nikclayton nikclayton merged commit 57be148 into main Dec 3, 2024
24 checks passed
@nikclayton nikclayton deleted the 1123-trending-link-timeline branch December 3, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeline for a trending link
1 participant