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

[Search] SearchProvider and Tree Search enhancements/fixes #3400

Merged
merged 8 commits into from
Sep 29, 2020

Conversation

jvigliotta
Copy link
Contributor

@jvigliotta jvigliotta commented Sep 24, 2020

Added the objectService to the GenericSearchProvider to handle cases where the wrong provider was being used to get the object/model. Also small refactor to the navigation tree to handle search more appropriately (searching indicator, clearing children, etc).

closes #3399

Author Checklist

Changes address original issue? Yes
Unit tests included and/or updated with changes? N/A Legacy
Command line build passes? Yes
Changes have been smoke-tested? Yes
Testing instructions included? Yes

Copy link
Contributor

@deeptailor deeptailor left a comment

Choose a reason for hiding this comment

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

just one callout so far

@@ -109,7 +109,8 @@ define([
"topic",
"GENERIC_SEARCH_ROOTS",
"USE_LEGACY_INDEXER",
"openmct"
"openmct",
"objectService"
Copy link
Contributor

Choose a reason for hiding this comment

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

lets add this in place of modelService, since we are replacing it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated!

@jvigliotta jvigliotta changed the title [Search] Switch from modelService to objectService in GenericSearchProvider [Search] SearchProvider and Tree Search enhancements/fixes Sep 25, 2020
Copy link
Contributor

@deeptailor deeptailor left a comment

Choose a reason for hiding this comment

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

LGTM

@deeptailor
Copy link
Contributor

@jvigliotta - were there any legacy tests that need updating? We should not be adding tests to legacy code but we should update them if needed

@deeptailor
Copy link
Contributor

Reviewer Checklist

Changes appear to address issue? Yes
Appropriate unit tests included? N/A
Code style and in-line documentation are appropriate? Yes
Commit messages meet standards? Yes
Has associated issue been labelled unverified? (only applicable if this PR closes the issue)Yes

@deeptailor deeptailor merged commit 505796d into master Sep 29, 2020
@deeptailor deeptailor deleted the composition-testing-hulk branch September 29, 2020 17:07
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.

[Search] Search will fail to index items using the proper provider
2 participants