NIAGADS / niagads-igv-webapp

Standalone webapp for NIAGADS customized IGV Genome Browser
GNU General Public License v3.0
1 stars 1 forks source link

allow users to export the browser session as JSON #17

Closed fossilfriend closed 1 year ago

fossilfriend commented 1 year ago

Model after solution in the igv-webapp demo; see line 196

See also: line 1624 in brower.js (NIAGADS/igv.js#NIAGADS-2.13.9)

Also, need to add button in IGV navigation bar (see below) for the export.

image

When designing user interface (button), consider user experience, i.e., single export w/modal popup or multiple export buttons for each kind or "Save Session" vs "Save SVG". These are these conceptually different; which is more intuitive for the users?

Also, is it better to resolve this in the igv.js code or in the IGVBrowser component?