cusbg / prankweb

Web application for protein-ligand binding sites analysis and visualization
https://prankweb.cz
Apache License 2.0
7 stars 3 forks source link

Show chains after return from the results page #33

Closed davidhoksza closed 2 years ago

davidhoksza commented 3 years ago

When the user returns from the results page to the main page, the structure chains do not show. To make them appear, one has to reenter the PDB ID.

skodapetr commented 3 years ago

Well it should be possible to show all the availablae chains. If we want to show the selected chains, we probably need to add hidden form field to preserve the value.

@davidhoksza What is the expected behaviour?

davidhoksza commented 3 years ago

When you return to the main page you should see it in the same state as when you left it. That is the best-case scenario. If not, at least the user should see the available chains (possible all ticked) for the typed PDB ID. But currently, the user does not see any chains and that is a problem (at least this is the behavior in Chrome)

skodapetr commented 2 years ago

The idea is to employ hidden input field to store the selected chains. While the implementation can be improved. Any misfunction or bugs should be addressed by new issues.