There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-44325529-1472-41ef-b5eb-a6ce796ac615 XWIKI-21362 Open

Allow 'Edit Macro' configuration box to be opened by default when a macro that needs configuration is inserted through Quick Actions

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-a0752dae-d027-44b6-8876-3078a08696cb Charpentier Lucas on 19/Mar/25 14:31
 

The best option I see is:
Group the properties for a feature together (if there's only one visible property for this feature, ignore this and just set the property as mandatory).
The name of the feature is the name of the group.
The feature can be marked with an asterisk just like a property.

We need to update the `MacroService.xml` to share information about the mandatory state of a feature.
On the side of the `macroEditor.js`, we need to check whether a feature has multiple non-hidden properties available to change it.