-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
ui: Fix spacing issues in composite row detail section #9930
Conversation
cac6486
to
5a61dd9
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.
Thanks for taking a look at this!
Could you screengrab some "before and afters" for me, I'm just looking at the issue for this and it says it's about equalling out the spacing between groups of Policies/Roles with the individual Policies/Roles themselves in for example Namespaces (so making the space between the groups the same as the space between the things in the groups)
There seems to be a lot of change here for a spacing tweak and I'm not sure what else has changed visually. Maybe you didn't mean to commit all of this or is it a "feed two birds with one scone" thing? For example I saw a bunch of conditionals in the session listing.
Move copy button to be in dt tag.
We've been trying not to put CopyButtons into dt
tags and we've been specifically moving CopyButtons out of them as something with no text doesn't make for a great title from a semantic and/or accessibility viewpoint., for example here #8850 .
Anyway let me know and I can take another pass at it.
Oh, I see. Using a |
I've added some screenshots. Yes, I did fix all the nspace list issues.
Not every change was a bug. Some of it was just refactoring such as removing classes unused, removing unnecessary |
@johncowen I've added some screenshots and provided examples to the changes made. |
5a61dd9
to
3654b1b
Compare
This PR has been out for a bit. Rebased against master. |
Great! Thanks for the screengrabs! Could we split out the changes for hiding certain Session listing icons when the values aren't set to a separate PR, those changes feel the most like they could possibly use a separate PR. Lemme know and I can take another look. |
@johncowen it would be hard to split that out at this point. Also, not having those conditionals creates spacing issues which is what this PR is about. |
3654b1b
to
d13eb1c
Compare
@johncowen removed the conditionals from Lock Sessions and I've added a changelog. |
Cool thanks for doing that! I think I have one more question - for the upstream list should the detail 'line/row' go under the healthcheck icon, or over to the right of it? I'm actually super glad you added those grabs as I think I've seen another little bug we could fix up. |
@johncowen I've added the spacing for upstreams list in a separate commit. |
🐛 Fix-ups in all the lists using the %composite-row styling component.
The following fixes were done:
NSpace List Before:
![npsace_list_before](https://user-images.githubusercontent.com/19161242/115257017-b93ec200-a0fd-11eb-8bd7-9817cd550d13.png)
NSpace List After:
![nspace_list_after](https://user-images.githubusercontent.com/19161242/115256690-75e45380-a0fd-11eb-9882-5c67146cade1.png)
Lock Session List Before:
![lock_session_before](https://user-images.githubusercontent.com/19161242/115258609-20a94180-a0ff-11eb-9986-b4a43195edf4.png)
Lock Session List After:
![lock_session_after](https://user-images.githubusercontent.com/19161242/115258644-2b63d680-a0ff-11eb-9041-a67b3c90a65a.png)
Upstream List Before:
![upstream_list_before](https://user-images.githubusercontent.com/19161242/115259210-acbb6900-a0ff-11eb-884d-d5a6070a6c96.png)
Upstream List After:
![upstream_list_after](https://user-images.githubusercontent.com/19161242/115259229-b0e78680-a0ff-11eb-8441-108717d849aa.png)
Node List Before:
![node_list_before](https://user-images.githubusercontent.com/19161242/115259380-d70d2680-a0ff-11eb-8b22-6e7e0bc47f78.png)
Node List After:
span
tag