There are 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-4bf35d59-c24d-4d02-84a8-f61c905cd83f XWIKI-23135 Open

The right panel appears empty even though it is disabled

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-62902418-f55f-4e66-a300-9738ca141267 Charpentier Lucas on 23/Apr/25 17:19
 
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'
 
cid:jira-generated-image-avatar-62902418-f55f-4e66-a300-9738ca141267 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...

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.

 
cid:jira-generated-image-avatar-62902418-f55f-4e66-a300-9738ca141267 Charpentier Lucas on 23/Apr/25 17:28
 
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 :)