nextcloud / nextcloud/passman

Preview for files

Open
#731 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request
Dominant language
JavaScript
Stars
823
Forks
117
Avg merge
1d 21h
Merged PRs (30d)
8

Description

Feature request

User type: Logged-in

User level: Any

Description

It is not a but, but more feature request - currently is not possible to preview files attached to the credentials, I think it would be great having (eye) button next to file/custom field of file type , like password field, then show either popup or just next to field small preview window.
It would be great to have (eye) button next to attached file and custom field of file type to allow preview content of the attached file, it would be enough to support at least simple types: images and text. That will cover most of use cases when any scan attached or private/public key or certificate etc

Benefit / value

It will make things little safer because now it requires download file to PC/Phone and open it.

Risk / caveats

To avoid risks i would suggest make preview auto disappear after e.g. 30 sec

Sponsorship

Agree to be a sponsor

Are you a developer willing to implement this feature?: yes
FYI, i'm developer. Not an angular but has vue.js experience. Tryied get sources and build but somehow it keep giving error from npm - it dont know how to build.

Can you sponsor the development of this feature or do you know someone who can?: yes

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 resolving the npm build issue and locating the credential file and file-type custom-field UI. Implement a preview for image and text attachments with an eye button and temporary visibility, then verify that the preview works without requiring a download.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
frontend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.