Many UI and API Improvements (#8)

This fixes and implements many items on the ArtistIndex Page and ArtistDetailPage

* Create ArtistStatistics Core Module and tie into API.
* Create Members Class and tie into ArtistModel and Artist API resource.
* Finish Out Album API resources and pass to ArtistDetailPage.
* Finish Out Track and TrackFile API resources and pass to ArtistDetailPage.
* Lots of UI work on Artist Detail Page to get Albums and Track list working.
* Add Cover and Disc Image Types to MediaCover Class
* Remove AddSeries UI Flow, since we have replaced with AddArtist (Cleanup)
This commit is contained in:
Qstick
2017-06-25 09:17:49 -04:00
committed by Joseph Milazzo
parent 2c7398ac66
commit d8ea0a3243
86 changed files with 1293 additions and 1663 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ module.exports = PageableCollection.extend({
this.artistId = options.artistId;
},
bySeason : function(album) {
byAlbum : function(album) {
var filtered = this.filter(function(track) {
return track.get('albumId') === album;
});
@@ -36,11 +36,11 @@ module.exports = PageableCollection.extend({
var track2 = model2.get('trackNumber');
if (track1 < track2) {
return 1;
return -1;
}
if (track1 > track2) {
return -1;
return 1;
}
return 0;