Skip to content

Show feature count while map loads #1432

@matthew-white

Description

@matthew-white

Right now if the submission map takes a while to load, the user only sees the message "Loading Submissions..." while the map loads. We don't show a count in the message, because while Frontend knows the number of submissions, it doesn't know the number of submissions with geo data. This issue is to improve the loading message so that it shows:

  1. The number of features, i.e., the number of submissions with geo data
  2. The number of features that have not yet been processed (the number whose extraction from the submission XML is not cached). If there are many unprocessed features, the map will take longer to load.

Frontend will request this information from Backend at the same time that it requests GeoJSON.

The goal of this issue is to give the user more information than they have now so that they can better anticipate how long it'll take the map to load.

Metadata

Metadata

Labels

backendRequires a change to the API serverfrontendRequires a change to the UIneeds testingNeeds manual testing
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions