Feature Request/Idea: API to delete file thumbnails
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
Overview of the Feature Request
An API that can delete file thumbnails that have been generated, resetting them to the default icon display.
What kind of user is the feature intended for?
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin)
Depositor, API User
What inspired the request?
In some cases a file thumbnail may not generate correctly, resulting in display issues (e.g. #2740, #7080). We have also seen cases where the thumbnail is generated with colour issues. This API would provide a solution/workaround in those cases, or for any other use case where a user wants to remove a thumbnail for a file.
Any brand new behavior do you want to add to Dataverse?
An API to delete thumbnails for individual files. Ideally this could be brought into the UI at some point, but an API is a great starting point.
Any related open or closed issues to this feature request?
Examples of thumbnail issues:
- #2740
- #7080
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
The issue names no files, tests, or entry points. Start by locating the existing file-thumbnail generation and file API paths, then define the delete operation so an individual file returns to the default icon display; done means the thumbnail is removed and that behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100