razage / persistent-flannel

a website for tracking what games you've played and getting recommendations
0 stars 0 forks source link

Combine as much of the login system as possible into one vue app #30

Open razage opened 7 years ago

razage commented 7 years ago

Currently the login system is spread across 2 Vue instances and a component. This happened because the involved elements are in very separate selectors. This makes it very confusing and hard for them to interact with each other. Not to mention hacky implementations like using jQuery to slap some hardcoded html into an element.

I would love to make this one app with a few components potentially. And it can react to whether or not the user is logged in. This might be difficult without a wrapper around all of the UI, though that'd be less than ideal. I think there might be some weirdness if a cheeky person deletes their local storage, but the server still thinks they're logged in.