feat: Rename playCount to totalStreams and enhance trending page …#39
Merged
kellenGary merged 1 commit intodevfrom Feb 18, 2026
Merged
feat: Rename playCount to totalStreams and enhance trending page …#39kellenGary merged 1 commit intodevfrom
playCount to totalStreams and enhance trending page …#39kellenGary merged 1 commit intodevfrom
Conversation
…with new track row UI, time frame filtering, and track history expansion.
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.
This pull request introduces several improvements and consistency updates across the analytics and trending endpoints, API response models, and frontend components. The main changes include renaming the
playCountfield tototalStreamsfor clarity and consistency, updating API and TypeScript interfaces accordingly, and enhancing the UI for album and track rows with improved rank badges and layout adjustments.API and Data Model Consistency:
Renamed the
playCountfield tototalStreamsin all analytics and trending API endpoints and TypeScript interfaces to standardize terminology and improve clarity. This affects tracks, artists, and albums in both backend controllers and frontend data models. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Added
artistNameto album responses in trending and analytics endpoints to provide more context in the UI. [1] [2] [3]API Sorting Logic:
totalStreams(PlayCount) first, followed byUniqueListeners, for a more intuitive ranking in trending endpoints. [1] [2] [3]Frontend UI Improvements:
Enhanced the rank badge design for
AlbumRowandTrackRowcomponents: badges are now visually overlaid on images, with improved positioning, style, and text alignment for better visibility and consistency with the artist card. [1] [2] [3] [4] [5] [6] [7] [8] [9]Adjusted layout and sizing for album and track rows, including image sizes, padding, and removal of background color overrides, to create a cleaner and more consistent look. [1] [2] [3] [4]
Other:
start:homescript inpackage.jsonto use a new local API URL.…with new track row UI, time frame filtering, and track history expansion.