-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
realmd: Show domain information and less scary leave dialog #11096
Conversation
9e6b3e4
to
878ea8b
Compare
878ea8b
to
4cbc20e
Compare
4cbc20e
to
778df26
Compare
@andreasn: I fixed the spacing, and made the button a little less cramped. Screenshots updated. WDYT? |
Participants in our usability studies expected to get further details about an IdM domain when clicking on the domain name on the System page, intead of directly asking to leave it. So change the dialog to show the domain name, login format (slightly more human friendly to replace `%u%` with `username`), server and client software. Hide the "Leave Domain" behind an expander, and show the warning in there. Fixes cockpit-project#10063 Closes cockpit-project#11096
778df26
to
1ea15ce
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.
Looks good to me!
this test failure is obviously unrelated. |
<a href="#" id="realms-op-leave-toggle" translatable="yes">Leave Domain</a> | ||
<span id="realms-op-leave-caret" class="fa fa-caret-right"></span> | ||
<div id="realms-op-alert" class="alert alert-warning" hidden> | ||
<div translatable="yes">Only users with local credentials will be able to log into this machine. This may |
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.
I would add "When you leave the domain, ..." just to make the sentence self contained.
b.wait_visible(".realms-op-leave-only-row") | ||
b.wait_in_text(".realms-op-leave-only-row", "cockpit.lan") | ||
b.click(".realms-op-apply") | ||
if m.image != "rhel-7-6-distropkg": |
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.
I really don't like how this rhel-7-6-distropkg image needs to be special cased everywhere...
Participants in our usability studies expected to get further details
about an IdM domain when clicking on the domain name on the System page,
intead of directly asking to leave it.
So change the dialog to show the domain name, login format (slightly
more human friendly to replace
%u%
withusername
), server and clientsoftware. Hide the "Leave Domain" behind an expander, and show the
warning in there.
Fixes #10063