-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dApp: Wallet connection info alert (#917)
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 <details> <summary>Before:</summary> <img width="552" alt="image" src="https://github.com/user-attachments/assets/97c5c23c-caa0-43e6-bbc4-fae874770f87"> </details> <details> <summary>After:</summary> <img width="574" alt="image" src="https://github.com/user-attachments/assets/0f4c7dbb-aee1-4711-9bb0-068bc93e1778"> </details>
- Loading branch information
Showing
5 changed files
with
45 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters