From 7698ae00dd87449293006f9eb1fc66747f3d49ab Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 12 Jul 2019 23:15:13 -0400 Subject: [PATCH] Fixed: Misc UI/Test Fixes --- .circleci/config.yml | 2 +- .../AddNewMovie/AddNewMovieModalContent.css | 8 ++-- .../AddNewMovie/AddNewMovieModalContent.js | 22 +++++----- .../AddNewMovieModalContentConnector.js | 4 +- frontend/src/Movie/Details/MovieDetails.js | 3 ++ .../src/Movie/Details/MovieDetailsLinks.js | 42 +++++++++++++++++-- .../Organize/OrganizePreviewModalContent.js | 6 +-- .../OrganizePreviewModalContentConnector.js | 2 +- .../Settings/MediaManagement/Naming/Naming.js | 8 ++-- frontend/src/Utilities/Movie/getNewMovie.js | 8 +++- .../DiskSpace/DiskSpaceServiceFixture.cs | 5 +-- .../DiskSpace/DiskSpaceService.cs | 26 ++++++------ .../MetadataSource/SkyHook/SkyHookProxy.cs | 2 +- .../Config/NamingConfigModule.cs | 5 +-- .../Config/NamingConfigResource.cs | 5 +-- .../Config/NamingExampleResource.cs | 18 +------- .../Config/NetImportConfigResource.cs | 20 ++++----- src/Radarr.Api.V2/Movies/RenameMovieModule.cs | 14 ++++--- 18 files changed, 113 insertions(+), 87 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ac9aa76ad..326758d5d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ defaults: &defaults docker: - image: gallileo/radarr-cci-primary:5.8.9 environment: - BUILD_VERSION: 0.2.0 + BUILD_VERSION: 2.0.0 jobs: build: diff --git a/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.css b/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.css index 279a7582d..9c42822be 100644 --- a/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.css +++ b/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.css @@ -25,23 +25,23 @@ margin-left: 8px; } -.searchForMissingEpisodesLabelContainer { +.searchForMissingMovieLabelContainer { display: flex; margin-top: 2px; } -.searchForMissingEpisodesLabel { +.searchForMissingMovieLabel { margin-right: 8px; font-weight: normal; } -.searchForMissingEpisodesContainer { +.searchForMissingMovieContainer { composes: container from '~Components/Form/CheckInput.css'; flex: 0 1 0; } -.searchForMissingEpisodesInput { +.searchForMissingMovieInput { composes: input from '~Components/Form/CheckInput.css'; margin-top: 0; diff --git a/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.js b/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.js index 8e981bfe5..e110274e7 100644 --- a/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.js +++ b/frontend/src/AddMovie/AddNewMovie/AddNewMovieModalContent.js @@ -23,15 +23,15 @@ class AddNewMovieModalContent extends Component { super(props, context); this.state = { - searchForMissingEpisodes: false + searchForMovie: false }; } // // Listeners - onSearchForMissingEpisodesChange = ({ value }) => { - this.setState({ searchForMissingEpisodes: value }); + onSearchForMissingMovieChange = ({ value }) => { + this.setState({ searchForMovie: value }); } onQualityProfileIdChange = ({ value }) => { @@ -39,7 +39,7 @@ class AddNewMovieModalContent extends Component { } onAddMoviePress = () => { - this.props.onAddMoviePress(this.state.searchForMissingEpisodes); + this.props.onAddMoviePress(this.state.searchForMovie); } // @@ -142,17 +142,17 @@ class AddNewMovieModalContent extends Component { -