Expose Preview direct links in sharing UI
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
The preview feature (https://github.com/nextcloud/server/pull/6599) has been implemented since long ago, but hasn't been made available in the UI since then except from the landing page of a default public share link. If one wants to provide links to their files as previews, they should KNOW that this feature exists first, then append /preview at the end of the share link they're provided by NC, or use the link they're provided by NC first, then copy the link below the picture so they can share it right after. This isn't user-friendly.
Describe the solution you'd like
NC should provide an option directly in its server UI to transform a link into a preview link. For example and more prominently, from its drop-down "Three dots" link-options menu (as shown in picture below).
Describe alternatives you've considered
Preview and Download public share links could be made as the defaults if the user/instance decides to.
Additional context
When this feature was just implemented, this already created some confusion: https://github.com/nextcloud/server/pull/6599#issuecomment-332330093
Another user here being confused: https://github.com/nextcloud/server/issues/2523#issuecomment-1375275031
Another explaining how the whole process is unnecessarily long: https://github.com/nextcloud/server/issues/16239#issuecomment-529357184
An almost exact issue exists here: https://github.com/nextcloud/server/issues/10545 but has been closed since, while receiving several comments.
A similar issue regarding the Download feature of some share links is discussed here: https://github.com/nextcloud/server/issues/35304
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
Start by reviewing the existing preview implementation in pull request #6599 and the current server sharing UI, especially its three-dots link-options menu. Check the related issues for expected preview and download-link behavior; done means users can generate or transform a share link into a preview link directly from the UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100