Repository navigation
feat(mobile): shareable stat cards for track milestones and trending - #14720
Draft
dylanjeffers wants to merge 1 commit into
Draft
dylanjeffers wants to merge 1 commit into
dylanjeffers wants to merge 1 commit into
Conversation
|
Adds a 'milestone' share type that carries the track and the stat (plays/reposts/favorites count or trending rank). It reuses the story pipeline with a stat headline on the sticker, so artists can post the card with a clip of the song to Instagram, TikTok or Snapchat. - Track milestone and trending notifications get a Share button that opens the card (collection and follower milestones keep X) - Pushes flagged with shareCard open the card over the track; trending underground pushes now navigate too - Web treats milestone shares as track shares for now Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dylanjeffers
force-pushed
the
feat/stat-cards
branch
from
October 28, 2026 19:25
0f9333d to
fa81524
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Artists can share a branded stat card ("1,000 Plays", "#3 On Trending") with a 10s clip of the song to their Instagram, TikTok or Snapchat story.
milestoneis a newShareModalRequest/ShareContentvariant carrying the track plus aShareMilestoneStat: a plays/reposts/favorites count, or a trending/underground rank.ShareToStoryStickergets an optionalheadline(big stat over the cover art), anduseShareToStory/ShareDraweraccept any content that carries a track.shareCardopen the card over the track. This needs the pedalboard change that addsshareCard,thresholdandrankto the push data. Without it, pushes behave exactly as today. Underground trending pushes also get a navigation handler.milestoneliketrack, for typecheck only. No web entry point yet.#14718 is merged; this is now based on
main.Out of scope for v1, per Michael: "Featured on Hot & New" and "All Things Bass".
Testing
🤖 Generated with Claude Code