Skip to content

feat: add code package download link to run header#193

Open
Aryan95614 wants to merge 1 commit intoNetflix:masterfrom
Aryan95614:feat/code-package-download
Open

feat: add code package download link to run header#193
Aryan95614 wants to merge 1 commit intoNetflix:masterfrom
Aryan95614:feat/code-package-download

Conversation

@Aryan95614
Copy link
Copy Markdown

Adds a download link for the code package in the run detail header. When code_package_url is present in the run's metadata, a "Download" link appears with the first 8 characters of the SHA for identification. Opens in a new tab.

Hidden when the metadata field is not present, so no visual change for runs without a code package.

Files changed

  • src/pages/Run/RunHeader.tsx -- add conditional header item + styled link

Fixes #72.

When a run has code_package_url in its metadata, the run header now
shows a "Download" link with the first 8 chars of the SHA for
identification. The link opens in a new tab.

Hidden when code_package_url metadata is not present, so no change
for runs that don't have it.

Fixes Netflix#72.
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.

Improve access to code tarball in the UI

1 participant