nextcloud / nextcloud/text

Display links inserted from smart picker as page title/file name

Open
#6,180 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: links
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

This request has been made in collectives Issues page https://github.com/nextcloud/collectives/issues/949, but was mistakenly addressed by https://github.com/nextcloud/text/issues/5838.

In short, it would be better when links added by smart picker to another pages to have the title/file name of the page picked. This is similar to the behavior when referring to a github page from another text. For example, I want to refer an issue in a sentence like #5838, instead of embedding an entire preview of the page in another line.

Having a preview of the page would make sense when the link is not in the middle of a sentence. But when it is, it would be better to only show the title.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing collectives issue #949 and text issue #5838 to understand the requested smart-picker behavior and the related implementation. Trace how picked page links are rendered in the editor; done means inline links show the picked page title or file name while standalone links can still use a preview.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.