Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: email design changes #1530

Merged
merged 29 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c234990
build: remove duplicate port variable
gulfaraz Jul 23, 2024
2814481
build: update browser support for ng-18
gulfaraz Jul 23, 2024
81bf9f6
fix: set header logo max height to 50px
gulfaraz Jul 23, 2024
b02b4d8
fix: use consistent font size, alignments, and button styles #1512
gulfaraz Jul 23, 2024
36c2969
fix: update copy
gulfaraz Jul 23, 2024
4da1da7
fix: adjust spacing and widths
gulfaraz Jul 23, 2024
1415ef0
fix: follow mailchimp footer spec
gulfaraz Jul 23, 2024
38c17ce
fix: ibf footer email link
gulfaraz Jul 23, 2024
aa10c30
style: typo
gulfaraz Jul 23, 2024
a4fafe9
style: typo
gulfaraz Jul 23, 2024
37bcee5
fix: use disaster type label consistently
gulfaraz Jul 23, 2024
e623a13
fix: use trigger threshold consistently
gulfaraz Jul 23, 2024
d15654e
fix: show timezone without underscore
gulfaraz Jul 23, 2024
a9c69a3
refactor: use timeZone instead of timezone consistently
gulfaraz Jul 23, 2024
0d704a6
fix: reduce gap between warning and expected exposed
gulfaraz Jul 24, 2024
d327e29
fi: use secondary buttons for social and about trigger
gulfaraz Jul 24, 2024
eb00b89
fix: sort by lead time and threshold reached
gulfaraz Jul 24, 2024
545e981
fix: table spacing
gulfaraz Jul 24, 2024
135a207
fix: white space no wrap in alert title
gulfaraz Jul 24, 2024
a62a512
feat: use ongoing instead of 0-lead-time
gulfaraz Jul 24, 2024
a564d46
fix: round the % value to 2 decimal places
gulfaraz Jul 24, 2024
a7899c9
fix: show total affected if info is available
gulfaraz Jul 24, 2024
02cbb87
fix: update copy
gulfaraz Jul 24, 2024
5c209c8
data: use integers for population affected
gulfaraz Jul 24, 2024
4613b37
fix: egypt heavy rainfall email
gulfaraz Jul 24, 2024
0a76ca6
test: update api tests
gulfaraz Jul 24, 2024
e1fdb14
fix: lint error
gulfaraz Jul 24, 2024
6a80423
fix: use correct color for yellow
gulfaraz Jul 25, 2024
f1e9aba
fix: show indicator value for warnings
gulfaraz Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Feature: View and use chat section
When the user views the 2nd speech bubble
Then if NON-TRIGGERED it mentions there are 'no triggers'
And if TRIGGERED it mentions there is a trigger
And if EVENT-WITHOUT-TRIGGER it mentions an activated event below threshold ('typhoon' only)
And if EVENT-WITHOUT-TRIGGER it mentions an activated event below trigger threshold ('typhoon' only)
And it mentions when the event this trigger belongs to first started
And it mentions for when the trigger is expected
And it mentions the name of the event if applicable ('typhoon' only)
Expand Down
12 changes: 8 additions & 4 deletions interfaces/IBF-dashboard/.browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.dev/reference/versions#browser-support

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
last 2 Chrome versions
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
4 changes: 2 additions & 2 deletions interfaces/IBF-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"prestart": "npm install --no-audit --no-fund",
"serve:static": "cp www/index.html www/404.html && npx http-server www/ -c-1 --gzip",
"set-env-variables": "node ./_set-env-variabes.js",
"start": "ng serve --port=4200",
"start:no-install": "ng serve --port=4200",
"start": "ng serve",
"start:no-install": "ng serve",
"start:prod": "npm run build:prod && npm run serve:static",
"test:dev": "ng test",
"test": "npm run test:dev -- --no-watch --browsers=ChromeHeadless",
Expand Down
4 changes: 2 additions & 2 deletions interfaces/IBF-dashboard/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"header": "Stop {{alertLabel}}",
"message": "Are you sure? You are about to stop the {{alertLabel}} in <strong>{{ placeCodeName }}</strong>.<br><br>In case of a new event, the area will be triggered again by the IBF-Portal. But within the current event - even if predictions worsen - the trigger for this area will remain stopped. {{disasterSpecificText}}",
"disaster-specific": {
"floods": "(An event closes when the forecast stays below threshold for 7 days.)"
"floods": "(An event closes when the forecast stays below trigger threshold for 7 days.)"
},
"confirm": "Yes, stop {{alertLabel}}",
"cancel": "No, keep {{alertLabel}}",
Expand All @@ -114,7 +114,7 @@
"header": "Stop Alert",
"message": "Are you sure? You are about to stop the alert in <strong>{{ placeCodeName }}</strong>.<br><br>In case of a new event, a new alert for the area will be given by the IBF-Portal. But within the current event - even if predictions worsen - the alert for this area will remain stopped. {{disasterSpecificText}}",
"disaster-specific": {
"heavy-rain": "(An event closes when the forecast stays below threshold for 7 days.)"
"heavy-rain": "(An event closes when the forecast stays below trigger threshold for 7 days.)"
},
"confirm": "Yes, stop alert",
"cancel": "No, keep alert",
Expand Down
Loading
Loading