-
Notifications
You must be signed in to change notification settings - Fork 174
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: move playbook labels onto their own row #509
base: master
Are you sure you want to change the base?
ui: move playbook labels onto their own row #509
Conversation
This reduces the waste of whitespace from the labels wrapping.
Build succeeded. ✔️ ara-tox-py3 SUCCESS in 3m 26s |
from only checking the pictures it looks a bit overloaded. But generally I thing it's a great idea. What could be help is to better sperate the rows, eg. by a clearer borderline or a bit of whitespace between the rows. |
... I agree. I think if we could have everything on one line it would be ideal and it's part of why I've been trying to resist a change like this. I thought it was worth trying out even if just to visualize what it looked like in practice. There's too much information for the amount of width we have available which leads us to truncating strings and resorting to these "hacks".. UI/UX is hard and I might put this off for now unless we figure out what would look good. |
Yeah, I'll leave this open but remove it from the 1.7.0 milestone. This isn't a blocker for the release and we can revisit it later. |
The tags contain a lot of repeated information and probably aren't that helpful for "first level" debugging ... i.e. my playbook usually works but something broke; they seem more useful for the less common but still relevant "something is subtly wrong with how this this working". I know that it's easy to say and not so easy to write up in javascript; it feels like maybe if there was a tags label with a count that you mouse-over and it unrolls the tags, click to keep them around, and a toggle "show all tags" it would be the best of all worlds. One thing about the sample https://5636c233c25b7ab53fbc-f7539d74592ba1909ca4d781e774dc92.ssl.cf5.rackcdn.com/509/066ab7e3bea8c31580772604d54fae712c08db60/check/ara-basic-ansible-core-2.15/0fb611f/server/static/index.html is that the labels are a button, so highlights and gives a pointer when moving over, suggesting it is clickable, which it really isn't? |
I agree.
My skills and interest in frontend are limited, pulls requests will be considered :D
Oh, that's because in the non-static version they are clickable and allows to search across every playbook for a label -- i.e: https://dev.demo.recordsansible.org/?label=tags:keystone If we really wanted to fix that, it'd be inside the various if's like this one, I suppose we could have a different class or something: ara/ara/ui/templates/partials/tables/playbooks.html Lines 144 to 150 in 9cadcbb
|
Are we talking about tags or labels? |
This reduces the waste of whitespace from the labels wrapping.
Related: #499