Skip to content

pathogen/files: Add data use language#1311

Merged
victorlin merged 2 commits intomasterfrom
victorlin/restricted-warning
Feb 6, 2026
Merged

pathogen/files: Add data use language#1311
victorlin merged 2 commits intomasterfrom
victorlin/restricted-warning

Conversation

@victorlin
Copy link
Member

@victorlin victorlin commented Feb 5, 2026

Description of proposed changes

The wording of the note in the ListResources assumes there is a link to Restricted Data Terms of Use somewhere above on the same page. This is true with the change to PathogenWorkflowFiles, but note that it is loosely coupled.

The wording ("may contain") is not definite because it is naively conditional on the string "restricted" being present in the filename, which doesn't guarantee actual presence of restricted data.

I chose Remix Design's warning icon to visually differentiate from Material Design's warning icon.

Related issue(s)

Closes #1310

Checklist

The wording of the note in the ListResources assumes there is a link to
Restricted Data Terms of Use somewhere above on the same page. This is
true with the change to PathogenWorkflowFiles, but note that it is
loosely coupled.

The wording ("may contain") is not definite because it is naively
conditional on the string "restricted" being present in the filename,
which doesn't guarantee actual presence of restricted data.

I chose Remix Design's warning icon to visually differentiate from
Material Design's warning icon.
@victorlin
Copy link
Member Author

This is what it looks like with both warnings (might happen in the future)

image

Copy link
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting this up so quick! This PR LGTM, I only left suggestions for additional changes that we should do on top of this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a separate change, but I think we still want to add the language for acknowledging data contributors and to avoid scooping

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to this PR as ad87c1f.

This block of intro text is getting quite lengthy. After merging this we should explore ways to condense it while keeping all the important points.

@victorlin victorlin temporarily deployed to nextstrain-s-victorlin--zhd32m February 6, 2026 18:42 Inactive
@victorlin victorlin changed the title Add warning for restricted files pathogen/files: Add data use language Feb 6, 2026
@victorlin victorlin merged commit 08f3c1b into master Feb 6, 2026
7 checks passed
@victorlin victorlin deleted the victorlin/restricted-warning branch February 6, 2026 18:45
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.

pathogen/files: Add data use language

3 participants