Open simon-leech opened 1 month ago
I think the user flow should be as followed:
Editing a location
Adding a new location
Or a few alternative thoughts:
edit mode - the single icon controls a user editing information (turns orange when in edit mode), if they click it again they are no longer in 'edit mode' and this saves any changes (e.g. don't need to click the tick symbol) we could also force users to provide a polygon name after they add a new shape (but this could be annoying...)
The geometry location entry module has it's own update method instead of using the location.update() method.
The reason for this being that we wanted geometry edits / updates to be immediate. ie. They don't require the user to save changes.
Having duplicate code for the geometry update method is not ideal. Especially if the geometry entry is linked other entries.
The easiest solution would be to call the location update method which would mean that any other outstanding changes are updated as well when a geometry value is modified.