jerome-toole / skindeep

1 stars 0 forks source link

Facilitate navigation to iThemes account #46

Open briggySmalls opened 7 years ago

briggySmalls commented 7 years ago

Before introducing #45 the user should be able to login and navigate to their account in order to access digital content they have purchased in the past.

Of course, this account area may be of use to those purchasing physical products. Even more so for subscriptions, where they can change the type of subscription or cancel.

A 'login'/'my account' link should be added to the header.

briggySmalls commented 7 years ago

Comments from @CiaranChris:

Adding an account based system is a great idea, especially going forward. I do think it would be to much to have an ‘Account’ or ‘Login’ button on the same navigation menu bar. Is there anyway of having a secondary menu bar somewhere, perhaps above the banner, something similar to The New Yorker? Surely we could do it in a way similar to a shopping site like ASOS, when you log in you only then see your user name in the corner instead of ‘login’ and i suppose there would need to be a drop down menu so they could access their preferences of the type of access they want and how they’d like for the site to be in contact with them.

briggySmalls commented 7 years ago

It seems that iThemes Exchange's 'Super Widget' contains a login button for this purpose.

Unfortunately the widget controls what it displays depending on its context, and I've yet to find when it appears as a login.

So far the login button function from the iThemes API seems to be useless, as it echos an input without a form.

briggySmalls commented 7 years ago

Re https://github.com/jerome-toole/skindeep/issues/46#issuecomment-305025822, a secondary menu like The New Yorker is definitely easily implemented.

The 'login' swapped with 'username' when logged in link/button would require more work unless the 'Super Widget' already serves the purpose. However definitely worth striving for I would imagine, and shouldn't be too much effort...

briggySmalls commented 7 years ago

I've had a bit more of a look at this and made a simple widget that displays 'Login' while the user is a guest and switches to:

Hello \<username>, Not you? My Account

Where 'not you' and 'my account' link to logout and the account page respectively. So the backend work is done.

I think the next thing here would be to settle on a visual style. Either point me to a single example (New Yorker vs Asos) or mockup, as you prefer, and I'm happy to have a crack at it.

briggySmalls commented 7 years ago

Anymore thoughts on this?

briggySmalls commented 7 years ago

So I've recently improved the capability for digital variants of the physical magazines. The ability to sell pdfs is ready to go.

But as discussed here, we really need a login for them. Any thoughts @ciaranchris?