-
Notifications
You must be signed in to change notification settings - Fork 14
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
maint(pam/nativemodel): Improve wording and consistency of strings #599
Conversation
4c3c4f7
to
9087e8d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #599 +/- ##
==========================================
+ Coverage 82.86% 82.93% +0.07%
==========================================
Files 80 80
Lines 8514 8534 +20
Branches 75 75
==========================================
+ Hits 7055 7078 +23
+ Misses 1129 1127 -2
+ Partials 330 329 -1 ☔ View full report in Codecov by Sentry. |
07cc197
to
6a23cee
Compare
6a23cee
to
651c697
Compare
651c697
to
ca979f1
Compare
ca979f1
to
5de61a1
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.
Some things you just don't know you need it until you get it 😂
Thanks for this. Nice work!
Use the same terminology and similar behavior of the CLI mode
We were trying to fix the broker behavior here, but it's something that was done only by the native UI and it's not really something used anywhere. So instead just error in case this happens, since we expect to have defined labels here. In case we will ever require to have a fallback string, this should be done at general level and not just at PAM level.
Make it clearer where a "go back" action will lead the user to.
Use a behavior that is more similar to what we've in the CLI interface so that when an input is requested the `>` char is used.
5de61a1
to
f55d343
Compare
In native modules the prompt should be only the text shown on the field, while the rest of information should be exposed as PAM info messages. Do this to ensure that both all PAM implementations we care about (ssh and polkit) keep a reasonable UI.
f55d343
to
79f21be
Compare
Co-Authored-By: Adrian Dombeck <[email protected]>
Use the same terminology and similar behavior of the CLI mode
UDENG-5012