Skip to content

Conversation

sisou
Copy link
Member

@sisou sisou commented Feb 19, 2019

No description provided.

@sisou sisou self-assigned this Feb 19, 2019
@sisou sisou force-pushed the soeren/new-designs branch from 53593ee to f71861f Compare February 19, 2019 22:03
};
},
template: `<LabelInput :value="value" @changed="changed"/>`,
template: `<LabelInput placeholder="Name this account..." @changed="changed"/>`,
Copy link
Member

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"/>`
Copy link
Member

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;"/>
Copy link
Member

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

@danimoh danimoh mentioned this pull request Feb 23, 2019
4 tasks
Copy link
Member

@danimoh danimoh left a 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

@sisou sisou merged commit 95a1e93 into master Feb 23, 2019
@sisou sisou deleted the soeren/new-designs branch February 23, 2019 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants