nextcloud / nextcloud/text

Shared text files (tested with public read-only share links) : links previews not working properly

Open
#8,586 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: embed feature: links feature: tables ux
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Describe the bug
Video links preview not working properly (missing thumb)

To Reproduce
Steps to reproduce the behavior:

  1. Create a Nextcloud Texte file
  2. Copy and paste this PeerTube link in your file https://videos.domainepublic.net/w/rEdwXpBwRTjfNxMmfjqtyQ
  3. Set the link with "Show link preview" option
  4. Save the document
  5. Share it (read-only public share)
  6. Open the share link (before, make sure to be disconnected)
  7. See that only the URL appears in the block (but not the title, description and video preview thumb)

Expected behavior
The video preview block should appear the same way as in the edition mode (when connected)

Screenshots

Edition mode, as a connected user and file's owner Same file accessed with a read-only public share link
Image Image

Same issue with Nextcloud Text used in Nextcloud Collectives (read-only public share link) :

Page edited in Collectives Same collective's page seen through a read-only public share link
Image Image
Page edited in Collectives : click on link Same collective's page seen through a read-only public share link : click on link
Image Image

Server details:

  • Nextcloud version: 32.0.9
  • PHP Version: 8.3
  • Database: MariaDB
  • Nextcloud Text app version : 6.0.2

Client details:

  • OS: Linux Mint Cinnamon 22.3
  • Browser: Firefox
  • Browser version: 150.0.2
  • Device: Desktop
Logs
Nextcloud log (data/nextcloud.log)
Can be provided if necessary
Browser log
Can be provided if necessary

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 Nextcloud Text 6.0.2 using the provided PeerTube link, first in edition mode and then through a read-only public share link. Compare how the link preview is rendered in both contexts, including the title, description, and thumbnail. Done means the public view shows the same video preview block as the connected edition view, including for Collectives pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.