From 94cca69e925586015196fdd5fbc9c3c3327f02a3 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 15 Mar 2018 22:26:49 -0400 Subject: [PATCH] Fixed: UI Fixes --- .../AddNewArtist/AddNewArtistSearchResult.js | 14 - .../InteractiveAlbumSearchModalContent.js | 43 +-- .../Artist/Index/Banners/ArtistIndexBanner.js | 8 +- .../Index/Banners/ArtistIndexBannerInfo.js | 11 +- .../Index/Overview/ArtistIndexOverview.js | 8 +- .../Overview/ArtistIndexOverviewInfo.css | 11 - .../Index/Overview/ArtistIndexOverviewInfo.js | 300 +++++++++--------- .../Overview/ArtistIndexOverviewInfoRow.css | 10 + .../Overview/ArtistIndexOverviewInfoRow.js | 35 ++ .../Artist/Index/Posters/ArtistIndexPoster.js | 8 +- .../Index/Posters/ArtistIndexPosterInfo.js | 11 +- .../Artist/Index/Table/ArtistIndexHeader.css | 4 +- .../src/Artist/Index/Table/ArtistIndexRow.css | 4 +- .../src/Artist/Index/Table/ArtistIndexRow.js | 3 +- frontend/src/Calendar/CalendarPage.js | 13 +- .../src/Calendar/CalendarPageConnector.js | 8 +- frontend/src/Store/Actions/calendarActions.js | 49 ++- 17 files changed, 283 insertions(+), 257 deletions(-) create mode 100644 frontend/src/Artist/Index/Overview/ArtistIndexOverviewInfoRow.css create mode 100644 frontend/src/Artist/Index/Overview/ArtistIndexOverviewInfoRow.js diff --git a/frontend/src/AddArtist/AddNewArtist/AddNewArtistSearchResult.js b/frontend/src/AddArtist/AddNewArtist/AddNewArtistSearchResult.js index a5f9ecadc..38a60bef8 100644 --- a/frontend/src/AddArtist/AddNewArtist/AddNewArtistSearchResult.js +++ b/frontend/src/AddArtist/AddNewArtist/AddNewArtistSearchResult.js @@ -71,7 +71,6 @@ class AddNewArtistSearchResult extends Component { artistType, status, overview, - albumCount, ratings, images, isExistingArtist, @@ -83,11 +82,6 @@ class AddNewArtistSearchResult extends Component { } = this.state; const linkProps = isExistingArtist ? { to: `/artist/${foreignArtistId}` } : { onPress: this.onPress }; - let albums = '1 Album'; - - if (albumCount > 1) { - albums = `${albumCount} Albums`; - } const height = calculateHeight(230, isSmallScreen); @@ -146,13 +140,6 @@ class AddNewArtistSearchResult extends Component { } - { - !!albumCount && - - } - { status === 'ended' &&