Project

General

Profile

Actions

Feature #30986

open

New toolbar button to insert wiki macros

Added by Go MAEDA over 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files

wiki-macro-button@2x.png (17 KB) wiki-macro-button@2x.png Go MAEDA, 2019-03-07 08:14
feature-30986.patch (4.42 KB) feature-30986.patch Mizuki ISHIKAWA, 2019-03-22 08:39
30986@2x.png (14.6 KB) 30986@2x.png Go MAEDA, 2019-05-16 16:15
bt_macro.png (493 Bytes) bt_macro.png Go MAEDA, 2019-05-16 16:16

Related issues

Related to Redmine - Feature #33425: Auto complete wiki macrosNew

Actions
Actions #1

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).

Actions #2

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

Actions #3

Updated by Mizuki ISHIKAWA about 5 years 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.

Actions #4

Updated by Bernhard Rohloff about 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?

Actions #5

Updated by Go MAEDA about 5 years ago

  • Target version set to Candidate for next major release
Actions #6

Updated by Go MAEDA about 5 years ago

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

Actions #7

Updated by Jean-Philippe Lang about 5 years ago

  • Target version changed from 4.1.0 to Candidate for next minor release
Nice feature but:
  • 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.
Actions #8

Updated by Go MAEDA about 4 years ago

Actions

Also available in: Atom PDF