IQSS / IQSS/dataverse-frontend
Feature Request/Idea: Make the popover preview image size configurable
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
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 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