diff --git a/components/stats/FollowerGrowth.vue b/components/stats/FollowerGrowth.vue new file mode 100644 index 0000000..15f8a8a --- /dev/null +++ b/components/stats/FollowerGrowth.vue @@ -0,0 +1,103 @@ + + + + + + + Period: + + + + + Something went wrong while fetching follwer growth data + + + + + + + + + diff --git a/components/stats/TrackRetention.vue b/components/stats/TrackRetention.vue new file mode 100644 index 0000000..2720bc0 --- /dev/null +++ b/components/stats/TrackRetention.vue @@ -0,0 +1,136 @@ + + + + + + + + Something went wrong while fetching the longest standing tracks + + + + + + + {{ track.name }} + + + + + + + + {{ artist.name }} + + , + + + + + + + {{ track.album.name }} + + + + + + + {{ formatDate(track.date_added) }} + + + + + + + {{ formatDate(track.date_removed) }} + + + + + + + {{ displayRetentionText(track.retention) }} + + + + + + + + + diff --git a/pages/playlists/[playlistId]/stats.vue b/pages/playlists/[playlistId]/stats.vue new file mode 100644 index 0000000..d59a99a --- /dev/null +++ b/pages/playlists/[playlistId]/stats.vue @@ -0,0 +1,8 @@ + + + Number of followers + + Track retention + + +
+ Period: + +
+ Something went wrong while fetching follwer growth data +
+ Something went wrong while fetching the longest standing tracks +