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

BZ#1539862 - Created multiselect dialog field type #249

Merged
merged 2 commits into from
Feb 8, 2018

Conversation

chalettu
Copy link
Contributor

@chalettu chalettu commented Feb 6, 2018

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

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

@chalettu
Copy link
Contributor Author

chalettu commented Feb 6, 2018

Screenshot of it in action in a dialog in SUI
multiselect

@miq-bot
Copy link
Member

miq-bot commented Feb 6, 2018

Checked commits chalettu/ui-components@5fcb88d~...a571b51 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

<select pf-select
ng-if="!vm.dialogField.options.force_multi_value"
ng-model="vm.dialogField.default_value"
ng-change="vm.changesHappened(item)"
Copy link
Contributor

@himdel himdel Feb 7, 2018

Choose a reason for hiding this comment

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

Pretty sure item is undefined here.. $item used to be provided by ui-select, but looks like changesHappened does (value ? value[selectedValue] : this.dialogField.default_value), so maybe you can drop it and simplify the function a bit?

(same for the 2 other cases)

(Or am I missing something? :))

@himdel
Copy link
Contributor

himdel commented Feb 7, 2018

Looks like this should work 👍

@chalettu
Copy link
Contributor Author

chalettu commented Feb 7, 2018

Is this one good to merge?

@himdel
Copy link
Contributor

himdel commented Feb 8, 2018

umm

Um.. you tell me ;)

@JPrause
Copy link
Member

JPrause commented Feb 8, 2018

As this is a fix for a blocker issue,...can we get this merged asap. @himdel who can merge?

@himdel
Copy link
Contributor

himdel commented Feb 8, 2018

@JPrause understood, in that case, a stray undefined is probably not a problem, merging.

@himdel himdel merged commit 2bb4794 into ManageIQ:master Feb 8, 2018
@himdel
Copy link
Contributor

himdel commented Feb 8, 2018

@JPrause Is there any need to release a new version of ui-components now? (As opposed to Monday, in case there are other changes needed here.)

@himdel himdel self-assigned this Feb 8, 2018
@himdel himdel added this to the Sprint 79 Ending Feb 12, 2018 milestone Feb 8, 2018
@chalettu
Copy link
Contributor Author

chalettu commented Feb 8, 2018

@himdel thank you for merging. Let me know once we version bump ui-components because I need to update my WIP PR in SUI to reflect the new version.

@himdel
Copy link
Contributor

himdel commented Feb 8, 2018

Aah, forgot the other PR was waiting for this too.. in that case, doing the release now..

@himdel
Copy link
Contributor

himdel commented Feb 8, 2018

Backported to the gaprindashvili branch:

commit e32dc5755a19ca6b080e7e957e3e201ba66b98bc
Author: Martin Hradil <[email protected]>
Date:   Thu Feb 8 17:34:25 2018 +0100

    Merge pull request #249 from chalettu/multiselect
    
    BZ#1539862 - Created multiselect dialog field type
    
    (cherry picked from commit 2bb47948b307ef2b2374a14bdc7c55db92c01f24)

himdel added a commit that referenced this pull request Feb 8, 2018
BZ#1539862 - Created multiselect dialog field type

(cherry picked from commit 2bb4794)
@himdel
Copy link
Contributor

himdel commented Feb 8, 2018

Released @manageiq/[email protected] from the gaprindashvili branch (both bower and npm),
and @manageiq/[email protected] from the master branch (npm only).

@miq-bot add_label gaprindashvili/backported
@miq-bot remove_label gaprindashvili/yes

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