-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Wallet Tx Security Provider: Warning Message #16258
Comments
@bschorchit the original requirement was to create only one message with the copy: “OpenSea has reviewed this request and is flagging it as malicious. Approving it could lead to a loss of funds. Proceed with caution.” |
|
@bschorchit we will need the URL for the OpenSea link and also please note that the messages are a new component since we don't have them anywhere like this so the scope of the ticket will have to be expanded. |
url is this: https://opensea.io/ |
Thanks for pointing this out, Elvir. I agree with expanded scope, but just want to have this component reviewed by design system team before we add it. |
I'm working on the Banner component right now that would be used here. In the meantime, the When the Banner component is completed, I will be sure to have this swapped out properly. Would look something like this: <BannerBase
title="This could be a scam"
startAccessory={<Icon name={ICON_NAMES.DANGER_FILLED} size={SIZES.LG} />}
color={COLORS.ERROR_DEFAULT}
backgroundColor={COLORS.ERROR_MUTED}
className="mm-banner--type-error"
>
<Text>
Approval is to an unverified smart contract known for stealing NFTs in
the past.
</Text>
<Text color={COLORS.TEXT_ALTERNATIVE} size={TEXT_VARIANTS.BODY_SM}>
This is based on information from{' '}
<ButtonLink
size={SIZES.INHERIT}
href="https://opensea.io/"
target="_blank"
>
OpenSea
</ButtonLink>
.
</Text>
</BannerBase> You'll need to add a class to update the color for the border: .mm-banner--type-error {
border-left: 4px solid var(--color-error-default);
} Ping me with questions |
Got a PR opened for the |
We are blocked on this ticket until the Banner component gets merged. |
Banner has been merged, @ElvirCe |
User Story
As a user, I want my tx security provider to be able to flag transactions and signature requests as malicious in my confirmation screen.
User research request:
OpenSea Collab - Tx Security Provider
User story
Resources
Acceptance Criteria
The text was updated successfully, but these errors were encountered: