Closed meganrm closed 5 months ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π‘ | Statements | 73.27% | 603/823 |
π‘ | Branches | 68.38% | 80/117 |
π΄ | Functions | 40.31% | 79/196 |
π‘ | Lines | 71.73% | 538/750 |
99 tests passing in 7 suites.
Report generated by π§ͺjest coverage report action from 4799e6df35975341418f69282691e4a79f499c56
Time estimate or Size
medium
Problem
We need a version of the app to link to when someone wants to embed their trajectory in a website. This will still need to be updated with the design.
closes https://github.com/simularium/simularium-planning/issues/188
Solution
Made an embed path that renders the app without the header and creates an overlay for future styling, overlay info. I made an assumption that like the notebook version of the app we'd get rid of the header and place anything we want (the title, maybe a share link) over the full screen view (the way that YouTube does). So I added a minimal overlay that can be styled and added to. For now I've rendered the title with no styling.
Type of change
Please delete options that are not relevant.
Steps to Verify:
npm start
http://localhost:9001/embed?trajFileName=endocytosis.simularium
http://localhost:9001/viewer?trajFileName=endocytosis.simularium
Screenshots (optional):