Deferred message loading #525
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
On server side most of the HTML is created to be delivered in a single response to the client. We could think about improving performance for info/success/error messages even further (we did partially for geometry conflicts in #503 ) by refactoring their rendering into an async call using htmx, just we did with the parcel detail view of a geometry.
Idea
Think about a way to properly 'collect' messages for certain views. Remember: Some messages are temporary (e.g. most success messages like 'sucessfully created entry xyz') and only visible after a specific action (e.g. saving a new entry). Others are permament like most error or info warnings.
Try to find an approach to fetch all types of messages in an appropriate and logical way without too much overhead/overengineering.