-
Notifications
You must be signed in to change notification settings - Fork 365
feat: warning element for threshold changes/delegate calls #3861
Conversation
CLA Assistant Lite All Contributors have signed the CLA. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
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.
⚡
src/routes/safe/components/Transactions/TxList/AlertTooltipWarning.tsx
Outdated
Show resolved
Hide resolved
src/routes/safe/components/Transactions/TxList/DelegateCallWarning.tsx
Outdated
Show resolved
Hide resolved
const ThresholdWarning = (): ReactElement => ( | ||
<AlertTooltipWarning | ||
tooltip="This transaction alters the number of confirmations required to execute a transaction." | ||
warning="Confirmation policy change" |
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.
Oh cool, you done them both!
Pull Request Test Coverage Report for Build 2280703343
💛 - Coveralls |
src/routes/safe/components/Transactions/TxList/ThresholdWarning.tsx
Outdated
Show resolved
Hide resolved
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.
👍
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.
👍
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.
I found the same typo twice. Besides that everything looks good to me 🚀
Looking sharp! Moving the 2 related issues to QA done ;) |
What it solves
Resolves #3471 and #3723
How this PR fixes it
A new
AlertTooltipWarning
component was created and added to (unexpected) delegate calls, as well as confirmation policy changes.Confirmation policy change descriptions have also been adjusted.
Note: this does not include a link to an article regarding delegate calls.
How to test it
Screenshots
(Unexpected) delegate call:
rin:0x73a7AA145338587f7aB7f63c06d187C85dF4727e/transactions/multisig_0x73a7AA145338587f7aB7f63c06d187C85dF4727e_0xba28109747222d6cfb7f0fb75f03d49957e343674bc116162b038e244dbcc6d6
Threshold alteration: (
rin:0xAb5e3288640396C3988af5a820510682f3C58adF/transactions/multisig_0xAb5e3288640396C3988af5a820510682f3C58adF_0x3a2f4ef3358d80bb776efabc9e29757441fe2fdba2dc2ead688ee9146a280def
)