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

dApp: Wallet connection info alert #917

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

kpyszkowski
Copy link
Contributor

Closes: AENG-24

This pull request focuses on refactoring the wallet connection error handling system to use alerts of multiple types. The changes include renaming components and contexts, updating imports and hooks, and modifying the structure of connection alerts.

Changes:

  • Remove status from WalletConnectionAlertContext: Storing status in context is redundant. It was always "error" and having it in context made it difficult to control. The status property has only presentational purpose so it should be adjustable at the component level.
  • Adjust Alert component styling: Change title font weight and removed margin.
  • Adjust Modal component styling to match designs: Update paddings to match designs
Before: image
After: image

Copy link

linear bot commented Dec 5, 2024

Copy link

netlify bot commented Dec 5, 2024

Deploy Preview for acre-dapp-testnet ready!

Name Link
🔨 Latest commit 1573f56
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp-testnet/deploys/675a9155aee63500089ef42d
😎 Deploy Preview https://deploy-preview-917--acre-dapp-testnet.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.

Copy link

netlify bot commented Dec 5, 2024

Deploy Preview for acre-dapp ready!

Name Link
🔨 Latest commit 1573f56
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp/deploys/675a91556ae6260008e5e35c
😎 Deploy Preview https://deploy-preview-917--acre-dapp.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.

@kpyszkowski kpyszkowski self-assigned this Dec 11, 2024
@kkosiorowska kkosiorowska merged commit beaf9fa into main Dec 12, 2024
26 of 28 checks passed
@kkosiorowska kkosiorowska deleted the wallet-connection-info-alert-v2 branch December 12, 2024 07:34
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