Skip to content

Bug 1462205 - Delete binding shouldn't show up when all bindings are pending deletion #1738

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

Merged
merged 1 commit into from
Jun 20, 2017

Conversation

jwforres
Copy link
Member

@jwforres jwforres requested a review from spadgett June 19, 2017 18:19
@@ -1101,6 +1101,7 @@ function OverviewController($scope,
// - API objects by binding name
state.bindingsByApplicationUID = {};
state.applicationsByBinding = {};
state.validBindingsByApplicationUID = {};
Copy link
Member Author

Choose a reason for hiding this comment

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

im not in love with the variable names here or in service-row, open to other suggestions

Copy link
Member

Choose a reason for hiding this comment

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

I don't have a great suggestion :(

valid sort of implies ready to me... deleteableBindingsByApplicationUID too on the nose?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah i started to call it undeletedBindingsByApplicationUID, its just... weird

Copy link
Member

Choose a reason for hiding this comment

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

This is specifically for the delete binding action, so I don't mind a name that makes that clear even if it doesn't roll off the tongue.

Alternatively we could put the filter in overview-list-row and call it deleteableBindings.

@jwforres
Copy link
Member Author

This also fixes the text display to say Deleting with the spinner instead of Pending

@jwforres jwforres force-pushed the bug-1462205-delete-binding branch from 3c9de65 to 25f3640 Compare June 20, 2017 18:16
@jwforres
Copy link
Member Author

@spadgett updated the variable names, I also changed it to only pass the deleteable bindings into the unbind service directive

@spadgett
Copy link
Member

@benjaminapetersen FYI, probably conflicts with #1742

@spadgett
Copy link
Member

[merge][severity:blocker]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 25f3640

@openshift-bot
Copy link

openshift-bot commented Jun 20, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1575/) (Base Commit: 95a85d3) (PR Branch Commit: 25f3640) (Extended Tests: blocker)

@openshift-bot openshift-bot merged commit aca7203 into openshift:master Jun 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants