dataverse-frontend icon indicating copy to clipboard operation
dataverse-frontend copied to clipboard

File Page: File Version Summary Integration

Open ChengShi-1 opened this issue 7 months ago • 1 comments

What this PR does / why we need it:

In file page, we need a version tab showing the file changes in each dataset version. File Page > Version tab

  • Table with four columns: dataset version, summary, contributors, published on
  • Version number: should be a button, link to available file
  • Summary( File(Added, Replaced, Deleted, Changes), File Metadata(Added, Replaced, Deleted, Changes), File Tags with count, Deaccessioned Reason, File not included)
  • Contributors,
  • Published on, format YYYY-MM-DD

Which issue(s) this PR closes:

  • Closes #678

Special notes for your reviewer:

Files in deaccessioned dataset couldn't be shown now, due to an api 404 error, issue created https://github.com/IQSS/dataverse/issues/11498

In addition, tests/e2e-integration/e2e/sections/edit-file-metadata/EditFileMetadata.spec.tsx has an error so I changed the test's code to ignore the error

Suggestions on how to test this:

Modify the File(added, replaced, deleted), file restriction and File Metadata to test if the version summary correctly show the information

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

image

Is there a release notes update needed for this change?:

Additional documentation:

ChengShi-1 avatar May 16 '25 02:05 ChengShi-1

Coverage Status

coverage: 97.903% (+0.5%) from 97.448% when pulling 5d0557dd6827754a60b25e7e29d7c05c322423b1 on 678-file-page-file-version-summary-integration into 9c07513faa4ef461ee73ab424092fd144b56ba69 on develop.

coveralls avatar May 16 '25 02:05 coveralls

Looks good to me - merging

ofahimIQSS avatar Jun 02 '25 19:06 ofahimIQSS