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

Remove "Review transaction" view #3164

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

emreboga
Copy link
Collaborator

@emreboga emreboga commented Jan 8, 2025

This PR will remove the "Review Transaction" view/step and allow user to confirm a transaction from the main view. One important change here is moving the gas slider inside the route card for those that has gas top-up enabled.

Copy link

netlify bot commented Jan 8, 2025

👷 Deploy request for wormhole-connect pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 2ea0bdf

Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for wormhole-connect-mainnet ready!

Name Link
🔨 Latest commit 2ea0bdf
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-mainnet/deploys/67803542fda1350008eb453e
😎 Deploy Preview https://deploy-preview-3164--wormhole-connect-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -7,7 +7,6 @@ type Props = {
destChain: Chain | undefined;
destToken: string;
route?: string;
valid: boolean;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If gas top-up is not available for the route, we don't show it in the first place; hence this property is no longer needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Please note that git thinks this was a move from views/v2/Bridge/ReviewTransaction/index.ts to hooks/useConfirmTransaction.ts because the most of the lines in the first one was moved over to the second one. However we actually just moved the send function to new hook and deleted views/v2/Bridge/ReviewTransaction/index.ts.

@emreboga emreboga force-pushed the emre/remove-review-tx-view-4 branch from 43e6091 to 525af70 Compare January 9, 2025 09:55
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
@emreboga emreboga force-pushed the emre/remove-review-tx-view-4 branch from 525af70 to 5ef14cf Compare January 9, 2025 20:28
Signed-off-by: Emre Bogazliyanlioglu <[email protected]>
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.

1 participant