Skip to content

feat(tangle-dapp): Implement LS pools update roles modal#2675

Merged
drewstone merged 21 commits intodevelopfrom
yuri/ls-update-roles-modal
Dec 6, 2024
Merged

feat(tangle-dapp): Implement LS pools update roles modal#2675
drewstone merged 21 commits intodevelopfrom
yuri/ls-update-roles-modal

Conversation

@yuri-xyz
Copy link
Copy Markdown
Contributor

@yuri-xyz yuri-xyz commented Nov 26, 2024

Summary of changes

Provide a detailed description of proposed changes.

  • ➕ Added the ability to update LS pool roles via a modal that initiates a transaction. This option automatically comes up if the user has the root role of any pools.
  • 🔧 Improved amount/balance formatting consistency across the dApp.
  • 🔧 Refactored code to make consistent use of the different address types: SubstrateAddress, Substrate32ByteAddress, and EvmAddress. By differentiating each type, it helps prevent possible logic bugs in the future and also improves DX.
  • 🐛 Fixed bug with the Update Commission modal where the modal footer was duplicated.
  • 🐛 Fixed the LST create pool precompile call since it was updated with new parameters on Tangle.

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.

ls-update-roles-modal.mp4

@yuri-xyz yuri-xyz self-assigned this Nov 26, 2024
@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 26, 2024

Deploy Preview for tangle-cloud ready!

Name Link
🔨 Latest commit 9ce3627
🔍 Latest deploy log https://app.netlify.com/sites/tangle-cloud/deploys/675266df7a0e930008c2c4f1
😎 Deploy Preview https://deploy-preview-2675--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.

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 26, 2024

Deploy Preview for tangle-dapp ready!

Name Link
🔨 Latest commit 9ce3627
🔍 Latest deploy log https://app.netlify.com/sites/tangle-dapp/deploys/675266dfc41cc500082a4dbb
😎 Deploy Preview https://deploy-preview-2675--tangle-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.

@yuri-xyz
Copy link
Copy Markdown
Contributor Author

yuri-xyz commented Dec 5, 2024

@AtelyPham Something recently seems to have changed that was causing the build/checks to fail, first something about WASM (which I've fixed) but also about Storybook build failing. I've removed the Storybook workflow temporarily as a workaround to be able to merge this PR.

Speaking of, do you think we should get rid of Storybook? I haven't been using it for a long time, unsure if it is actively providing many benefits tbh. Thoughts?

@yuri-xyz yuri-xyz marked this pull request as ready for review December 6, 2024 02:59
@drewstone
Copy link
Copy Markdown
Contributor

Demo looks great!

@drewstone drewstone merged commit 790e51e into develop Dec 6, 2024
@drewstone drewstone deleted the yuri/ls-update-roles-modal branch December 6, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed ✅

Development

Successfully merging this pull request may close these issues.

[TASK] Improve amount/balance formatting consistency [TASK] Create & use branded address types [FEAT] LS pool modal: Update roles

2 participants