Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first commit, and initial code for aggregating the data * added additional logic for aggregation, tested initial schema on gql * added a mapping against participants for all samples * added missing return field * moved the ourdna field to the project type in the gql schema * Update processing_time_by_site to support a histogram of hour buckets, rather than dict that keys on samples * Add processing time statistics - average, min and max. * Rename variables, - rather than _ * OurDNA Dashboard Field returns a single JSON rather than a list as we are only supporting one project at a time * Updated codecov to v4 * added helper function to allow hyphen and underscore in meta props * Fix lint on project filter * In Progress: Initial commit for tests * In Progress: Testing Scaffold * Refactor setup to improve and generalise data acess, add test_collection_to_process_end_time * added some test cases * added some more tests * added final tests, fixed odd logic * 🔨 Add generate_ourdna_data script. * ✏️ Linting. * reformatted dashboard with black * refactored and optimised participant queries * removed some TODO stubs * code clean up, added ourdna model * updated queries, revamped tests, added models * fixed broken test * refactored tests to use unittest methods * refactored tests to use unittest methods * cleaned up the layer logic, simplified * encoded key accesses into fields * OurDNA: Dashboard Frontend (#766) * added skeleton for ourdna dashboard * better dashboard skeleton * added chakra ui and integrated with backend * Fix colours on histogram * put package files in sync * added a grid layout * added borders and fixed tabletile * added height attr to bar chart * Apply Jakarta Sans font, overwrite chakra default without using theme - as it messe up other pages * Add all the icons to the dashboard * Update badge colours to match icons * Heading redundant * Fix fontsize and weight of tile headings * Create three stat tile and adjust formatting so all tiles are the same height * added responsive fonts * responsive grid, fixed spacing on doughnut chart and tested on ipad pro resolution * fixed table tiles * added some refactoring * trying a grid layout on semantic * removed chakra provider * fixed the grid, fonts, labels * Fix pie chart size, leave 10% for title * Add type hint for Dashboard Data + move project to env variable * Add colours to CSS, call vars instead of hardcoded rgbs * added docs on env variable for vite * switched bar chart to d3 * fixed some linting * moved chart colour to var references * refactored icons into components, changed vars to camelCase * 😎 Dark mode compatibility * fixed legend not showing properly on chart * Add ourdna identity svg * Create react component for logo * Remove unused logos * converted donut to d3 * fixed table tile * cleaned up chakra/chartjs remnants * updated package-lock, minor ourdna fix * updated gql to use generated types --------- Co-authored-by: vivbak <[email protected]> Co-authored-by: Vivian Bakiris <[email protected]> --------- Co-authored-by: vivbak <[email protected]> Co-authored-by: Milo Hyben <[email protected]> Co-authored-by: Vivian Bakiris <[email protected]>
- Loading branch information