-
Notifications
You must be signed in to change notification settings - Fork 91
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
Ensures service details custom buttons collapse to kebab when > 3 #1394
Ensures service details custom buttons collapse to kebab when > 3 #1394
Conversation
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 like a good change
<custom-button | ||
ng-if="vm.hasCustomButtons(vm.service) <= 3 && vm.hasCustomButtons(vm.service) > 0" | ||
class="custom-dropdown pull-left" | ||
service-id="vm.vmDetails.service.id" |
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.
This is a surprise.. why is vmDetails
needed with 1-3 buttons but not before or with 4+?
(Looks like vmDetails
is only ever used in resource-details.html
, not service-details.html
- bad copypasta? :))
(otherwise LGTM :))
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.
yep, woops, that one slipped through..
bad copypasta indeeeeed 😋
16680a4
to
3c7e740
Compare
Checked commit AllenBW@3c7e740 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
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.
LGTM now 👍
@AllenBW What's the sui process here with Does ux review happen asynchronously as in ui-classic or are we supposed to wait for an explicit ACK? :) (In other words, should I punch it or wait? :)) |
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 pulling this solution to service details! LGTM!
I have created separate Bugzilla for this issue! Here you go - https://bugzilla.redhat.com/show_bug.cgi?id=1550833 |
cc @simaishi we now have a bz for this to be backported with... <3 |
…om-button-kebab Ensures service details custom buttons collapse to kebab when > 3 (cherry picked from commit 928fb99) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553482
Gaprindashvili backport details:
|
fixes https://bugzilla.redhat.com/show_bug.cgi?id=1550833
continuation of https://bugzilla.redhat.com/show_bug.cgi?id=1524718
We might need a new bz for this... as the above one was to verify for resource details page... 🤔
on master, service details page, when with custom buttons looks like this
this work collapses these buttons when they exceed 3
to match current behavior observed in the resource details page