Skip to content
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: make delegation widget accessible from My Account view when wallet is connected #254

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

adamsoffer
Copy link
Contributor

This PR ensures that the delegation widget is accessible from the "My Account" view when a user's wallet is connected to the explorer. Resolves issue #243

@adamsoffer adamsoffer requested a review from 0xcadams January 10, 2024 19:11
Copy link

vercel bot commented Jan 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
explorer-arbitrum-goerli ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 12, 2024 4:43pm
explorer-arbitrum-one ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 12, 2024 4:43pm

@rickstaa
Copy link
Member

@adamsoffer, thanks again for implementing this ❤️‍🔥. I tested the changes, and they are working on my local machine. I think the code is cleanly executed and can be merged. However, I made one small suggestion that could improve the mobile delegate/undelegated behaviour (see #255). Your old versions would only show the delegate button on the mobile view:

image

The new behavoir shows both buttons and opens the related delegator widget tab accordingly:

image

…ir (#255)

This commit ensures that both delegate and undelegate buttons are shown
on mobile devices and that the right tab of the delegation widget is
opened when clicking on these buttons.
@adamsoffer
Copy link
Contributor Author

Thanks @rickstaa! Nice spot - just merged your PR into this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants