GenomicsStandardsConsortium / gensc.github.io

Public repository for the GSC web site.
http://www.gensc.org/
Creative Commons Zero v1.0 Universal
4 stars 5 forks source link

MIxS term quick lookup functionality #60

Closed only1chunts closed 1 year ago

only1chunts commented 2 years ago

User Story

As a website user I want to be able to quickly find a relevant MIxS term for a specific attribute So that I can find appropriate terms easily

Acceptance criteria

Given I am on GenSC.org When I need to lookup an attribute term Then I can see a link to the "Find a MIxS Term" page

Given I am looking for a MIxS term to use for a specific attribute, e.g. "diet" (of the host organism) When I goto the "Find a MIxS Term" page on the GenSC.org website Then I can enter the relevant search term, e.g. "diet" And see the list of all relevant MIxS terms that contain the search term "Diet" in their term name or description fields.

Additional context

A test instance has been implemented already here https://genomicsstandardsconsortium.github.io/gensc.github.io/pages/standards/search-terms.html but it relies on the terms.yml file that is not in the format that is automatically generated by LinkML. Either we write a parser to generate that yml file from the LinkML SoT or we re-write the search function to use the standard output from the SoT yml.

only1chunts commented 1 year ago

this has been implemented by adding the terms table here: http://www.gensc.org/pages/standards/all-terms.html It includes filters on each column