forked from DataBiosphere/data-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor the export to terra configuration (#891)
- Loading branch information
Showing
33 changed files
with
400 additions
and
507 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
explorer/app/components/Detail/components/Export/common/entities.ts
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
explorer/app/components/Detail/components/Export/common/utils.ts
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
...s/Detail/components/Export/components/ExportEntityToTerraForm/exportEntityToTerraForm.tsx
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
explorer/app/components/Export/components/BatchCorrectionWarning/batchCorrectionWarning.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { TagWarning } from "@clevercanary/data-explorer-ui/lib/components/common/Tag/tag.styles"; | ||
import { | ||
Link, | ||
LinkProps, | ||
} from "@clevercanary/data-explorer-ui/lib/components/Links/components/Link/link"; | ||
import React from "react"; | ||
|
||
export const BatchCorrectionWarning = ({ | ||
label, | ||
url, | ||
}: LinkProps): JSX.Element => { | ||
return ( | ||
<p> | ||
<TagWarning>Please note</TagWarning> Data normalization and batch | ||
correction may differ between projects and processing methods. For details | ||
see <Link label={label} url={url} />. | ||
</p> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
explorer/app/content/hca-dcp/downloadCurlCommandSuccess.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { BatchCorrectionWarning } from "../../components/Export/components/BatchCorrectionWarning/batchCorrectionWarning"; | ||
|
||
### Your curl Command is Ready | ||
|
||
Execute the curl command below in your terminal to download the selected data. | ||
|
||
<BatchCorrectionWarning | ||
label={"Matrix Normalization and Batch Correction"} | ||
url={ | ||
"https://data.humancellatlas.org/guides/consumer-vignettes/matrices#matrix-normalization-and-batch-correction" | ||
} | ||
/> |
13 changes: 0 additions & 13 deletions
13
explorer/app/content/hca-dcp/downloadEntityCurlCommandSuccess.mdx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { BatchCorrectionWarning } from "../../components/Export/components/BatchCorrectionWarning/batchCorrectionWarning"; | ||
|
||
### Export To Terra | ||
|
||
<BatchCorrectionWarning | ||
label={"Matrix Normalization and Batch Correction"} | ||
url={ | ||
"https://data.humancellatlas.org/guides/consumer-vignettes/matrices#matrix-normalization-and-batch-correction" | ||
} | ||
/> |
12 changes: 12 additions & 0 deletions
12
explorer/app/content/hca-dcp/exportToTerraSuccessWithWarning.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { BatchCorrectionWarning } from "../../components/Export/components/BatchCorrectionWarning/batchCorrectionWarning"; | ||
|
||
### Your Terra Workspace Link is Ready | ||
|
||
Your Terra Workspace has been opened in a new browser tab. The workspace URL is referenced below. | ||
|
||
<BatchCorrectionWarning | ||
label={"Matrix Normalization and Batch Correction"} | ||
url={ | ||
"https://data.humancellatlas.org/guides/consumer-vignettes/matrices#matrix-normalization-and-batch-correction" | ||
} | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
explorer/app/hooks/azul/useExportEntityToTerraResponseURL.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.