From 3e859fafd5ba556678cf3f83bc8bb2e44f4573d8 Mon Sep 17 00:00:00 2001 From: Simon <41160238+That-Thing@users.noreply.github.com> Date: Fri, 25 Jul 2025 21:09:31 -0400 Subject: [PATCH 01/15] Adds (not fully working) gene function search component. --- dev/lis-gene-function-search-element.html | 166 +++++++ index.html | 1 + src/lis-gene-function-search-element.ts | 548 ++++++++++++++++++++++ 3 files changed, 715 insertions(+) create mode 100644 dev/lis-gene-function-search-element.html create mode 100644 src/lis-gene-function-search-element.ts diff --git a/dev/lis-gene-function-search-element.html b/dev/lis-gene-function-search-element.html new file mode 100644 index 00000000..72f2bc1b --- /dev/null +++ b/dev/lis-gene-function-search-element.html @@ -0,0 +1,166 @@ + + + + +
+ ++ TODO: Add description here. +
+
+ Optionally, all searches can be limited to a specific genus by setting the genus attribute/property.
+ This will cause the genus field of the search form to be automatically set and disabled so that users cannot change it.
+ Similarly, all searches can be limited to a specific species by setting the species attribute/property in conjunction with the genus attribute/property.
+ You can try setting the genus and species properties in this example using the geneFunctionSearchElement variable in the Web console.
+
+ Example text for the Gene ID, Traits, Publication ID, and Author fields can be provided by setting the geneIdentifierExample, traitsExample, publicationExample, and authorExample attributes/properties, respectively.
+