Skip to content

Show Export Metadata only for the latest released dataset version#1013

Draft
ChengShi-1 wants to merge 1 commit into
developfrom
1008-the-export-metadata-button-is-misleading-when-viewing-an-older-version-of-a-dataset-because-it-gives-you-the-latest-published-version
Draft

Show Export Metadata only for the latest released dataset version#1013
ChengShi-1 wants to merge 1 commit into
developfrom
1008-the-export-metadata-button-is-misleading-when-viewing-an-older-version-of-a-dataset-because-it-gives-you-the-latest-published-version

Conversation

@ChengShi-1

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

  • Show "Export Metadata" button on file pages, only for the latest released dataset version
  • update "isLatest" param check if the current ver is latest

Which issue(s) this PR closes:

Special notes for your reviewer:

Suggestions on how to test this:

  • create a dataset and upload file
  • update some metadata and publish so there are multiple versions of this dataset
  • check in file version, the "Export Metadata" button on file pages, only show for the latest released dataset version, and hide for other versions

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

image

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

yes

Additional documentation:

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 97.295% (-0.05%) from 97.343% — 1008-the-export-metadata-button-is-misleading-when-viewing-an-older-version-of-a-dataset-because-it-gives-you-the-latest-published-version into develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 26 FY26 Sprint 26 (2026-06-17 - 2026-07-01) GREI Re-arch GREI re-architecture-related SPA

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

The "Export Metadata" button is misleading when viewing an older version of a dataset because it gives you the latest published version

2 participants