From 3c78567d825ae76cab413cfe5db47fb44f0555d6 Mon Sep 17 00:00:00 2001 From: nqv Date: Thu, 10 Dec 2020 16:28:46 +0700 Subject: [PATCH 1/3] fixed issue's comments #5068#issuecomment-741904592, #5068#issuecomment-741600474, #5068#issuecomment-741596441 and hide the sub-community select box for the review bucket --- .../__snapshots__/index.jsx.snap | 26 +----- .../components/challenge-listing/index.jsx | 3 + .../reducers/challenge-listing/sidebar.js | 1 - .../actions/challenge-listing/sidebar.js | 2 - .../Filters/FiltersPanel/index.jsx | 92 ++++++++++--------- .../Filters/FiltersPanel/style.scss | 4 +- .../Listing/Bucket/index.jsx | 8 +- .../challenge-listing/Sidebar/index.jsx | 10 +- .../components/challenge-listing/index.jsx | 22 +---- .../containers/challenge-detail/index.jsx | 16 +++- .../challenge-listing/FilterPanel.jsx | 29 +++--- .../challenge-listing/Listing/index.jsx | 25 +---- .../containers/challenge-listing/Sidebar.jsx | 11 +-- .../reducers/challenge-listing/sidebar.js | 11 --- src/shared/utils/challenge-listing/buckets.js | 62 ++++--------- 15 files changed, 121 insertions(+), 201 deletions(-) diff --git a/__tests__/shared/components/challenge-listing/__snapshots__/index.jsx.snap b/__tests__/shared/components/challenge-listing/__snapshots__/index.jsx.snap index 8b59c41356..351bba4c01 100644 --- a/__tests__/shared/components/challenge-listing/__snapshots__/index.jsx.snap +++ b/__tests__/shared/components/challenge-listing/__snapshots__/index.jsx.snap @@ -24,18 +24,6 @@ exports[`Matches shallow shapshot 1 shapshot 1 1`] = ` setFilterState={[MockFunction]} /> -
- - -
-
- -
@@ -100,6 +75,7 @@ exports[`Matches shallow shapshot 2 shapshot 2 1`] = ` />