Shared text files (tested with public read-only share links) : links previews not working properly
Nobody has claimed this yet.
- 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:
- Create a Nextcloud Texte file
- Copy and paste this PeerTube link in your file https://videos.domainepublic.net/w/rEdwXpBwRTjfNxMmfjqtyQ
- Set the link with "Show link preview" option
- Save the document
- Share it (read-only public share)
- Open the share link (before, make sure to be disconnected)
- 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 |
|---|---|
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 |
|---|---|
| Page edited in Collectives : click on link | Same collective's page seen through a read-only public share link : click on link |
|---|---|
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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