collectives icon indicating copy to clipboard operation
collectives copied to clipboard

Smart picker should use page title for links to other pages within collective

Open schaarsc opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

  1. enter page edit mode
  2. open smart picker with '/'
  3. select collective page
  4. search for a page
  5. select page
  6. this generates a link. Text is "https://cloud.example.com/collectives/Demo/Page?fileId=12345"

Describe the solution you'd like the generated link text should be "page title"

Describe alternatives you've considered

  1. write the page title
  2. mark text
  3. use insert link, instead of smart picker

schaarsc avatar Oct 17 '23 16:10 schaarsc

Agree that this would greatly enhance readability and allow for a more 'wiki' style documentation. Being able to easily 'edit' the display text via the editor, the same way as you would update the URL, could also be an option, even to adapt the generated 'page title' display text.

Gielovic avatar Oct 23 '23 21:10 Gielovic

In future, the smart picker will insert the link as preview straight away. This is tracked in https://github.com/nextcloud/text/issues/5838.

mejo- avatar Jun 12 '24 09:06 mejo-

@mejo- , is this future already implemented? https://github.com/nextcloud/text/issues/5838 seems to be closed also.

NikoKS avatar Jun 25 '24 03:06 NikoKS

@NikoKS it's implemented in Nextcloud Text development branch but unfortunately didn't make it into the upcoming Nextcloud 29.0.4 release in time. So it will become part of the Nextcloud 29.0.5 release scheduled for August 20th.

mejo- avatar Jun 25 '24 13:06 mejo-

Hello @mejo-, just tried the update today. Apparently, it's quite different to the request made in this issue page. In my opinion, it makes much more sense to show the link as the title page when a link to another collective page is added. Especially when adding the link in a middle of a sentence.

This would make a much better experience of connected notes similar to a wiki page. For example, It would be nice to have a link to https://github.com/nextcloud/text/issues/5838 in the middle of a sentence instead of a preview to that page in a new line.

Is it possible to reconsider the request in this issue?

NikoKS avatar Aug 02 '24 15:08 NikoKS