ObjectiveSubject / ccl

1 stars 0 forks source link

School selection is not sticking #68

Closed Jessdwilson closed 6 years ago

Jessdwilson commented 6 years ago

From client:

If you select your school from the dropdown it goes away as soon as you go to a different page. We want that to stick.

davekellam commented 6 years ago

This is a cookie issue that we discussed in #35. Basically, we should be able to read the school from a logged in person's cookie and set the colours automatically. But we can't do that until the everything is under the same domain. So, if the demo site is using something like beta.claremont.edu should be able to read the cookie from the claremont.edu authentication server.

The dropdown is there to show that the colour switching works in practice. In theory we could use that dropdown to set our own cookie that we read too. Sort of depends whether the they want the dropdown to actually be there.

davekellam commented 6 years ago

So the question is, do we make the dropdown "work" or do we wait until everything is on the same domain?