pi-ui
pi-ui copied to clipboard
Create new Amount component

This new component can be a variation of NumberInput.
@MariaPleshkova @linnutee Questions:
-
The button in the old Amount is responsible for filling the Amount with all the funds in the wallet. I think this is pretty useful for moving funds from default to unmixed, for example. How would something like that be accomplished with the new design?
-
Can't we make the
requested amount
andamount
the same?
Yep I think so, amount picker is important enough to have a distinct field.
Can I see the origin design @tiagoalvesdulce ?
I took this component from the figma master file here: https://github.com/decred/pi-ui/issues/323. This is more of a decrediton component so I think decrediton devs should handle it. I'll create labels to make this clear.
@tiagoalvesdulce @alexlyp @bgptr I would like to work on this one if it's still in todo ?
If the decrediton devs think this component will still be useful, go for it!
Sure, go for it!
hrmmm looks like storybook doesn't work 💯 ATM, how do you test your pi-ui work guys ?
@amass01 sorry for the delay. I didn't get a notification somehow. Can you detail your issue? Storybook is working here just fine.