Remove threshold line in side panel (#1666)

* Remove categories

* Remove disadvantaged in sidepanel

* Add comment
This commit is contained in:
Vim 2022-06-06 13:52:37 -04:00 committed by GitHub
commit 1681a72045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 41 deletions

View file

@ -314,21 +314,22 @@ export const COMMUNITY = {
export const numberOfCategoriesExceeded = (categoryCount:number) => <FormattedMessage
id={'explore.map.page.side.panel.num.categories.exceeded'}
defaultMessage={`Disadvantaged in {numberOfDisCategories, plural, one {# category} other {# categories}}`}
defaultMessage={`in {numberOfDisCategories, plural, one {# category} other {# categories}}`}
description={`Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show how many categories are exceeded`}
values={{
numberOfDisCategories: categoryCount,
}}
/>;
export const numberOfThresholdsExceeded = (thresholds:number) => <FormattedMessage
id={'explore.map.page.side.panel.num.thresholds.exceeded'}
defaultMessage={`At or above {numberOfThresholdExceed, plural, one {# threshold} other {# thresholds}}`}
description={`Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show how many thresholds are exceeded`}
values={{
numberOfThresholdExceed: thresholds,
}}
/>;
// Temporarily commenting out as it may be needed again:
// export const numberOfThresholdsExceeded = (thresholds:number) => <FormattedMessage
// id={'explore.map.page.side.panel.num.thresholds.exceeded'}
// defaultMessage={`At or above {numberOfThresholdExceed, plural, one {# threshold} other {# thresholds}}`}
// description={`Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show how many thresholds are exceeded`}
// values={{
// numberOfThresholdExceed: thresholds,
// }}
// />;
export const SEND_FEEDBACK = defineMessages({
EMAIL_BODY: {