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

Fixes #14536: Add a button to show/hide Directives and Groups tree in Rule details #2168

Conversation

RaphaelGauthier
Copy link
Member

@fanf
Copy link
Member

fanf commented Mar 28, 2019

This is really, really good but I think we need a little bit more information on the directive/group before merging, at least link toward said objects (and perhaps description/ policy mode).

@RaphaelGauthier RaphaelGauthier force-pushed the ust_14536/add_a_button_to_show_hide_directives_and_groups_tree_in_rule_details branch from 8243c72 to c503ddc Compare March 29, 2019 14:00
@RaphaelGauthier
Copy link
Member Author

Commit modified

for (var o in $scope.directives) {
arr.push({"id":o, "name": $scope.directives[o] });
}
for (var o in $scope.directives) {
Copy link
Member

Choose a reason for hiding this comment

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

It seems that that part is not working as expected. Directive can't be selected / unselected (groups work)

@RaphaelGauthier RaphaelGauthier force-pushed the ust_14536/add_a_button_to_show_hide_directives_and_groups_tree_in_rule_details branch from c503ddc to 431b8aa Compare March 29, 2019 15:29
@RaphaelGauthier
Copy link
Member Author

PR rebased

@RaphaelGauthier RaphaelGauthier force-pushed the ust_14536/add_a_button_to_show_hide_directives_and_groups_tree_in_rule_details branch from 431b8aa to 29169b7 Compare March 29, 2019 15:32
@RaphaelGauthier
Copy link
Member Author

Commit modified

@RaphaelGauthier RaphaelGauthier force-pushed the ust_14536/add_a_button_to_show_hide_directives_and_groups_tree_in_rule_details branch from 29169b7 to 77cb5e6 Compare March 29, 2019 15:35
@RaphaelGauthier
Copy link
Member Author

Commit modified

@fanf
Copy link
Member

fanf commented Mar 29, 2019

Perfect!

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 77cb5e6 into Normation:branches/rudder/5.0 Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants