Closed gaurav closed 1 year ago
I've added a checkbox to the "Phyloreference collection" box that looks like this:
As described, the checkbox will either turn on cookies (by creating a COOKIE_ALLOWED cookie on the browser, which allows the getting and setting of cookies to proceed) or -- if unchecked -- delete all Klados cookies, including the COOKIE_ALLOWED cookie. Note that the curation information is in the old format; I'm working on an improved curation information format in https://github.com/phyloref/phyx.js/issues/119.
Here's the text if you would like to suggest improvements:
Click this checkbox if you would like Klados to save your curator information and default nomenclatural code as a browser cookie for the next month, or uncheck it to delete all Klados cookies from your browsers.
While writing the tutorial, I realized that users currently need to re-enter their name, e-mail address and ORCID every time they create a new Phyx file. This PR changes that so that those four pieces of information -- as well as the default nomenclatural code -- are stored in the users' browser in cookies for 30 days.
Should be merged after PR #259.