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

Fix skipping "first step" when saving a filter #2690

Merged

Conversation

hstastna
Copy link

@hstastna hstastna commented Nov 10, 2017

fixing https://bugzilla.redhat.com/show_bug.cgi?id=1511532

Fix appearing "Search Name is required" if user has not clicked on Save
button yet, in Advanced search, when entering a name of a new filter.

Practically, no step is skipped when saving a filter, just flash message is
rendered in Adv search by default, when entering "save" mode. This was
fixed by a simple condition. No flash message appears in the second
step
of saving a filter anymore, when user has not clicked on Save button
(for the second time) yet.

Before:
save1

After:
save2

fixing https://bugzilla.redhat.com/show_bug.cgi?id=1511532

Fix appearing "Search Name is required" if user has not clicked on
Save button yet, in Advanced search, when entering a name of a new
filter.
Practically, no step is skipped when saving a filter, just flash
message is rendered in Adv search by default, when entering "save"
mode. This was fixed by a simple condition. No flash message appears
in the second step of saving a filter anymore, when user has not
clicked on Save button yet.
@hstastna
Copy link
Author

@miq-bot add_label bug

@miq-bot miq-bot added the bug label Nov 10, 2017
@miq-bot
Copy link
Member

miq-bot commented Nov 10, 2017

Checked commit hstastna@beb2a9b with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@martinpovolny martinpovolny self-assigned this Nov 13, 2017
@martinpovolny martinpovolny added this to the Sprint 73 Ending Nov 13, 2017 milestone Nov 13, 2017
@martinpovolny martinpovolny merged commit 9c63c4d into ManageIQ:master Nov 13, 2017
simaishi pushed a commit that referenced this pull request Nov 15, 2017
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 013e3da82e87c5fc7f9249447118481b01b9355a
Author: Martin Povolny <[email protected]>
Date:   Mon Nov 13 13:18:03 2017 +0100

    Merge pull request #2690 from hstastna/Save_filters_dialog_skip_step
    
    Fix skipping "first step" when saving a filter
    (cherry picked from commit 9c63c4d91c65cfc90a11a7cb7f0de61320f67825)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1513114

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.

4 participants