Skip to content

Comments

feat: Rename playCount to totalStreams and enhance trending page …#39

Merged
kellenGary merged 1 commit intodevfrom
feat/trending-page-changes-17
Feb 18, 2026
Merged

feat: Rename playCount to totalStreams and enhance trending page …#39
kellenGary merged 1 commit intodevfrom
feat/trending-page-changes-17

Conversation

@kellenGary
Copy link
Owner

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 playCount field to totalStreams for 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 playCount field to totalStreams in 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 artistName to album responses in trending and analytics endpoints to provide more context in the UI. [1] [2] [3]

API Sorting Logic:

  • Changed sorting order for trending tracks, artists, and albums to prioritize totalStreams (PlayCount) first, followed by UniqueListeners, for a more intuitive ranking in trending endpoints. [1] [2] [3]

Frontend UI Improvements:

  • Enhanced the rank badge design for AlbumRow and TrackRow components: 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:

  • Updated the start:home script in package.json to use a new local API URL.…with new track row UI, time frame filtering, and track history expansion.

…with new track row UI, time frame filtering, and track history expansion.
@kellenGary kellenGary merged commit e016576 into dev Feb 18, 2026
1 of 3 checks passed
@kellenGary kellenGary deleted the feat/trending-page-changes-17 branch February 18, 2026 18:09
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.

1 participant