Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Geojson upload and AOI action buttons #159

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Conversation

vgeorge
Copy link
Member

@vgeorge vgeorge commented Apr 18, 2024

Contributes to #158.

The upload issue was caused by an implementation error in the AOI geocoding function, which was returning empty names in some cases, resulting in a invalid app state.

I also noticed that the AOI delete button wasn't enabled after an upload and fixed that.

How to test:

  • On a new project, upload the file available in Invalid state after uploading GeoJSON #158, proceed with selecting mosaic, model, and run prediction
  • Upload AOI to an existing project
  • On a new project, upload an AOI, delete it and check if the app can create other AOIs

@LanesGood this is ready for review.

@vgeorge vgeorge requested a review from LanesGood April 18, 2024 10:41
Copy link
Member

@LanesGood LanesGood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching all these bugs! Good fix - all works well!

@vgeorge vgeorge merged commit b7e316e into develop Apr 18, 2024
3 checks passed
@vgeorge vgeorge deleted the fix/geojson-upload branch April 18, 2024 14:21
@vgeorge vgeorge mentioned this pull request Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants