Filters
diff --git a/src/components/main/menu/NCSelector.jsx b/src/components/main/menu/NCSelector.jsx
index 8079d9731..200c46bc7 100644
--- a/src/components/main/menu/NCSelector.jsx
+++ b/src/components/main/menu/NCSelector.jsx
@@ -29,6 +29,7 @@ const NCSelector = ({
onChange={onChange}
groupBy="region"
searchBar
+ searchPlaceholder="Type Neighborhood Council"
selectAll
/>
);
diff --git a/src/components/main/menu/Submit.jsx b/src/components/main/menu/Submit.jsx
index a88c25d46..b881b28ad 100644
--- a/src/components/main/menu/Submit.jsx
+++ b/src/components/main/menu/Submit.jsx
@@ -17,7 +17,7 @@ const Submit = ({
const handleSubmit = () => {
switch (pathname) {
- case '/': return getData();
+ case '/data': return getData();
case '/comparison': return getComparisonData();
default: return null;
}
@@ -25,7 +25,7 @@ const Submit = ({
useEffect(() => {
switch (pathname) {
- case '/': {
+ case '/data': {
const {
startDate,
endDate,
@@ -69,7 +69,7 @@ const Submit = ({
}
break;
}
- default: return null;
+ default: return undefined;
}
return () => {};
diff --git a/src/components/main/util/routeChangeActions.js b/src/components/main/util/routeChangeActions.js
index a5fcf8e79..fe820f1b9 100644
--- a/src/components/main/util/routeChangeActions.js
+++ b/src/components/main/util/routeChangeActions.js
@@ -1,6 +1,6 @@
import queryString from 'query-string';
import Mixpanel from '@utils/Mixpanel';
-import { acceptCookies, disableSplashPage } from '@reducers/ui';
+import { acceptCookies } from '@reducers/ui';
import store from '../../../redux/store';
const handleReferralCode = (
@@ -34,17 +34,8 @@ const checkAcceptedCookies = () => {
}
};
-const handleSplashPageView = location => {
- const { pathname } = location;
- const { ui } = store.getState();
- if (pathname !== '/' && !ui.disableSplashPage) {
- store.dispatch(disableSplashPage());
- }
-};
-
export default [
handleReferralCode,
logAboutPageVisit,
checkAcceptedCookies,
- handleSplashPageView,
];
diff --git a/src/components/privacyPolicy/PrivacyPolicy.jsx b/src/components/privacyPolicy/PrivacyPolicy.jsx
index f018ec15e..0e3328920 100644
--- a/src/components/privacyPolicy/PrivacyPolicy.jsx
+++ b/src/components/privacyPolicy/PrivacyPolicy.jsx
@@ -197,6 +197,8 @@ const PrivacyPolicy = () => (
{', '}
Mixpanel
{', '}
+
Hotjar
+ {', '}
Eventbrite
{', '}
Donorbox
diff --git a/src/redux/reducers/ui.js b/src/redux/reducers/ui.js
index bf8eb1d3b..06b9f9c5e 100644
--- a/src/redux/reducers/ui.js
+++ b/src/redux/reducers/ui.js
@@ -9,7 +9,6 @@ export const types = {
SHOW_FEEDBACK_SUCCESS: 'SHOW_FEEDBACK_SUCCESS',
UPDATE_MAP_POSITION: 'UPDATE_MAP_POSITION',
ACCEPT_COOKIES: 'ACCEPT_COOKIES',
- DISABLE_SPLASH_PAGE: 'DISABLE_SPLASH_PAGE',
};
export const toggleMenu = () => ({
@@ -50,10 +49,6 @@ export const acceptCookies = () => ({
type: types.ACCEPT_COOKIES,
});
-export const disableSplashPage = () => ({
- type: types.DISABLE_SPLASH_PAGE,
-});
-
const initialState = {
menu: {
isOpen: true,
@@ -66,7 +61,6 @@ const initialState = {
showDataCharts: false,
showComparisonCharts: false,
displayFeedbackSuccess: false,
- splashPageDisabled: false,
cookiesAccepted: false,
};
@@ -121,11 +115,6 @@ export default (state = initialState, action) => {
...state,
cookiesAccepted: true,
};
- case types.DISABLE_SPLASH_PAGE:
- return {
- ...state,
- splashPageDisabled: true,
- };
default:
return state;
}
diff --git a/src/styles/common/_multiSelect.scss b/src/styles/common/_multiSelect.scss
index c5e0bac62..26bbecd34 100644
--- a/src/styles/common/_multiSelect.scss
+++ b/src/styles/common/_multiSelect.scss
@@ -2,6 +2,10 @@
.search-bar {
margin-bottom: -1px;
+
+ input::placeholder {
+ color: #808080;
+ }
}
.multi-select-content {
diff --git a/src/styles/comparison/_comparison.scss b/src/styles/comparison/_comparison.scss
index b72857851..d96149afe 100644
--- a/src/styles/comparison/_comparison.scss
+++ b/src/styles/comparison/_comparison.scss
@@ -34,5 +34,9 @@
width: 100%;
padding: 2px;
}
+ .set-list {
+ margin: 0 15px;
+ }
+
}
}