-
Notifications
You must be signed in to change notification settings - Fork 408
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
refactor: replace Stepper for MUI's List #1467
Conversation
Branch preview✅ Deploy successful! https://refactor_tx_signers_stepper--webcore.review-web-core.5afe.dev |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
@liliiaorlenko In order to completely replace MUI's icons in this component by our custom ones, we will need:
🙏 |
1003e2a
to
9c228b0
Compare
@@ -19,18 +22,21 @@ import { isCancellationTxInfo, isExecutable, isMultisigDetailedExecutionInfo } f | |||
import EthHashInfo from '@/components/common/EthHashInfo' | |||
|
|||
import css from './styles.module.css' | |||
import txSignersCss from '@/components/transactions/TxSigners/styles.module.css' |
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.
This is already imported as css
.
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.
We should also reuse this in MsgSigners
.
import useSafeInfo from '@/hooks/useSafeInfo' | ||
import palette from '@/styles/colors' |
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.
Please update the branch. |
|
2nd issue :
|
Ty for QAing @liliya-soroka
|
ESLint Summary View Full Report
Report generated by eslint-plus-action |
@liliya-soroka please recheck. Point 1 should be fixed |
What it solves
Resolves #1218
How this PR fixes it
Replaces
TxSigners
logic around MUI's Stepper by MUI's List in alignment withMsgSigners
component.How to test it
The TxSigners stepper should work as before for all types of queued and historic transactions.
Icons colors should remain unaltered.
Screenshots
Expected behaviour
If the connected account can execute the queued tx it will show the checkmark icon. In the case you describe, the connected account can execute because if it signs, it will satisfy the threshold