There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5bf09643-677b-48bc-bf00-835bfb9611f3 XWIKI-23747 Open

Some misalignments and other UI issues on macro edit modals

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-779c04d4-8b03-40ae-aab7-fc7d0badf965 Simon Urli on 19/Dec/25 15:28
 

So I had a discussion on this with Thiago Krieck. I will handle most of the UI problems, however after discussing I won't change - at least for now - the first item of this ticket:

Some macro elements seem "nested" inside the modal, instead of integrated; this can be reproduced on 'Display' and 'Include' macros with the "reference" box;

The reason of displaying this "Reference" box containing a single parameter is technical for the Include and Display macro, and related to the fact that in reality there's a group of parameters, and a this group is bound to a feature. So it's possible that for some instance of the macro you see more parameters than just this one. Changing the UI for this would be complex, possibly error prone, and it could even confuse users if they happen to encounter macros with the definition of other parameters. Also it's maybe not visually very nice, but right now IMO it's not creating any usability issue.

Note that in the long run if we want to improve this, maybe we should rediscuss supporting in Display/Include macro the other parameters.