Skip to content

[Map] Hide "add data" button on site cards for ad hoc jobs #3069

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

Closed
gino-m opened this issue Mar 14, 2025 · 5 comments · Fixed by #3137
Closed

[Map] Hide "add data" button on site cards for ad hoc jobs #3069

gino-m opened this issue Mar 14, 2025 · 5 comments · Fixed by #3137
Assignees
Labels
type: fr Request for new feature
Milestone

Comments

@gino-m
Copy link
Collaborator

gino-m commented Mar 14, 2025

...only show "Add data" button on sites for predefined sites (ie LOIs imported by survey organizer).

This will simplify the "ad hoc" case, and prevent data collectors from adding data to each others' sites when implementing #3068.

So for predefined sites imported by the survey organizer, data collectors will see:

Image

And for ad hoc sites added by data collectors themselves:

Image

@vittorino @lecrabe @jo-spek FYI

@gino-m gino-m changed the title [Map] Do not show "add data" on site cards for "ad hoc" jobs [Map] Do not show "add data" on site cards for ad hoc jobs Mar 14, 2025
@gino-m gino-m changed the title [Map] Do not show "add data" on site cards for ad hoc jobs [Map] Hide "add data" button on site cards for ad hoc jobs Apr 7, 2025
@gino-m gino-m moved this to Todo in Ground Apr 7, 2025
@gino-m gino-m removed the status in Ground Apr 7, 2025
@gino-m gino-m added the type: fr Request for new feature label Apr 7, 2025
@gino-m gino-m added this to the ASAP milestone Apr 11, 2025
@anandwana001
Copy link
Collaborator

This is fixed in one of the old pull requests.

@rfontanarosa could you please test this once from the latest master branch?

@rfontanarosa
Copy link
Collaborator

me and Jonas have just verified and the problem is fixed. so we can close this @gino-m @anandwana001

@jo-spek
Copy link
Collaborator

jo-spek commented May 7, 2025

Let me elaborate that this was a huge problem with the "Collect data" cards in the older versions, where users had to swipe to the right to "Add a new site" when there was another mapped site already close. Now with the big plus instead this has become a non-issue.

@gino-m I would argue that now that one has to click the existent geometry first to add new data, we don't have to take the "Add data" button out anymore. Maybe call it "Update" instead?

@anandwana001
Copy link
Collaborator

@jo-spek Can we create a separate ticket for the above ask?

@gino-m
Copy link
Collaborator Author

gino-m commented May 7, 2025

@gino-m I would argue that now that one has to click the existing geometry first to add new data, we don't have to take the "Add data" button out anymore. Maybe call it "Update" instead?

We still need to do this, since I don't think the intent is to allow users to submit data multiple times for sites they added. The ability to add multiple submissions to a site was part of Ground's original design to allow crowd sourcing and remeasurement. Those only make sense in the context of jobs with predefined sites, not ones added ad hoc.

Leaving "Add data" on the ad hoc sites will be even more confusing once data collectors can see each other's sites. I'd vote to reopen this.

@gino-m gino-m moved this from Done to Todo in Ground May 7, 2025
@gino-m gino-m reopened this May 7, 2025
@kenstershiro kenstershiro moved this from Todo to In Progress in Ground May 14, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Ground May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: fr Request for new feature
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants