This issue has been created
There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-50a65b3e-c499-404e-994a-cab318c710f5 XWIKI-22383 Open

Display the macro name next to the move handle when hovering a macro in the wysiwyg editor

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9879c503-2309-41ea-acab-9887fac47075 Anca Luca created this issue on 02/Aug/24 11:10
 
Summary: Display the macro name next to the move handle when hovering a macro in the wysiwyg editor
Issue Type: cid:jira-generated-image-avatar-50a65b3e-c499-404e-994a-cab318c710f5 Improvement
Affects Versions: 16.4.1
Assignee: Unassigned
Attachments: image-2024-08-02-11-06-11-558.png
Components: WYSIWYG Editor
Created: 02/Aug/24 11:10
Labels: usability
Priority: cid:jira-generated-image-static-critical-6f746587-499d-41da-b288-f80fcf0a9682 Critical
Reporter: Anca Luca
Description:

Today, when hovering a macro in the wysiwyg editor, there is a border that is displayed to mark the macros boundaries and a move handle on the top left, allowing to move the macro in the editor.

_thumb_42725.png

However, there is no way to know what macro that is - the name of the macro is never displayed, nor on hover or other.

When macros with wiki content are used and multiple such macros are imbricated, it can be very useful to understand the structure of the page to have the name of the macro displayed next to the move handle on the top-left of the macro. Since we're taking room in that area of the screen anyway, it would be very useful to display the name of the macro as well, it would help a lot (even if it may not fix all problems). We could display it on a grey background, as the move handle, and we can display it with a certain transparency if we want the elements under to be visible as well.

This is related to the usability of macros in the editor, as XWIKI-22046 is.

 
 

1 update

 
cid:jira-generated-image-avatar-9879c503-2309-41ea-acab-9887fac47075 Changes by Anca Luca on 02/Aug/24 11:18
 
Attachment: screenshot-2.png
 
 

1 comment

 
cid:jira-generated-image-avatar-9879c503-2309-41ea-acab-9887fac47075 Anca Luca on 02/Aug/24 11:19
 

This is particularly interesting for macros that do have a boundary but don't display any decoration around the content, in order to recognize them:

_thumb_42727.png

Also interesting for empty macros, that don't display any content, in order to evaluate if they're needed in the page or not.