inveniosoftware / inveniosoftware/cookiecutter-invenio-instance
Preview file: Preview button is showing full screen file
- Dominant language
- Python
- Stars
- 6
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Package version (if known):
## Describe the bug
When clicking on file preview the entire page reloads and shows the preview of the file, but it should preview the file in the iframe.
## Steps to Reproduce
1. Upload some .pdf files
2. Search for the record and access the details
3. Click on the preview for one of the uploaded files
4. The page reloads to show only the preview of the file
## Expected behavior
It should reload only the iframe and not the entire page
## Screenshots (if applicable)

## Additional context
Maybe it's necessary to touch `invenio-previewer`
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by uploading a PDF, opening its record details, and clicking the preview button. Trace the preview button and iframe integration, including the possible invenio-previewer dependency; done means the iframe updates while the surrounding page remains loaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100