Open boriskovar-m2ms opened 3 years ago
"Share snapshot" currently does not work on a page that's been opened from a direct link (one like this: https://fragalysis.diamond.ac.uk/viewer/react/preview/direct/target/Mpro/mols/X11498/L/P).
I assume this ticket will fix it; if it won't, then please create a ticket to capture that bug.
it is not possible to use the SAVE function. bug is tracking in #454
persistent problem with saving process (bug is tracking in #454)
Saving a snapshot: LHS&RHS:
Share action doesn´t work correctly. After pressing Share button modal is displayed, then the copy button is pushed, link is copied to new tab, but nothnig is displayed in the new tab.
Saving action is fixed. The problem with sharing is tracking in #476.
When snapshot is saved it is needed to replace current saving and reloading logic with storing the state using the minimal set of actions (implemented in #428) and saving it in the backend using the provided API (POST ../api/snapshot-actions/{snapshot}/). For reloading purposes the list of minimal actions shall be retrieved from the backend using the API (GET ../api/snapshot-actions/?snapshot=) and restore the state of the application (implemented in #429).
Details are in the attached document.
Fragalysis Changes WP1 v0.1.docx