Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in status indicator extension for Login Status #4

Open
pascoej opened this issue Aug 22, 2024 · 1 comment
Open

Add in status indicator extension for Login Status #4

pascoej opened this issue Aug 22, 2024 · 1 comment

Comments

@pascoej
Copy link

pascoej commented Aug 22, 2024

It can be useful to know the username of the account whenever sites use setStatus. This was present in the fedidcg explainer, but hasn't made it into the spec here yet.

I'm creating this issue because I'd like to consider it for inclusion and plan on opening a PR to allow sites to pass indicator.name and indicator.picture when setting login status.

Example from explainer:

navigator.login.setStatus("logged-in", {
  indicator: {
    name: "John Doe",
    picture: "https://website.com/john-doe/profile.png",
  }
});
@samuelgoto
Copy link
Collaborator

samuelgoto commented Aug 22, 2024

plan on opening a PR to allow sites to pass indicator.name and indicator.picture when setting login status.

I am highly supportive and excited about login status indicators, and I'm glad that you are looking at that too! A PR would be highly appreciated.

Some of the early explorations we looked at was to reuse parts of the url bar to indicate that the user is logged in.

Does this match more or less your intuition as to where we would hang a status indicator (obviously, each browser being able to make their own UX determinations independently)?

Screenshot 2024-08-22 at 15 40 23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants