[1.0.0-beta1] Don't trigger useless requests and replace unchanged panels

Created on 20 June 2025, 17 days ago

Don't rerender the islands which stay the same

When a request is sent from an interactive view panel (for example, if we move an instance in Builder, Layers or Tree panels), the HTMX response has OOB-Swap also to replace content in this panel.

It seems useless to replace something already in the right state, and it add weight to the HTTP Response body and one swap more for HTMX.

Can we skip it? We may need to add a triggering_panel value in the HTTP Request.

Don't trigger useless "move" requests

If we drag a source to the same slot, same position, the set (instance, slot, position) will be the same, nothing will change in the StateManager, so we don't need to trigger the HTTP request.

Don' forget to do the same for the root dropzone.

📌 Task
Status

Active

Version

1.0

Component

UI/UX/Islands

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024