-
Notifications
You must be signed in to change notification settings - Fork 3
Address DREF Imminent changes feedback #1799
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
Address DREF Imminent changes feedback #1799
Conversation
|
6b10772
to
793b5ab
Compare
793b5ab
to
a4029ca
Compare
7579b94
to
2aa0b76
Compare
2aa0b76
to
6dd41cb
Compare
@@ -13,6 +13,8 @@ | |||
"drefApprovalInProgressTitle": "Approval in progress...", | |||
"drefAccountCouldNotCreate": "Could not create new operational update", | |||
"drefAccountCouldNotCreateFinalReport": "Could not create final report", | |||
"drefAccountConfirmMessage": "You're about to Approve this DREF. Once approved, it can no longer be edited. Are you sure, you want to Approve?" | |||
"drefAccountConfirmMessage": "You're about to Approve this DREF. Once approved, it can no longer be edited. Are you sure, you want to Approve?", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"drefAccountConfirmMessage": "You're about to Approve this DREF. Once approved, it can no longer be edited. Are you sure, you want to Approve?", | |
"drefAccountConfirmMessage": "You're about to Approve this DREF. Once approved, it can no longer be edited. Are you sure you want to Approve?", |
@frozenhelium Handle for empty Proposed Actions: |
@frozenhelium The list of activities is displaying in a row. |
@frozenhelium I don't see this confirmation as well as popup |
response?.type_of_dref === DREF_TYPE_IMMINENT | ||
// FIXME: add translations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use translation.
response?.type_of_dref_display === 'Imminent' | ||
// FIXME: can't compare imminent with Imminent Crisis directly | ||
response?.type_of_dref === DREF_TYPE_IMMINENT | ||
// FIXME: add translations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use translation.
<img | ||
className={styles.icon} | ||
src={proposedAction.icon} | ||
alt="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add alert text.
{activity.activity} | ||
</div> | ||
{i === 0 && ( | ||
<div |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we write index
here instead of i?
04aa0c2
to
42f3153
Compare
Summary
Addresses