Skip to content

Commit 7139ab8

Browse files
committed
feat(crisis): add tooltip for crisis categorisation tab and legend name change
1 parent c735d40 commit 7139ab8

3 files changed

Lines changed: 18 additions & 9 deletions

File tree

app/src/components/domain/ActiveOperationMap/i18n.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"operationDisasterType": "Disaster Type",
1111
"operationFilterDisastersPlaceholder": "All Disaster Types",
1212
"crisisTabName": "Crisis Categorisation",
13+
"crisisCategorisationDescription": "The Crisis Categorisation enables the IFRC Network to systematically assess and assign severity levels to disasters based on standardized indicators. It supports both single-country and multi-country emergencies, allowing to input specific vulnerability data per country, consolidate those scores into a final IFRC Severity Level, and automatically track the history of all categorisation changes.",
1314
"appealTabName": "Appeal Types",
1415
"mapStartDateAfter": "Start After",
1516
"mapStartDateBefore": "Start Before",
@@ -19,9 +20,9 @@
1920
"operationMapProvinces": "Provinces",
2021
"operationMapClearFilters": "Clear Filters",
2122
"operationFilterDistrictPlaceholder": "All Provinces",
22-
"crisisRedEmergency": "Red Emergency",
23-
"crisisOrangeEmergency": "Orange Emergency",
24-
"crisisYellowEmergency": "Yellow Emergency",
23+
"crisisRedEmergency": "Red Level",
24+
"crisisOrangeEmergency": "Orange Level",
25+
"crisisYellowEmergency": "Yellow Level",
2526
"explanationBubblePopulationLabel": "# of people targeted",
2627
"explanationBubbleAmountLabel": "IFRC financial requirements"
2728
}

app/src/components/domain/ActiveOperationMap/index.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ import {
77
Button,
88
Container,
99
DateInput,
10+
InfoPopup,
1011
InlineLayout,
12+
ListView,
1113
SelectInput,
1214
Tab,
1315
TabList,
@@ -353,11 +355,17 @@ function ActiveOperationMap(props: Props) {
353355
<InlineLayout
354356
after={(
355357
<TabList>
356-
<Tab
357-
name="crisis"
358-
>
359-
{strings.crisisTabName}
360-
</Tab>
358+
<ListView spacing="3xs">
359+
<Tab
360+
name="crisis"
361+
>
362+
{strings.crisisTabName}
363+
</Tab>
364+
<InfoPopup
365+
title={strings.crisisTabName}
366+
description={strings.crisisCategorisationDescription}
367+
/>
368+
</ListView>
361369
<Tab
362370
name="appeal"
363371
>

0 commit comments

Comments
 (0)