Skip to content

Preview a track as its whole album, starting on that track - #307

Open
IanHoar wants to merge 1 commit into
mainfrom
feat/preview-track-as-album
Open

IanHoar wants to merge 1 commit into
mainfrom
feat/preview-track-as-album

Conversation

@IanHoar

@IanHoar IanHoar commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

⚠️ this could be a controversial change, so might be worth adding an options toggle, or some other UX to go from the track to the whole album. Open to suggestions

Previewing a track that belongs to an album (e.g. "x bought a track" in the feed) now shows the whole album in the side player, with that track loaded. Standalone singles still show on their own.

Review notes

  • The track details response includes album_id, so the loader fetches the album and starts on the track. If that fetch fails, it falls back to showing the track alone.

Testing

Preview a "bought a track" story in the feed: the full album shows with the purchased track loaded.

Screen recording

Screen.Recording.2026-10-01.at.12.21.13.PM.mov

Feed stories like "x bought a track" now show the album the track
belongs to, with the purchased track loaded. Standalone singles still
show on their own.
@sabjorn

sabjorn commented Oct 2, 2026

Copy link
Copy Markdown
Owner

it looks like this isn't exclusive to Feed page -- and so I am unsure what the intended effect is for Artist/Label page and so if there isn't one, please move implementation to be feed page only

this could be a controversial change, so might be worth adding an options toggle
Also -- yes -- I agree. There is global settings system you can use -- it's the same one that drives the 'show waveform'. It's safe to use in multiple places simultaneously and persists between page loads.

feel free to add the toggle to the Feed page and to the User Settings drawer

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.

2 participants