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
91 stars 23 forks source link

Does DH provide a way of storing attributes of a row/object but never displaying them? #373

Open turbomam opened 1 year ago

turbomam commented 1 year ago

@pkalita-lbl an example case would be associating NMDC minted ids with entries in the Submission Portal, but not showing them

pkalita-lbl commented 1 year ago

No, or at least not in a particularly clean way. That use case was called out in this proposal: https://github.com/cidgoh/DataHarmonizer/pull/359 but that hasn't really gotten much traction yet.

ddooley commented 1 year ago

DH should have this, but a question is whether this could be coded in the LinkML spec directly? So generically, not specific to DH user interface? This gets back to question of how we should provide a mechanism for generically (i.e. DH or any other app) hiding classes from a user interface menu choice and slots from DH interface columns (from a given schema).

What if we had a class and slot slot called "ui_behaviour" and we start with a basic "hide" value?

ddooley commented 1 year ago

Or maybe "ui_behaviour" is placed in a class or slot annotation that DH pays attention to?