cidgoh / DataHarmonizer

A standardized browser-based spreadsheet editor and validator that can be run offline and locally, and which includes templates for SARS-CoV-2 and Monkeypox sampling data. This project, created by the Centre for Infectious Disease Genomics and One Health (CIDGOH), at Simon Fraser University, is now an open-source collaboration with contributions from the National Microbiome Data Collaborative (NMDC), the LinkML development team, and others.
MIT License
90 stars 23 forks source link

Split project into library and interface components #312

Closed pkalita-lbl closed 1 year ago

pkalita-lbl commented 2 years ago

In order to improve the ergonomics of integrating DataHarmonizer in downstream projects, I propose making a clearer separation between 1) code for the core components which can be published as a NPM package and 2) the code which builds the interface which users can download and run in their browser locally. Generally speaking this will involve:

See also: https://github.com/microbiomedata/nmdc-server/issues/623, https://github.com/pkalita-lbl/dh-module-prototype

pkalita-lbl commented 2 years ago

@ddooley this is just to track the work we talked about with Mark and Brandon yesterday. I don't have permission to assign to myself, but please feel free to set me as the assignee!

ddooley commented 2 years ago

Great, you are on! For the wider audience, we were discussing how to be able to have DataHarmonizer take advantage of ES6 modules, but at the same time have a local file browser (no server) product as part of a build process - something ES6 modules can't do as they require a web server context. As well, a dev environment that allows more flexibility in calling up user interface components, and in real-time code testing.