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

Finalise adding Entities to FMTM workflows & other tasks #1502

Closed
6 of 8 tasks
spwoodcock opened this issue Apr 30, 2024 · 5 comments
Closed
6 of 8 tasks

Finalise adding Entities to FMTM workflows & other tasks #1502

spwoodcock opened this issue Apr 30, 2024 · 5 comments
Assignees
Labels
backend Related to backend code enhancement New feature or request frontend Related to frontend code

Comments

@spwoodcock
Copy link
Member

spwoodcock commented Apr 30, 2024

Is your feature request related to a problem? Please describe.

  • Entities have been added to the project creation.
  • We have implemented their use on the project details map too.
  • There is still work to do to ensure Entities are fully integrated into FMTM and working for the 2024.03 release.

Describe the solution you'd like

@spwoodcock spwoodcock added enhancement New feature or request frontend Related to frontend code backend Related to backend code labels Apr 30, 2024
@spwoodcock spwoodcock changed the title Finalise adding Entities to FMTM workflows Finalise adding Entities to FMTM workflows & other tasks Apr 30, 2024
@Sujanadh
Copy link
Collaborator

Sujanadh commented May 8, 2024

I updated the endpoint to fetch the submissions correctly from central for now they are taking around 8 seconds to load submissions. And above, do you mean to call the entities directly from frontend? without involving the backend?

@spwoodcock
Copy link
Member Author

spwoodcock commented May 19, 2024

The statistics page can pretty much just use the entities endpoints to provide the stats, like how many features mapped, the user that mapped them, the validation status etc.

All that info is attached to the Entity.

The submissions endpoints only really need to be used for the user to download the submission data as a file format like GeoJSON/CSV/etc.
It's acceptable to wait a bit for this download to complete.

By using entities on the submission / stats page we can significantly reduce loading time and no longer require caching of the submission. Does that make sense?

@Sujanadh
Copy link
Collaborator

But we also need submission endpoints for the bar graph and table, in addition to downloading them. right?
How do we count submissions from entities? by counting statuses?
But what if I change the entity status manually from the endpoint? (though rare case in a practical scenario.)
image

How do we get contributors from entities?

@spwoodcock
Copy link
Member Author

Yep we can count the statuses = MAPPED or INVALID/BAD as the total number of submissions made.

I added further info the description of #1521 to clarify (the original task was badly worded)

@spwoodcock
Copy link
Member Author

Closing as most tasks are complete & QA Ready. The remainder has been moved to 2024.04 milestone tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code enhancement New feature or request frontend Related to frontend code
Projects
Development

No branches or pull requests

3 participants