-
Notifications
You must be signed in to change notification settings - Fork 254
scout hint: tell user logging in is required #2262
Conversation
/cc @sam-thibault @thaJeztah @dvdksn @neersighted @rumpl @vvoland (pinging y'all re: wording ideas) |
f1cccbe
to
397d109
Compare
So, looking at this hint:
I'm slightly wondering if this is "too much information" at this moment in time, and cluttering the hint (hiding away the relevant information in the noise). Effectively, this is listing prerequisites to run the So, silly idea:
That would also allow us to include some of the wording we added in docker/cli#4478 Thinking of a flow like: $ docker scout quickview hello-world
Log in with your Docker ID or email address to use the scout service. If you
don't have a Docker ID, head over to https://hub.docker.com to create one.
You can log in with your password or a Personal Access Token (PAT). Using
a limited-scope PAT grants better security and is required for organizations
using SSO. Learn more at https://docs.docker.com/go/access-tokens/
Username:
Password: (we should consider changing |
@eunomie thoughts on @thaJeztah's idea? |
I can see why we want to add more context about the Right now, that's what you have if you run a scout command without to be logged in:
That's not a really good user experience. However I'm not sure about the addition of the login inside docker scout. But to improve the login message 💯 |
397d109
to
7d8a7e4
Compare
The `docker scout quickview` hint, displayed after a user pulls or builds an image, only works if the user is logged in to Hub. Check if user isn't logged in, and make hint more explicit in this case. Signed-off-by: Laura Brehm <[email protected]>
7d8a7e4
to
ab3375c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The
docker scout quickview
hint, displayed after a user pulls or builds an image, only works if the user is logged in to Hub.What I did
Check if user is logged in, and make hint more explicit/call this requirement out if not.
Logged in (same behaviour as before):
Logged out (add message about logging in):
(not mandatory) A picture of a cute animal, if possible in relation with what you did