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

realmd: Show domain information and less scary leave dialog #11096

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

martinpitt
Copy link
Member

@martinpitt martinpitt commented Feb 1, 2019

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 #10063

@martinpitt
Copy link
Member Author

martinpitt commented Feb 1, 2019

This is how it looks right now. The link is keyboard-tabbable and expandable (with Enter):

closed

After expanding it looks like this:

open

@martinpitt
Copy link
Member Author

@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
Copy link
Contributor

@andreasn andreasn left a 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!

@martinpitt
Copy link
Member Author

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
Copy link
Member

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":
Copy link
Member

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...

@mvollmer mvollmer merged commit d16c015 into cockpit-project:master Feb 5, 2019
@martinpitt martinpitt deleted the domain-info branch February 5, 2019 07:59
@martinpitt
Copy link
Member Author

@mvollmer: I updated the screenshot above with the text change from PR #11113

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

Successfully merging this pull request may close these issues.

None yet

3 participants