-
Notifications
You must be signed in to change notification settings - Fork 84
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
feat: implement login/logout UX #413
Conversation
e7f9813
to
5027651
Compare
0ac3223
to
f418a78
Compare
@dtzar There are some cases need to be considered for |
8df0dce
to
b3a26e1
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
Should we mention in command help that logout will log out from registries including those logged in using |
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
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
Codecov Report
@@ Coverage Diff @@
## main #413 +/- ##
=======================================
Coverage 33.91% 33.91%
=======================================
Files 21 21
Lines 1138 1138
=======================================
Hits 386 386
Misses 744 744
Partials 8 8
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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
implemnt login UI based on https://github.com/notaryproject/notation/blob/main/specs/commandline/login.md fix: 1. added `Login Succeeded` message when login succeeded 2. added username parameter validation 3. removed --plain-http global flag Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
Signed-off-by: Junjie Gao <[email protected]>
0d8f8c7
to
325b069
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
implemnt login UI based on https://github.com/notaryproject/notation/blob/main/specs/commandline/login.md fix:
Login Succeeded
message when login succeededTest:
username was not set.
Signed-off-by: Junjie Gao [email protected]