-
Notifications
You must be signed in to change notification settings - Fork 356
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
Change toolbar delete buttons for Button and Button Group to use generic code #6230
Conversation
@miq-bot remove_label wip @romanblanco please have a look, thanks :) |
It's unlikely that only one They should probably all go away, including the |
dd05e05
to
06a72ed
Compare
@ZitaNemeckova unrecognized command 'add_albel', ignoring... Accepted commands are: add_label, add_reviewer, assign, close_issue, move_issue, remove_label, rm_label, remove_reviewer, set_milestone |
@miq-bot add_label wip |
cba786e
to
238453d
Compare
44e4c88
to
f414d49
Compare
8505dea
to
3e1e654
Compare
@miq-bot remove_label wip @romanblanco please have a look, thanks :) |
app/helpers/application_helper/button/generic_object_definition_button_button_group_delete.rb
Outdated
Show resolved
Hide resolved
app/helpers/application_helper/button/generic_object_definition_button_button_group_delete.rb
Outdated
Show resolved
Hide resolved
…lete code not via genericObjectDefinitionToolbarController Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1753388
65564e6
to
8bce4d5
Compare
8bce4d5
to
6d1b46c
Compare
@himdel It's ready for re-review :) Thanks :) |
Thanks, I like the toolbar much more now :) One more bit needed:
those are dead code now ;) |
Removed :) |
Checked commits ZitaNemeckova/manageiq-ui-classic@8f94aa7~...3073ae1 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
@ZitaNemeckova Trying to backport this to ivanchuk branch and have 2 questions..
|
@simaishi Thanks for catching this one.
Should I tag this one as |
@ZitaNemeckova yes, that will work. Thanks! |
Backported to Ivanchuk via #6380 |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1753388
Go to Automation -> Automate -> Generic Objects - > delete a custom button(with or without Custom Button Group it shouldn't matter)
Actual result:
There's an error popup and message for a sec. See Before pic.
Expected result:
No error message/popup. See After pic.
According to the BZ it happens in 70%.
This fix should work for all possible delete actions on Generic Object Definition page.
Before:
After:
@miq-bot add_label bug, generic objects, ivanchuk/yes, changelog/no, wip
Depends on #6289