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

Update dynamic fields responders after change #347

Merged
merged 1 commit into from Sep 25, 2018

Conversation

romanblanco
Copy link
Member

@romanblanco romanblanco commented Sep 18, 2018

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

Removing field changed from dynamic to static from the list of responders for each associated field.

Steps to reproduce:

screencast from 2018-09-13 23-55-38

@romanblanco
Copy link
Member Author

@miq-bot add_label bug, blocker, gaprindashvili/yes

@romanblanco
Copy link
Member Author

/cc @d-m-u

@d-m-u
Copy link
Contributor

d-m-u commented Sep 18, 2018

Thanks, @romanblanco !! 🎉

@miq-bot
Copy link
Member

miq-bot commented Sep 18, 2018

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

@@ -42,6 +42,7 @@ <h4 class="modal-title" id="myModalLabel" translate>Edit Field Details</h4>
pf-label="{{'Dynamic'|translate}}">
<input bs-switch
ng-model="vm.modalData.dynamic"
ng-change="vm.updateDialogFieldResponders(vm.modalData.name)"
Copy link
Contributor

@himdel himdel Sep 19, 2018

Choose a reason for hiding this comment

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

Should we have a default implementation of vm.updateDialogFieldResponders?

Unconditionally calling an optional function sounds potentially bad...

EDIT: never mind, this is always defined

@himdel himdel self-assigned this Sep 25, 2018
@himdel himdel merged commit f9c976b into ManageIQ:master Sep 25, 2018
@romanblanco romanblanco deleted the bz1614436 branch September 25, 2018 12:17
@himdel himdel added this to the Sprint 96 Ending Oct 8, 2018 milestone Sep 25, 2018
simaishi pushed a commit that referenced this pull request Sep 25, 2018
Update dynamic fields responders after change

(cherry picked from commit f9c976b)

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

Gaprindashvili backport details:

$ git log -1
commit 5f3f3f5eca6325b14a14871edb1fa7d0eaad66a1
Date:   Tue Sep 25 12:11:09 2018 +0000

    Merge pull request #347 from romanblanco/bz1614436
    
    Update dynamic fields responders after change
    
    (cherry picked from commit f9c976b39faaa06517c5ab481d238fbe28ecacc9)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1632769

@himdel
Copy link
Contributor

himdel commented Oct 8, 2018

Released in 1.0.36

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

5 participants