feat(ui): cardinal::modify_layout() "swap" mode should be improved to use also SID and not only WID
Description
cardinal::modify_layout()
"swap" mode is currently very limited: it requires using the WID as parameter to swap to widget in the layout. This force user to use a sub-config to pass the WID to the modify_layout slot. It should be possible to use the SID and lookup in right map.
Optionally, you may give directions about how to address the issue.
Functional specifications
Workflow, UX/UI design, screenshots, etc...
Technical specifications
Details of the implementation.
Test plan
Describe how you will verify that the implementation meets specifications.