mozilla / persona-roadmap

A repository for user stories related to Mozilla's Identity efforts.
3 stars 1 forks source link

As an RP developer, I want Persona to take care of all of the "sign in" button management so that sign in acts the same on my site as every other Persona enabled site. #11

Open shane-tomlinson opened 11 years ago

fmarier commented 11 years ago

What do you mean by that?

You want to have a div on the page and then let Persona replace it with a button? You want to provide your own graphics but you want to have events/callbacks fire when the button should change states (logged out, waiting, cancelled, logged in)?

callahad commented 11 years ago

@vthunder wanted something like this once upon a time -- add an iframe, Persona takes care of all the UI. Not sure if this is exactly what Shane is proposing, but worth noting...

seanmonstar commented 11 years ago

I think the point is that the stories don't involve the implementation. They just want it to end happily. It's up to use to figure out the best impl.

On Mon, Jul 8, 2013 at 10:13 AM, Dan Callahan notifications@github.comwrote:

@vthunder https://github.com/vthunder wanted something like this once upon a time -- add an iframe, Persona takes care of all the UI. Not sure if this is exactly what Shane is proposing, but worth noting...

— Reply to this email directly or view it on GitHubhttps://github.com/mozilla/browserid-roadmap/issues/11#issuecomment-20620831 .

ryanfeeley commented 11 years ago

Here is a collection of NASCARs to give you a sense of how varied the presentation can be. https://www.dropbox.com/sh/0x5berj21fvcm9z/VQ09PqWmP5

I imagine that some RPs will just wants a shim with some styling options, and others will want more control, but still care enough about the details to design every state (loading, signed in, persona down, etc).

Here are some designs I came up with yesterday to illustrate this. Am I missing any states?

button-states 001

chilts commented 11 years ago

I've been playing with this kind of stuff with Persona Assistant : http://persona-assistant.chilts.org/

i.e. when I've done my own RP, the 2nd time I did it I decided that something to do all that management would be great, hence this. As mentioned in my email to the mailing list the other week, it's still a work in progress and there are a few more things I'd like to add, but it's mostly usable already.

r0bl0rd commented 11 years ago

What stage of adoption blocker is this? Priority? Benefit? Thanks Shane.