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

Reload listnav explorer trees from explorers using RxJS #2100

Merged
merged 3 commits into from Sep 8, 2017

Conversation

skateman
Copy link
Member

@skateman skateman commented Sep 5, 2017

When creating/editing/deleting an item on an explorer screen, we're reloading the trees using replacePartial. After the angularization of explorer listnav trees this became a bug as these trees are no longer accessible using old CSS selectors.

Instead of replacing the whole partial I created an RxJS subscription in the TreeViewController that expects the updated tree JSON. The data is being sent by the ManageIQ.explorer as reloadTrees that goes way up to the ApplicationController where the replace_trees_by_presenter has been renamed to reload_trees_by_presenter.

Depends on: ManageIQ/ui-components#145
Parent issue: #1871

@miq-bot
Copy link
Member

miq-bot commented Sep 6, 2017

This pull request is not mergeable. Please rebase and repush.

@miq-bot
Copy link
Member

miq-bot commented Sep 6, 2017

Checked commits skateman/manageiq-ui-classic@b8cfd2e~...9f67c25 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
16 files checked, 0 offenses detected
Everything looks fine. 👍

@martinpovolny martinpovolny merged commit 2b10d1a into ManageIQ:master Sep 8, 2017
@martinpovolny martinpovolny added this to the Sprint 69 Ending Sep 18, 2017 milestone Sep 8, 2017
@skateman skateman deleted the explorer-tree-reload branch September 8, 2017 10:01
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

3 participants