cannin / ihop-reach

A web application to access biological data extracted from biomedical literature.
https://reach.nrnb-docker.ucsd.edu
GNU Lesser General Public License v3.0
4 stars 4 forks source link

Set a Cookie when a Sentence Content when PMC Link Clicked #29

Closed cannin closed 5 years ago

cannin commented 5 years ago

Please set a cookie. Related to #28

https://www.netlify.com/blog/2017/01/19/setting-cookies-in-react/ https://github.com/reactivestack/cookies/tree/master/packages/react-cookie

name: ihop-reach value: {"pmc_id": PMC, "text": SENTENCE} path: / expires: 24 hours sameSite: true

RohitChattopadhyay commented 5 years ago

Any Cookie consent pop up, like for GDPR required?

cannin commented 5 years ago

Not for now.

Augustin Luna

On Sat, Jun 8, 2019 at 4:17 PM Rohit Rajat Chattopadhyay < notifications@github.com> wrote:

Any Cookie consent pop up, like for GDPR required?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannin/ihop-reach/issues/29?email_source=notifications&email_token=AAGA6DEFXC7YYT7726TBU4TPZQHWZA5CNFSM4HVW4AGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXH5FPY#issuecomment-500159167, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGA6DBISKGD3E7RHI7KCG3PZQHWZANCNFSM4HVW4AGA .

cannin commented 5 years ago

For the document icon that is clicked can you add a title attribute with the text

<a href=X data-sentence="activation of the promoters of gadd45 (growth arrest and DNA damage-inducible gene 45), gas2">Y</a>
RohitChattopadhyay commented 5 years ago

Cookie Configuration is set here