Skip to content

feat: UI support for zip content previewing#3266

Open
xsenyaaax wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:contribution-zip-previewer-ui
Open

feat: UI support for zip content previewing#3266
xsenyaaax wants to merge 1 commit intoinveniosoftware:masterfrom
oarepo:contribution-zip-previewer-ui

Conversation

@xsenyaaax
Copy link

@xsenyaaax xsenyaaax commented Dec 12, 2025

Description

This PR is one of the 4 PRs enabling invenio to preview files inside zip archives and other container files in general.

The other parts are:

This PR adds:

  • New entrypoint for zip enhanced previewer
  • Zip enhanced previewer
  • Decorator to pass container item to views
  • view function to preview specific container item and download it
  • Two new routes for preview and download container items
  • JS and HTML files

Additions provide new functionality but do not change existing API nor implementation.

All these features are opt-in, see RFC for configuration details.

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

This comment was marked as resolved.

@kyodai0000 kyodai0000 force-pushed the contribution-zip-previewer-ui branch 2 times, most recently from 2fadcf9 to c3cda87 Compare February 13, 2026 12:39
* New entrypoint for zip enhanced previewer
* Two new routes for preview and download container items
* Zip enhanced previewer
* Decorator to pass container item to views
* view function to preview specific container item and download it
* JS and HTML files

Co-authored-by: Ondřej Ruml <Ondrej.Ruml@cesnet.cz>
Co-authored-by: Arsenii Pogodin <pogodars@cvut.cz>
Co-authored-by: Martin Čorovčák <Martin.Corovcak@cesnet.cz>
@kyodai0000 kyodai0000 force-pushed the contribution-zip-previewer-ui branch from c3cda87 to 62bdb20 Compare February 13, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants