-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a preliminary version of the Cohorts page (#114)
* Cohort codegen (#109) * explicit libdir path * Cohort, CohortComplete schema updates Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com> --------- Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com> * Add Cohorts view prototype (#111) * Perform incremental minor cleanups - Update the favicon from the template favicon to the Smile logo, which involves moving the logo images to /public to enable index.html to access them - Remove the unused template HomePage component * Create a new route and page for Cohorts view * Match functional component declaration syntax across all pages * Generate new types (e.g. Cohort) and define a query for finding cohort samples * Make the Samples query inside the Samples component generic * Display cohort sample data on Cohorts view * Display the TEMPO data columns in Cohorts view * Rerun codegen to reflect cohort to sample relationship name change * Add the remaining Tempo event columns and remove Status * Modify Cohorts view to show cohort-level data * Modify RecordsList and SamplesList components to handle cohort samples popup * Make cohort samples popup read-only & show a lock icon for all read-only fields * Fix popup shows only samples by cohort and fields are searchable * Add CMO sample label field to the cohort samples popup * Clean up GraphQL operations file * Add '# Samples' column to Cohorts view * Set cohort samples to display the latest tempo events * Fix cohort samples popup's export * Pre-PR cleanups * Clean up and reorganize `RecordsList` and `SamplesList` components (#112) * Resize RecordsList table to fill the available height * Remove unneeded props from RecordsList component * Rename 'ActiveColumns' to 'ActivePatientsListColumns' to standardize colDefs input names * Combine RecordsList's props sampleQueryParamFieldName and sampleQueryParamValue into one * Use title case to display field name in heading of samples popups * Rename cohort/ to cohorts/ to match patients/ and requests/ * Rename RecordsList's prop 'conditionBuilder' to 'queryFilterWhereVariables' for more clarity * Rename RecordsList's prop 'getRowData' to 'getSampleRowData' for more clarity * Standardize search-related state variable names for more clarity * Rename RecordsList's prop 'customFilterUI' to 'customToolbarUI' for more clarity * Standardize functional component initialization syntax * Replace table height inputs with CSS classes * Standardize function input names of search-related state variable names for more clarity * Standardize and clean up sample where variables and search handlers * Reorganize RecordsList and SamplesList props order and naming * Show `CohortComplete` data of each cohort record on Cohorts page (#113) * Show Cohort Complete data on Cohorts page * Show latest CohortComplete data on Cohorts page * Enable searching for CohortComplete fields --------- Signed-off-by: Angelica Ochoa <15623749+ao508@users.noreply.github.com> Co-authored-by: ao508 <15623749+ao508@users.noreply.github.com>
- Loading branch information
Showing
23 changed files
with
65,614 additions
and
31,015 deletions.
There are no files selected for viewing
File renamed without changes
File renamed without changes
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
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
Oops, something went wrong.