Hello! To try to have a doable plan for this topic:
#1 On hover, next to the move icon, we’d display an edit icon button and the name of the macro. JIRA Issue
#2 For the issue of differentiating macro boundary and content boundary: I think it highly depends on color contrast or just general accessibility:
- choose a different colour for content boundary (maybe main color or link color, if it has enough contrast in all cases)
or
- use a dashed line for macro boundary
@CharpentierLucas let me know which you think is best and if there is any rule that might interfere with the choice.
#3 As I proposed in this proposal too, we need to start linking .org documentation in macros even if it’s not exactly how we’d like it to be done. I know, it’s only in English, it’s not always available, but when it is, it’s SO helpful
#4 Empty macros render the “macro: content“ message. It’s good, but we could make it much nicer easily.
- add more padding (especially vertical)
- some round corners (by radius variable)
- add a light gray background (by color variable)
- instead of “macro: content“ just write “Empty macro. Use the edit icon or double click to configure it.“