-
Notifications
You must be signed in to change notification settings - Fork 5
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(core, extension): add balance style to the dapp bridge [LW-9887] #943
feat(core, extension): add balance style to the dapp bridge [LW-9887] #943
Conversation
Changes unknown |
packages/ui/src/design-system/dapp-transaction-summary/dapp-transaction-summary.css.ts
Outdated
Show resolved
Hide resolved
packages/core/src/ui/components/DappAddressSections/DappAddressSections.module.scss
Show resolved
Hide resolved
@@ -144,9 +145,9 @@ export const DappTransaction = ({ | |||
))} | |||
</div> | |||
|
|||
{collateral && ( | |||
{collateral !== BigInt(0) && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see collateral is optional. Does this condition check prevents us from displaying when collateral is undefined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, will add the additional check 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed in 82c5116c3fe64d219d7edd351298901aeabf6056
7c55b60
to
9fe2fcb
Compare
Allure report
smokeTests: ❌ test report for d1cb93db
|
packages/ui/src/design-system/dapp-transaction-summary/dapp-transaction-assets.component.tsx
Outdated
Show resolved
Hide resolved
9fe2fcb
to
db655dc
Compare
c618ad5
to
2bf5939
Compare
5a3035f
to
03544dc
Compare
03544dc
to
d1cb93d
Compare
Quality Gate passedIssues Measures |
Checklist
Proposed solution
There has been a small style change in the wallet activity to differentiate operations that are negative or positive so users don’t have any doubt about the balance change in their wallet. This task is about bringing the same styling to the dapp bridge.
Testing
Try various DApp transactions and check that:
Screenshots