Add and display addresses
- Adds a tab "Manage Adresses" that displays all addresses of a user
- Adds a form to add a new address to a proposal. The form is validated using react-hook-form capabilities.
This MR is to discuss first the implementation of these basic functionalities before the full-fledged implementation of #255 (closed).
Points I would like to discuss:
Integration in the UI and layout in general
Used
app__inner
as suggested by @bocciare
Use of Redux ? I didn't use Redux state at all so I will be happy to have any pointers on that.
Done.
Request implementations. I put them in a dedicatedapi.js
file but you might want to add the URI to your "catalogue".
Added to
api/icatPlus.js
Author/CreatedBy field. Is this needed ? If yes, how can I get the name from the user id ?
Hidden for now
New routes. I put the form ataddresses/new
and the address table ataddresses/
. Is this fine by you ?
Same pattern as
shipments
Edited by Loic Huder