Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/terra export warning #642

Merged
merged 7 commits into from
Feb 10, 2020
Merged

Feat/terra export warning #642

merged 7 commits into from
Feb 10, 2020

Conversation

em-ingram
Copy link
Contributor

@em-ingram em-ingram commented Jan 30, 2020

Resolves PXP-5186 https://ctds-planx.atlassian.net/browse/PXP-5186

Adds a configurable warning when exporting to Terra a cohort above a certain number of subjects that the export may fail due to technical limitations of Terra.

Deployed in https://mpingram.planx-pla.net/
Test plan PR in uc-cdis/gen3-qa#237

Default wording: "Warning: You have selected more subjects than are currently supported. The import may not succeed. Terra recommends slicing your data into segments of no more than ${subjectThreshold} subjects and exporting each separately. Would you like to continue anyway?"

New Features

  • Added a configurable warning when exporting to Terra a cohort above a certain number of subjects that the export may fail due to technical limitations of Terra.

Deployment changes

  • Added terraExportWarning: { subjectThreshold: <number>, message: <string, optional> } to portal config.

@em-ingram em-ingram marked this pull request as ready for review February 7, 2020 18:29
Copy link
Collaborator

@mfshao mfshao left a comment

Choose a reason for hiding this comment

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

this is awesome! a small comment

Copy link
Collaborator

@mfshao mfshao left a comment

Choose a reason for hiding this comment

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

looks cool! 💯

@em-ingram em-ingram merged commit ab37e7a into master Feb 10, 2020
@em-ingram em-ingram deleted the feat/terra-export-warning branch February 10, 2020 20:17
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.

2 participants