nextcloud / nextcloud/tables

Bug with links to a file within a markdown text field

Open
#1,500 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug needs info
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Steps to reproduce
  1. A table with a text column (rich markodwn text)
  2. Create a record. In the text field, add a link (use the link icon), select link to a file, and select a file.
Expected behavior

When clicking on the generated link, having access to the corresponding file

Actual behavior

The current link contains the relative to a file, i.e. the ULR part following ?dir= in the files app. However, when clicking on it from the table view, this relative path doesn't work.

It would be better if the markdown editor where inserting an internal link rather than this relative path.

I do not know if it should be fixed here in Tables or in the markdown editor app.

Tables app version

0.8.1

Browser

No response

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

No response

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

Reproduce the issue in the Tables app using a rich markdown text column and a file link, then inspect the generated URL from the table view. Determine whether the fix belongs in Tables or the markdown editor; done means clicking the inserted link opens the corresponding file when the user has access.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.