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

[core-v2.8.4-alpha.1, react-v2.3.4-alpha.1, vue-v2.2.4-alpha.1]: Fix - AC UI balance & rpcUrl whitespace bug #1270

Merged
merged 6 commits into from
Sep 16, 2022

Conversation

Adamj1232
Copy link
Member

@Adamj1232 Adamj1232 commented Sep 14, 2022

Description

Fix overflow within the Account Center balance where the balance runs outside of the AC container.
To do this ellipsis were used and a max container width both on max & min AC.
Screen Shot 2022-09-13 at 1 05 36 PM
Screen Shot 2022-09-13 at 1 05 28 PM

Also fixed a bug where is there was any trailing or beginning spaces on the rpcUrl string when adding a new network an error is thrown.
This was accomplished by trimming the whitespace on rpcUrls when setting them in W3O state upon initialization.
Error thrown prior to fix when whitespace was present:
Screen Shot 2022-09-13 at 9 14 25 AM

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works
  • I have run yarn check & yarn build to confirm there are not any associated errors
  • This PR passes the Circle CI checks

@Adamj1232 Adamj1232 changed the title [core-v2.8.4-alpha.1]: Fix - AC UI balance & rpcUrl whitespace bug [core-v2.8.4-alpha.1, react-v2.3.4-alpha.1, vue-v2.2.4-alpha.1]: Fix - AC UI balance & rpcUrl whitespace bug Sep 14, 2022
@Adamj1232 Adamj1232 requested review from lnbc1QWFyb24, taylorjdawson and gesquinca and removed request for lnbc1QWFyb24 September 15, 2022 15:43
@@ -6,7 +6,6 @@ assignees:
- taylorjdawson
- aaronbarnardsound
- Adamj1232
- mahmud-bn
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch!

@@ -5,6 +5,7 @@ labels: [feature]
assignees:
- taylorjdawson
- aaronbarnardsound
- Adamj1232
Copy link
Contributor

Choose a reason for hiding this comment

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

💯

@Adamj1232 Adamj1232 merged commit cd83aeb into v2-web3-onboard-develop Sep 16, 2022
@lnbc1QWFyb24 lnbc1QWFyb24 mentioned this pull request Sep 19, 2022
@Adamj1232 Adamj1232 deleted the fix/AC_ui_balance branch January 26, 2023 20:26
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.

3 participants