Commit
Enhance CreatorAnalytics component to filter and display analytics data by selected pack
Commit details
Commit notes
This commit introduces functionality to filter analytics data based on the selected pack ID. Key changes include: - Added logic to compute total revenue, sales, views, and plays for the selected pack. - Updated the display to use filtered analytics data, ensuring accurate metrics are shown. - Removed hardcoded trend values for metric cards to improve flexibility. - Adjusted best-selling pack and recent sales sections to reflect the filtered data.
These enhancements provide a more tailored analytics experience for users, allowing them to focus on specific packs.
- Files changed
- 1
- Lines added
- +59
- Lines removed
- −20