Parcel loading on a detail view is handy but loading time increases if the geometry intersects a few thousand parcels.
Enhancement
Instead of loading the parcel with everything else, we could think about a deferred loading using htmx. This framework might be handy for further purposes as well. We should give it a try and implement this enhancement using htmx.
If we implement a deferred loading for the parcels, we could get rid of the "please reload the page in a few moments" on new parcel calculation. This way, we could serve the new parcels right away, once they are available on the db.
# Status quo
Parcel loading on a detail view is handy but loading time increases if the geometry intersects a few thousand parcels.
# Enhancement
Instead of loading the parcel with everything else, we could think about a deferred loading using [htmx](https://htmx.org/). This framework might be handy for further purposes as well. We should give it a try and implement this enhancement using htmx.
If we implement a deferred loading for the parcels, we could get rid of the "please reload the page in a few moments" on new parcel calculation. This way, we could serve the new parcels right away, once they are available on the db.
Visually enhanced spatial reference section on detail views and report. Deferred loading of parcel entries speeds up the rendering of a detail view especially for giant geometries, covering thousands of parcels.
Visually enhanced spatial reference section on detail views and report. Deferred loading of parcel entries speeds up the rendering of a detail view especially for giant geometries, covering thousands of parcels.
![grafik](/attachments/424d358f-877f-406d-8081-681ab76d8042)
![grafik](/attachments/04478288-92cd-410b-9f57-96287eb53027)
Status quo
Parcel loading on a detail view is handy but loading time increases if the geometry intersects a few thousand parcels.
Enhancement
Instead of loading the parcel with everything else, we could think about a deferred loading using htmx. This framework might be handy for further purposes as well. We should give it a try and implement this enhancement using htmx.
If we implement a deferred loading for the parcels, we could get rid of the "please reload the page in a few moments" on new parcel calculation. This way, we could serve the new parcels right away, once they are available on the db.
Visually enhanced spatial reference section on detail views and report. Deferred loading of parcel entries speeds up the rendering of a detail view especially for giant geometries, covering thousands of parcels.
Merged in #128