-
Notifications
You must be signed in to change notification settings - Fork 464
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
feat: unsigned warning #1067
feat: unsigned warning #1067
Conversation
ESLint Summary View Full Report
Report generated by eslint-plus-action |
Deploying with Cloudflare Pages
|
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.
IMHO this warning isn't visible enough. I would write it in big red letters above the transaction. Perhaps in an <Alert>
And text-wise, and I would write something like “This transaction is unsigned and could have been created by anyone. To avoid phishing, only sign it if you trust the source of the link.” |
This follows the style of our other warnings. I'll ask design and see what they think. Edit: @liliiaorlenko said it's ok to keep it as is for now and revisit the entire |
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.
Code looks good and if this is aligned with designer 👍
I agree with this comment however
IMHO this warning isn't visible enough. I would write it in big red letters above the transaction. Perhaps in an
though an unsigned transaction can come from a friendly source, I think it would be worth to make it more prominent (as suggested) and thus not closing the issue just with this PR.
After syncing with @liliiaorlenko, we intend to document our transaction list in detail and then reassess all transaction-related notifications thereafter. |
I was talking about the Single Tx page btw. The list is safe, we never load untrusted txns there. But anyone can create and share a deeplink. |
What it solves
Resolves #898
How this PR fixes it
A new warning is shown when a proposed transaction has no signatures.
How to test it
Open
/gor:0xF3E977e7Eea1A91ce5B2d5077e5A7195Ae18b722/transactions/tx?id=multisig_0xF3E977e7Eea1A91ce5B2d5077e5A7195Ae18b722_0xc0c5380e113ecff6054c69d02fe7d5ee753db29635548c80794bd028cf614bb5
and observe the warning.Screenshots