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

feat(tangle-dapp): Show LST icons from pool metadata (if set) #2653

Draft
wants to merge 22 commits into
base: develop
Choose a base branch
from

Conversation

yurixander
Copy link
Member

@yurixander yurixander commented Nov 13, 2024

Summary of changes

Provide a detailed description of proposed changes.

  • ➕ LST icons are now loaded if they're present in LS pools metadata and shown everywhere the LST's icon appears.
  • ➕ Created formatDisplayAmount utility function to standardize balance formatting for UIs.
  • 🔧 Adjusted the precision of some of the balances shown across tables, such as reducing precision for TVLs to reduce the space taken in the case of very small amounts.
  • 🐛 Added missing decimals prop to some token amount table cells that were missing it, which was causing precision problems.
  • 🐛 Fixed a bug when claiming a lot of payouts, now it limits it to 40 to avoid exceeing the block weight limit. This means that the Payout All button will have to be used multiple times if there are more than 40 pending payouts.

Proposed area of change

Put an x in the boxes that apply.

  • apps/tangle-dapp
  • apps/tangle-cloud
  • libs/tangle-shared-ui
  • libs/webb-ui-components

Associated issue(s)

Specify any issues that can be closed from these changes (e.g. Closes #233).

Screen Recording

If possible provide screenshots and/or a screen recording of proposed change.
Screenshot 2024-11-13 at 23 17 49

Screenshot 2024-11-15 at 01 23 18

@yurixander yurixander self-assigned this Nov 13, 2024
Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for tangle-cloud ready!

Name Link
🔨 Latest commit 541c49f
🔍 Latest deploy log https://app.netlify.com/sites/tangle-cloud/deploys/67369e79d2697e0008599a50
😎 Deploy Preview https://deploy-preview-2653--tangle-cloud.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 Nov 13, 2024

Deploy Preview for tangle-dapp failed. Why did it fail? →

Name Link
🔨 Latest commit 541c49f
🔍 Latest deploy log https://app.netlify.com/sites/tangle-dapp/deploys/67369e79251a1e000885e586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant