Feature #30986

New toolbar button to insert wiki macros

Added by Go MAEDA 2 months ago. Updated 4 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:4.1.0
Resolution:

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.

wiki-macro-button@2x.png (17 KB) Go MAEDA, 2019-03-07 08:14

feature-30986.patch Magnifier (4.42 KB) Mizuki ISHIKAWA, 2019-03-22 08:39

30986@2x.png (14.6 KB) Go MAEDA, 2019-05-16 16:15

bt_macro.png (493 Bytes) Go MAEDA, 2019-05-16 16:16

History

#1 Updated by Marius BALTEANU 2 months ago

I like this idea. In the future, we can extend the button to include Redmine links to different objects (issues, source, etc).

#2 Updated by Bernhard Rohloff 2 months 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

#3 Updated by Mizuki ISHIKAWA about 1 month ago

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.

#4 Updated by Bernhard Rohloff about 1 month 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?

#5 Updated by Go MAEDA about 1 month ago

  • Target version set to Candidate for next major release

#6 Updated by Go MAEDA 4 days ago

Now the patch has Redmine icon. Let's deliver this feature in Redmine 4.1.0.

Also available in: Atom PDF