プロジェクト

全般

プロフィール

Vote #80867

未完了

Auto complete wiki macros

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
UI_10
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
32
issue_org_id:
33425
author_id:
332
assigned_to_id:
0
comments:
12
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The attached patch adds an auto-complete feature for wiki macros. The patch can be applied after updating Tribute with the patch #33424.

!{width: 265px; border: 1px solid grey;}.macro-auto-complete.png!

The macros are useful, however, those are a bit long to type by hand. And it is also hard for some people to remember. I think these inconveniences can be eliminated by supporting auto-complete for wiki macros.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Sorry, I forgot to attach a patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Let's include this feature in 4.2.0.
--------------------------------------------------------------------------------
I Fixed so that macro completion does not work in the search form in the upper right.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
With 33425_v2.patch, there was a problem that tribute would be re-initialized even if it was already initialized.
Fix to initialize only when `element.dataset.tribute != 'true'`.
--------------------------------------------------------------------------------
We should use @collection@ to add a new trigger, please see an example attached.

The patch is still not ready because the concern raised by Bernhard and Jean-Philippe in #30986#note-7 is still available and I agree with them, we need a method to describe the macros and how to use them.

--------------------------------------------------------------------------------
Another limitation of the patch in the current state is the hardcoded macros values which makes very hard for plugin developers that add new macros to add them to the auto complete as well.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,New,30986,New toolbar button to insert wiki macros
relates,Closed,33820,Auto complete wiki page links
relates,Closed,31989,Inline issue auto complete (#) in fields with text-formatting enabled
blocks,Closed,33424,Update Tribute to 5.1.3

Admin Redmine さんがほぼ2年前に更新

  • カテゴリUI_10 にセット
  • 対象バージョンCandidate for next major release_32 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0