Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve files UI components #986

Open
PascalRepond opened this issue Jun 11, 2024 · 0 comments
Open

Improve files UI components #986

PascalRepond opened this issue Jun 11, 2024 · 0 comments
Labels
enhancement Enhancement of an existing feature f: deposits Related to deposits f: professional ui f: public ui

Comments

@PascalRepond
Copy link
Contributor

How it works

The sonar-ui components for the management and display of files linked to documents/deposits has a few bugs and is separate between deposit/document for no reason.

Improvement suggestion

  • Pro UI: Use the same component for files management in the document (detailed view) and in the deposit (editor).
    • Take inspiration from the refined component from rero-ils-ui and add elements specific to sonar:
      • New version of a file: display version history like the current version but make sure that the links to view/download link to the correct version, make sure that a new version of a file has the same mime type.
      • Sort by position
      • Editable label, position, and Access (nice to have, drag and drop to edit position?)
  • Public UI: when there is more than one file for a document, use the same component as for display in rero-ils-ui (maybe port it to ng-core) with each file displayed in a carousel with pagination, filter, etc. (nice to have, only display additional files in this component as the main file is always displayed as the thumbnail.
@PascalRepond PascalRepond added the enhancement Enhancement of an existing feature label Jun 11, 2024
@PascalRepond PascalRepond moved this from Inbox to Sprint Backlog in SONAR issues Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of an existing feature f: deposits Related to deposits f: professional ui f: public ui
Projects
Status: Sprint Backlog
Development

No branches or pull requests

1 participant