Skip to content

Conversation

@Adamj1232
Copy link
Contributor

Description

Standardize the visualization of the chain icon within Account Center minimized and bring in line with Account Center Maximized. This handles icons imported outside of svg strings.
Handles discord issue shown here: https://discord.com/channels/542403978693050389/1050488289775321148/1107715492006862928

Checklist

  • Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
  • Check the box that allows repo maintainers to update this PR
  • Test locally to make sure this feature/fix works
  • Run yarn check-all to confirm there are not any associated errors
  • Confirm this PR passes Circle CI checks
  • Add or update relevant information in the documentation

@vercel
Copy link

vercel bot commented May 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-onboard-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2023 8:55pm

@socket-security
Copy link

New dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

📊 Modified Dependency Overview:

⬆️ Updated Package Version Diff Added Capability Access +/- Transitive Count Publisher
@web3-onboard/[email protected] 2.18.1-alpha.1...2.15.5 None +1/-0 cmeisl

class="chain-icon flex justify-center items-center"
style={`background-color: ${
validAppChain
<div class="chain-icon-container">
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the same thing need to happen in Micro.svelte?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@leightkt good question! Luckily micro is already using the WalletAppBadge component that handles the chain icons properly

@Adamj1232 Adamj1232 requested a review from leightkt May 15, 2023 21:23
@Adamj1232 Adamj1232 merged commit 7ce4363 into develop May 15, 2023
@Adamj1232 Adamj1232 deleted the fix/accountCenter_min_chainIcon_display branch May 15, 2023 21:37
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