nextcloud / nextcloud/viewer

Do not save edited photos as new files

Open
#2,289 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: editor
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

Every time when I use the embedded web app to edit images and click Save button the app it saves them as <filename>_edited.jpg, which is not convenient, as I am looking for the changes in the file I have changed.

I suggest changing the behaviour of how the edited images are saved:

  1. When clicking Save button the existing image file is overwritten
  2. Add a new button Save as a new file which will prompt the new name for the edited file.

image

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 locating the embedded web app's Save action and the code that currently appends _edited to image filenames. Trace how edited images are written and how the save controls are rendered; done means Save overwrites the existing image and a separate Save as a new file action prompts for a filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.