IQSS / IQSS/dataverse-frontend

Feature Request/Idea: Make the popover preview image size configurable

Open
#555 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
31
Forks
26
Avg merge
4d 13h
Merged PRs (30d)
4

Description

Overview of the Feature Request
The default value for the popover preview of thumbnail image under the "Files" tab on the dataset page is 400, as shown in the below element:

div class="popover-content"
img src="/api/access/datafile/3?imageThumb=400"

It would be great if it can be made configurable to that users can preview larger image and see more details before downloading it.

What kind of user is the feature intended for?
Guest

What inspired the request?
Upon users' request.

What existing behavior do you want changed?

When mouse hovers over a thumbnail, users can preview larger image, for example doubling the current default size to a value of 800.

Any brand-new behavior do you want to add to Dataverse?
No
Any open or closed issues related to this feature request?
No

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 Files-tab popover preview and the imageThumb=400 value in the frontend. Determine how a configurable preview size should be exposed and applied, then verify that users can preview a larger image such as 800 before downloading it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.