Skip to content

Conversation

@zubeydecivelek
Copy link
Contributor

@zubeydecivelek zubeydecivelek commented Dec 15, 2025

closes CERNDocumentServer/cds-rdm#652

❤️ Thank you for your contribution!

Description

  • This change allows the file names shown on the record page to be customized by passing a small resolver function to the file UI macros.

  • Instead of always displaying the file key, instances can customize how the file name should be derived (for example: using file.metadata.title instead of file.key).

  • New blocks added to make customization of the file name for preview box and files list, without overriding the record_files block.

See CDS-RDM override: CERNDocumentServer/cds-rdm#655

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.

@zubeydecivelek zubeydecivelek force-pushed the update-files-macros branch 5 times, most recently from ca953cf to 81245cb Compare December 19, 2025 09:05
@zzacharo zzacharo merged commit 5237260 into inveniosoftware:master Dec 19, 2025
4 checks passed
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.

Display user friendly filenames ( if they exist )

3 participants