racket / racket-pkg-website

A frontend for the Racket Package Catalog.
Other
9 stars 15 forks source link

Auto-login from static pages #30

Open tonyg opened 7 years ago

tonyg commented 7 years ago

Currently, the static rendered versions of package pages don't try to log the user in. However, they could have a little bit of javascript that attempted to see whether a session exists, and to redirect to a logged-in version of the page if one does.

We'd have to consider potential usability issues here: what if pkgd is being slow? what if the user starts interacting with the static page and then it is replaced unexpectedly and unwantedly with the dynamic equivalent? etc.

(xref: This is half of issue #25)