-
Notifications
You must be signed in to change notification settings - Fork 4
New designs #15
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
New designs #15
Conversation
New loading spinner easing
53593ee
to
f71861f
Compare
}; | ||
}, | ||
template: `<LabelInput :value="value" @changed="changed"/>`, | ||
template: `<LabelInput placeholder="Name this account..." @changed="changed"/>`, |
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.
Instead of having two LabelInput
stories, should be just one that's configurable with a knob
}, | ||
template: `<AccountSelector @account-selected="accountSelected" @switch-wallet="switchWallet" :accounts="accounts" :walletId="walletId" :walletLabel | ||
="walletLabel" :walletType="walletType"/>` | ||
template: `<AccountSelector @account-selected="accountSelected" @login="login" :wallets="wallets"/>` |
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.
maybe add a knob to edit the wallets, for testing how the component behaves with multiple wallets
<PaymentInfoLine :amount="amount" :fee="fee" :address="shopAddress" :origin="origin" :shopLogoUrl="shopLogoUrl" @merchant-info-clicked="openMerchantInfo"/> | ||
<h1 style="font-size: 3rem; text-align: center; margin: 3rem 0 1rem; line-height: 1;">Choose an account to pay</h1> | ||
<AccountSelector @account-selected="accountSelected" @login="login" :wallets="wallets" :minBalance="amount + fee"/> | ||
<AccountInfo v-if="showMerchantInfo" :address="shopAddress" :origin="origin" :shopLogoUrl="shopLogoUrl" @close="closeMerchantInfo" style="position: absolute; left: 0; top: 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.
better to make the other story configurable with knobs or a button in the template
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.
Ok, the changes you made look good.
Let me know whether you want to work on the remaining issues.
For now I opened an issue here: #18
No description provided.