diff --git a/platform/search/bundle.js b/platform/search/bundle.js index b605535b3e..8ccb654cbf 100644 --- a/platform/search/bundle.js +++ b/platform/search/bundle.js @@ -104,7 +104,7 @@ define([ "depends": [ "$q", "$log", - "modelService", + "objectService", "workerService", "topic", "GENERIC_SEARCH_ROOTS", diff --git a/platform/search/src/services/GenericSearchProvider.js b/platform/search/src/services/GenericSearchProvider.js index f389d1bd50..d47a1b6d30 100644 --- a/platform/search/src/services/GenericSearchProvider.js +++ b/platform/search/src/services/GenericSearchProvider.js @@ -38,16 +38,16 @@ define([ * @constructor * @param $q Angular's $q, for promise consolidation. * @param $log Anglar's $log, for logging. - * @param {ModelService} modelService the model service. + * @param {ObjectService} objectService the object service. * @param {WorkerService} workerService the workerService. * @param {TopicService} topic the topic service. * @param {Array} ROOTS An array of object Ids to begin indexing. */ - function GenericSearchProvider($q, $log, modelService, workerService, topic, ROOTS, USE_LEGACY_INDEXER, openmct) { + function GenericSearchProvider($q, $log, objectService, workerService, topic, ROOTS, USE_LEGACY_INDEXER, openmct) { var provider = this; this.$q = $q; this.$log = $log; - this.modelService = modelService; + this.objectService = objectService; this.openmct = openmct; this.indexedIds = {}; @@ -218,12 +218,12 @@ define([ provider = this; this.pendingRequests += 1; - this.modelService - .getModels([idToIndex]) - .then(function (models) { + this.objectService + .getObjects([idToIndex]) + .then(function (objects) { delete provider.pendingIndex[idToIndex]; - if (models[idToIndex]) { - provider.index(idToIndex, models[idToIndex]); + if (objects[idToIndex]) { + provider.index(idToIndex, objects[idToIndex].model); } }, function () { provider diff --git a/src/ui/layout/mct-tree.scss b/src/ui/layout/mct-tree.scss index 967ec2d853..60146cd590 100644 --- a/src/ui/layout/mct-tree.scss +++ b/src/ui/layout/mct-tree.scss @@ -248,20 +248,14 @@ } // TRANSITIONS -.slide-left, -.slide-right { - animation-duration: 500ms; - animation-iteration-count: 1; - transition: all; - transition-timing-function: ease-in-out; -} +.children-enter-active { + &.down { + animation: animSlideLeft 500ms; + } -.slide-left { - animation-name: animSlideLeft; -} - -.slide-right { - animation-name: animSlideRight; + &.up { + animation: animSlideRight 500ms; + } } @keyframes animSlideLeft { diff --git a/src/ui/layout/mct-tree.vue b/src/ui/layout/mct-tree.vue index f22d224078..a466c7c05d 100644 --- a/src/ui/layout/mct-tree.vue +++ b/src/ui/layout/mct-tree.vue @@ -13,8 +13,17 @@ /> + +
  • + Searching... +
  • + +
    No results found @@ -48,14 +57,16 @@
    +