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

PE-7099: Staking modal updates #108

Merged
merged 14 commits into from
Nov 22, 2024
Merged

Conversation

kunstmusik
Copy link
Collaborator

@kunstmusik kunstmusik commented Nov 13, 2024

  • Add expedited or standard withdrawal selections to initial unstake UI/UX
  • Remove EAY from un-staking modal
  • Add friction to staking modal (with review modal)
  • Add friction to unstaking modal (with review modal)
  • Change term unstake to withdraw

Copy link

github-actions bot commented Nov 13, 2024

Visit the preview URL for this PR (updated for commit c569597):

https://ar-io-network-portal-a40ee--pr108-pe-7099-staking-moda-ia450k20.web.app

(expires Tue, 03 Dec 2024 20:39:12 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7abfae09c4446982a71cbb94b0cbf4688377a111

Base automatically changed from PE-7032-staking-page-updates to develop November 14, 2024 15:00
@kunstmusik kunstmusik marked this pull request as ready for review November 19, 2024 20:36
@kunstmusik kunstmusik requested a review from a team as a code owner November 19, 2024 20:36
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lucide has this one

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This SVG is from Lucide

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lucide has this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This SVG is from Lucide

Copy link
Contributor

@atticusofsparta atticusofsparta Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should make a ticket to get rid of these and use strictly icons from one place as much as possible (ideally) - namely lucide.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah might be nice to remove the icons from Lucide in the app, add the lucide package, and use those instead. We'll probably still need this index for some custom icons (arconnect, ario.svg, etc.). Will take a bit of time to audit so a separate ticket seems best. (Added PE-7177 for this)

onSuccess: () => void;
ticker: string;
}) => {
const queryClient = useQueryClient();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: whats the difference for us acquiring the current queryClient from the hook vs the constant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's so the components can be reusable across projects and don't depend on a concrete instance.

@kunstmusik kunstmusik merged commit 94be0d5 into develop Nov 22, 2024
5 checks passed
@kunstmusik kunstmusik deleted the PE-7099-staking-modal-updates branch November 22, 2024 19:08
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