Remove download tracking UI from track pages#14074
Merged
dylanjeffers merged 2 commits intomainfrom Apr 8, 2026
Merged
Conversation
Remove the DownloadSection and download count stat from the giant track tile header. Downloads are now only shown in the metadata section (genre, mood, key, BPM, etc.) and only when the count is greater than zero. https://claude.ai/code/session_01TFkhjQRGjeoZrtiaXsqC5j
|
Co-authored-by: Dylan Jeffers <dylanjeffers@users.noreply.github.com>
Contributor
🌐 Web preview readyPreview URL: https://audius-web-preview-pr-14074.audius.workers.dev Unique preview for this PR (deployed from this branch). |
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.
Summary
This PR removes download count tracking and display functionality from track pages, including the download stats button and dedicated download section component.
Key Changes
TrackStats.tsx: Removed the download count display button that showed formatted download statistics
useTrackDownloadCounthook and related download count fetching logicIconCloudDownloadimport and download messageis_downloadablefield from track data selectionGiantTrackTile.tsx: Removed the download section component from the track tile
DownloadSectioncomponentuseStemshook and download availability logicSuspenseandlazyimports that were only used for the download sectionuseTrackMetadata.ts: Updated downloads metadata display logic
isDownloadableis true ANDdownloadCount > 0Implementation Details
The changes maintain the metadata structure but make the downloads field conditional on having actual download data, ensuring cleaner UI by not showing download information when there's nothing to display.
https://claude.ai/code/session_01TFkhjQRGjeoZrtiaXsqC5j