Embedded Genesys UI
Individual genebanks would like to "embed" Genesys into their existing websites. In this ticket we will implement a simple client UI that sources data from Genesys and can easily be configured and embedded.
I expect the use-case would be:
- Include React (min) from one of the JS CDNs
- Include the
genesys.js
script - Add HTML
<div id="genesys" ...
to an existing page - Add
<script>
that configures the Genesys parameters, sets the "container"div
- ?
Add a new workspace
for ui-embedded
that uses webpack to compile the minimized genesys.js
from TS code in src/
. The entry point is an index.html
that sources the required JS.
The first implemented functionality would be to fetch and display data from ApiInfoService#apiInfo
.
Note: this module needs to compile into a single js
(no code splitting). We will try to keep the dependencies down to a minimum.