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

Switched fields around on the form/summary screen. #3071

Merged
merged 1 commit into from
Dec 18, 2017

Conversation

h-kataria
Copy link
Contributor

After user entered data in Default value field and then switched Data Type drop down value, form resets Default Value field to be empty which was causing confusion. By switching fields around user will first pick data type and then enter data in Default Value field.
To be consistent switched fields on both Ansible/Non-Ansible forms.

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

before:
before
before1

after:
after
after_1
after3

@mkanoor please review.

After user entered data in Default value field and then switched Data Type drop down value, form resets Default Value field to be empty which was causing confusion. By switching fields around user will first pick data type and then enter data in Default Value field.
To be consistent switched fields on both Ansible/Non-Ansible forms.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1525584
@h-kataria
Copy link
Contributor Author

cc @billfitzgerald0120

@miq-bot
Copy link
Member

miq-bot commented Dec 14, 2017

Checked commit h-kataria@b8fa8f6 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 1 offense detected

app/views/miq_ae_class/_inputs.html.haml

  • ⚠️ - Line 68 - Line is too long. [182/160]

@dclarizio
Copy link

@billfitzgerald0120 could you please review?

@billfitzgerald0120
Copy link
Contributor

@h-kataria @dclarizio Looks good.

@dclarizio dclarizio merged commit b2fff54 into ManageIQ:master Dec 18, 2017
@dclarizio dclarizio added this to the Sprint 76 Ending Jan 1, 2018 milestone Dec 18, 2017
simaishi pushed a commit that referenced this pull request Dec 19, 2017
Switched fields around on the form/summary screen.
(cherry picked from commit b2fff54)

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

Gaprindashvili backport details:

$ git log -1
commit 1da70e14e49e6bf1e2455f69d5eb86046dc43a25
Author: Dan Clarizio <[email protected]>
Date:   Mon Dec 18 08:27:51 2017 -0800

    Merge pull request #3071 from h-kataria/change_order_of_fields
    
    Switched fields around on the form/summary screen.
    (cherry picked from commit b2fff54533dea7c54d0712021a94f94be860d830)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1527572

@h-kataria h-kataria deleted the change_order_of_fields branch January 12, 2018 21:51
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.

5 participants