Another weird behaviour is when we have two tabs where this value is edited in parallel... The way it's done now, both tabs can have different values. When we refresh a tab, the latest value is set in the storage and immediately used. The storage is not updated on other tabs AFAIK...
This can be solved with an event listener :
window.addEventListener('storage'
Charpentier Lucas on 23/Apr/25 17:25
The last issue is caused by the specific nature of the Panel Administration Page. This is the only page where the `hideleft`, `hideright` and `hidelefthideright` classes are move around after page load on the body.
For all the other pages, we don't want to listen to those changes since they should not happen...
The last issue is caused by the specific nature of the Panel Administration Page. This is the only page where the `hideleft`, `hideright` and `hidelefthideright` classes are move around after page load on the body.
For all the other pages, we don't want to listen to those changes since they should not happen...
PS: They could happen once https://jira.xwiki.org/browse/XWIKI-12824 is implemented. We probably want to add those listeners as a part of XWIKI-12824 since they'll be mostly be used by XWIKI-12824. ORRRR
We just hard-code it right now in https://github.com/xwiki/xwiki-platform/blob/8211065950131ca37cf17feebd9fce067c358a55/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/PanelWizard.xml#L459-L462 so that it works okay right now and we don't care about this UI at all when proposing improvements for XWIKI-12824 :)
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.