-
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(ui): Flag addresses as own or foreign [LW-10061] #998
feat(ui): Flag addresses as own or foreign [LW-10061] #998
Conversation
Allure report
smokeTests: ✅ test report for b1f7f455
|
coverage: 50.845% (+0.2%) from 50.62% |
968b1a1
to
85ec6b4
Compare
color: vars.colors.$address_tag_own_color, | ||
backgroundColor: vars.colors.$address_tag_own_bgColor, | ||
}, | ||
[AddressTagVariants.Handle]: { |
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.
This is not used yet but was visible in the designs and so i already had implemented it before clarifying the smaller scope of the ticket. I would suggest to leave it here for later usage when we implement tagging handles
'addr_test1qzqgfww9svrzelxrnlml0nmdq4yevwke7ck7ae27u5ptmq5dwuq25p4hr0yxhg4pce0d6t7v4c0msy3vr3xppygn9ktqe77950' | ||
); | ||
|
||
const PXLAssetId = Wallet.Cardano.AssetId('1ec85dcee27f2d90ec1f9a1e4ce74a667dc9be8b184463223f9c960150584c'); |
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 just picked one existing asset I found in the SDK for this storybook example, could be any
module.exports = () => { | ||
return { | ||
testFramework: { | ||
configFile: 'test/jest.config.js' |
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.
This file is necessary to run Wallaby.js test runner in the core package which cannot handle our unusual jest setup (config nested in test
folder`) by default
85ec6b4
to
ceea841
Compare
@@ -0,0 +1,27 @@ | |||
import * as React from 'react'; |
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 like this pattern.
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.
LGTM
07aac21
to
3e39c9e
Compare
…vity details LW-10061
3e39c9e
to
b1f7f45
Compare
Quality Gate passedIssues Measures |
* feat(ui): add address tag ui component LW-10061 * feat(extension): flag own, address book and foreign addresses in dapp txs LW-10061 * feat(extension): flag own, address book and foreign addresses in activity details LW-10061
Checklist
Proposed solution
adds a new
AddressTag
component to the@lace/ui
toolkit with variants:Integrates the logic + address tag component in DApp tx summary (from/to section) and activity feed details
Screenshots
DApp tx summary:
Tx Activity details: