-
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
fix: populate help section #2619
Conversation
Branch preview⏳ Deploying a preview site... |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
'Connect a dApp by following the above steps', | ||
`Ensure the dApp is connected to ${chain?.chainName ?? 'this chain'}`, | ||
'Initiate a transaction/signature request via the dApp', | ||
'Transact/sign as normal via the Safe', |
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 exctract the hardcode to a const, you can use a replacement pattern for the chain name.
<HintAccordion title="How do I connect to a dApp?" items={ConnectionSteps} /> | ||
<HintAccordion title="How do I interact with a dApp?" items={InteractionSteps} /> |
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 extract the hardcoded titles.
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.
Looks good overall.
Just one UX comment: after clicking on "Don't show again", it hides everything too abruptly. Ideally it should do it at least with a little delay (300ms?).
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.
🙏
What it solves
Resolves missing WC help info
How this PR fixes it
The help regarding connection/interaction with a dApp has been added.
How to test it
Open the WC modal and observe the help information within the accordions. Hiding and showing them should work accordingly.
Screenshots
Checklist