Feature #33820

Auto Complete wiki page links

Added by Mizuki ISHIKAWA 6 months ago. Updated 2 months ago.

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

0%

Category:UI
Target version:Candidate for next major release
Resolution:

Description

I think it would be useful to use the functionality of Tribute to auto complete the title of a wiki page at [[wiki page title]].


ScreenShot_2020-08-06_10.58.16.png (31.3 KB) Mizuki ISHIKAWA, 2020-08-06 04:02

ScreenShot_2020-08-06_10.58.32.png (22 KB) Mizuki ISHIKAWA, 2020-08-06 04:02

feature-33820.patch Magnifier (15.9 KB) Mizuki ISHIKAWA, 2020-08-06 04:04

feature-33820-v2.diff Magnifier (8.66 KB) Mizuki ISHIKAWA, 2020-11-18 01:13


Related issues

Related to Redmine - Feature #33425: Auto complete wiki macros New
Related to Redmine - Feature #31989: Inline issue auto complete (#) in fields with text-format... Closed

History

#1 Updated by Mizuki ISHIKAWA 6 months ago

I attach a patch that adds this feature.

#2 Updated by Go MAEDA 5 months ago

  • Target version set to Candidate for next major release

#3 Updated by Marius BALTEANU 3 months ago

  • Assignee set to Marius BALTEANU

Nice feature, let me find a better way to pass the auto complete endpoint for each case (issues, wiki pages, etc).

#4 Updated by Marius BALTEANU 3 months ago

#5 Updated by Marius BALTEANU 3 months ago

  • Related to Feature #31989: Inline issue auto complete (#) in fields with text-formatting enabled added

#6 Updated by Marius BALTEANU 3 months ago

Marius BALTEANU wrote:

Nice feature, let me find a better way to pass the auto complete endpoint for each case (issues, wiki pages, etc).

I've posted an alternative solution in #34122, please let me know what do you think about it.

Beside this point, the patch needs at least two changes:
  • Use a collection for triggers (see my note from #33425)
  • Explore the possibility to show the wiki pages in parent - child relation or at least the parent if any in order to avoid confusion when there are multiple pages with the same title, but under different parent pages.

#7 Updated by Marius BALTEANU 3 months ago

  • Assignee deleted (Marius BALTEANU)

#8 Updated by Go MAEDA 2 months ago

Marius BALTEANU wrote:

Beside this point, the patch needs at least two changes:
  • Use a collection for triggers (see my note from #33425)
  • Explore the possibility to show the wiki pages in parent - child relation or at least the parent if any in order to avoid confusion when there are multiple pages with the same title, but under different parent pages.

I think the latter is not a problem. Wiki page names are unique in a project. You cannot create Wiki pages with the same name even if its parent pages are different.

#9 Updated by Mizuki ISHIKAWA 2 months ago

I fixed the patch by referring to the code of #34122.

Also available in: Atom PDF