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

Fixed Schedules accordion swapping logic. #4621

Merged

Conversation

h-kataria
Copy link
Contributor

@h-kataria h-kataria commented Sep 6, 2018

Only need to set params[:accord] when add button is pressed from Reports accordion, setting of acord parameter causes acoridon to be swapped to Schedule accordion by Explorer presenter code. Undid code changes made in #3399 this was causing issues when adding a schedule from Reports accordion.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1624248

@hstastna please test/review.

before:
before

after:
after

@h-kataria h-kataria changed the title [WIP] - Fixed Schedules accordion swapping logic. Fixed Schedules accordion swapping logic. Sep 6, 2018
@h-kataria h-kataria removed the wip label Sep 6, 2018
@h-kataria h-kataria force-pushed the schedule_add_edit_accordion_swap_fix branch 3 times, most recently from b92bba0 to c3d965a Compare September 6, 2018 15:55
Only need to set params[:accord] when add button is pressed from Reports accordion, setting of acord parameter causes acoridon to be swapped to Schedule accordion by Explorer presenter code. Undid code changes made in ManageIQ#3399 this was causing issues when adding a schedule from Reports accordion.
Also need to hide form buttons post accordion switch when schedule is added from Reports accordion.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1624248
@h-kataria h-kataria force-pushed the schedule_add_edit_accordion_swap_fix branch from c3d965a to 62aec06 Compare September 6, 2018 16:08
@miq-bot
Copy link
Member

miq-bot commented Sep 6, 2018

Checked commit h-kataria@62aec06 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🍰

@dclarizio dclarizio requested review from hstastna and removed request for hstastna September 6, 2018 17:50
Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Seal of Approval

@dclarizio dclarizio merged commit 0484125 into ManageIQ:master Sep 7, 2018
@dclarizio dclarizio added this to the Sprint 94 Ending Sep 10, 2018 milestone Sep 7, 2018
@hstastna
Copy link
Contributor

I know that this is already merged but I tested this anyway. The BZ is not reproducible anymore so I think it works well now.

@h-kataria
Copy link
Contributor Author

Needs to be backported to Gaprindashvili to fix https://bugzilla.redhat.com/show_bug.cgi?id=1636744

@h-kataria h-kataria deleted the schedule_add_edit_accordion_swap_fix branch October 24, 2018 22:04
simaishi pushed a commit that referenced this pull request Nov 5, 2018
…wap_fix

Fixed Schedules accordion swapping logic.

(cherry picked from commit 0484125)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1646564
@simaishi
Copy link
Contributor

simaishi commented Nov 5, 2018

Gaprindashvili backport details:

$ git log -1
commit cf0017eea084d0cc8936d21586b1f847e2f8d7f9
Author: Dan Clarizio <dclarizi@redhat.com>
Date:   Fri Sep 7 08:08:07 2018 -0700

    Merge pull request #4621 from h-kataria/schedule_add_edit_accordion_swap_fix
    
    Fixed Schedules accordion swapping logic.
    
    (cherry picked from commit 0484125e546ad60316c063b08174293386ae9f9f)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1646564

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

6 participants