mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 14:32:22 +00:00
409d12aa75
Created a query service which handles the creation of the searchable list of items. This has partially broken the search view.
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "Search View",
|
|
"description": "Allows the user to search through the file tree.",
|
|
"extensions": {
|
|
"views": [
|
|
{
|
|
"key": "search",
|
|
"name": "Search",
|
|
"glyph": "5",
|
|
"description": "Search functionality.",
|
|
"templateUrl": "templates/search.html"
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "SearchController",
|
|
"implementation": "SearchController.js",
|
|
"depends": [ "$scope", "queryService" ]
|
|
}
|
|
],
|
|
"representations": [
|
|
{
|
|
"key": "search-item",
|
|
"templateUrl": "templates/search-item.html",
|
|
"uses": [ "type", "action", "composition" ],
|
|
"gestures": [ "info", "menu" ]
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"key": "queryService",
|
|
"implementation": "QueryService.js",
|
|
"depends": [ "objectService" ]
|
|
}
|
|
]
|
|
}
|
|
} |