Feature #30986
openNew toolbar button to insert wiki macros
0%
Description
Redmine has useful wiki macros such as "child_pages", "collapse", "include" and "thumbnail".
Despite the usefulness of those macros, not so many people know the feature because they are too hidden. Only people who read the detailed syntax reference know the feature. In addition, those macros are a bit long to type.
To resolve those problems, I propose to add a new button that assists users to recall and insert macros. Please see the screenshot below.
Files
Related issues
Updated by Marius BÄ‚LTEANU over 5 years ago
I like this idea. In the future, we can extend the button to include Redmine links to different objects (issues, source, etc).
Updated by Bernhard Rohloff over 5 years ago
Sounds great, some kind of "Redmine" button can be very convenient for sure although I think it would make more sense to have a separate menu for only macros.
+1
Updated by Mizuki ISHIKAWA over 5 years ago
- File feature-30986.patch feature-30986.patch added
The attached patch adds a button for inserting a wiki macro like wiki-macro-button@2x.png .
I frequently use the "collapse" macro, so I would like to use a button to insert it easily.
Updated by Bernhard Rohloff over 5 years ago
I've tested the patch and it works great. Really convenient!
I also have 2cts to drop. :-)
- If it's possible, it would be nice if we could add the macro description as tooltip.
Marius BALTEANU wrote:
I like this idea. In the future, we can extend the button to include Redmine links to different objects (issues, source, etc).
If we would follow this road would it make sense to have a Redmine icon for this button, yet?
Updated by Go MAEDA over 5 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA over 5 years ago
- File 30986@2x.png 30986@2x.png added
- File bt_macro.png bt_macro.png added
- Target version changed from Candidate for next major release to 4.1.0
Now the patch has Redmine icon. Let's deliver this feature in Redmine 4.1.0.
Updated by Jean-Philippe Lang about 5 years ago
- Target version changed from 4.1.0 to Candidate for next minor release
- we should find something else than the Redmine logo for this button
- as Bernhard said, it should comme along with additional information about the macro and the arguments that it expects. The macro name on its own is not so usefull.
Updated by Go MAEDA over 4 years ago
- Related to Feature #33425: Auto complete wiki macros added