NWACus / avy

Mobile-Native Viewing of NAC Avalanche Forecasts
MIT License
13 stars 7 forks source link

Observation Location Selection Improvements #793

Open kevinherdez opened 1 month ago

kevinherdez commented 1 month ago

Right now, the location selection modal in the Observation submit form clears out any saved location when the modal is closed with the X button. I think we can make clearing the location more obvious to the user with a couple design improvements.

  1. Add another button to the modal (like an eraser or trash can) that the user presses to clear the pin on the map, they would then hit the checkmark to save the clear

  2. Add a "Clear location" button under the location form field, if the user has a location set

This could also be an opportunity to improve on the UI of that modal (but not necessary). For consistency across the app, this modal should match the modal that appears when setting filters for the observations list.

kevinherdez commented 1 month ago

I made draft PR #795 that has option 2 from above implemented. I only decided to do that one because it seemed faster from a UI standpoint to prototype, but the implementation for both the above options would be very similar