nobt-io / frontend

Frontend of nobt.io.
https://nobt.io
GNU General Public License v3.0
10 stars 4 forks source link

Improve UX of 'Add bill'-screen #78

Closed thomaseizinger closed 6 years ago

thomaseizinger commented 7 years ago

This PR drastically improves the UX of the 'Add bill'-screen by providing visual hints and messages if the entered data is not valid and the bill cannot be added.

Before After
old new

I have also inlined the AmountInput component, because 1. it did not do anything useful 2. made it cumbersome to pass new props to the actual Input, like required or error.

Overall, the whole page is pretty messy but I did not want to put too much effort into it because it will be taken apart in the near future anyway (and replaced by a wizard or something).


This change is Reviewable