Pete Richards
c118234bbf
[Style] Brace after if criteria
2015-08-19 13:55:02 -07:00
Pete Richards
a94763041e
[Move] correct logic and specification
2015-08-19 13:16:36 -07:00
slhale
ffd80ed42b
[Treeview] Style
...
Changed indentation in the html
2015-08-19 13:12:37 -07:00
slhale
8dad6a3fd5
Merge browse files from branch 'mobile' into open72
2015-08-19 13:04:11 -07:00
Pete Richards
26892e7104
[Location] isLink/isOriginal are antonyms
...
Simplify implementation of isLink/isOriginal for better maintainability.
2015-08-19 11:49:45 -07:00
Pete Richards
5c74365f4b
[Root] Root model provider sets location
...
Root model provider sets the location of roods so that the location
capability does not need special handling for this.
2015-08-19 11:49:03 -07:00
Pete Richards
94854e5965
[Location] can retrieve contextual location
...
Clarify naming of method for retrieving contextual location of a domain
object.
Default behavior for objects that do not have a context is to return
undefined. Note that default behavior is not specified and could change
if needed.
2015-08-19 11:33:45 -07:00
Pete Richards
9cf30f4213
[Location] setPrimaryLocation takes location.
...
Rename "persistLocation" to be more clearly named, and make it take an
argument to allow for greater control outside the capability.
2015-08-19 11:25:41 -07:00
Pete Richards
eb776e69c0
[JSDoc] Document LocationCapability constructor
2015-08-19 11:13:24 -07:00
Victor Woeltjen
f6cf4c3215
[Code Style] Fix error in persistence
...
Fix typo in persistence provider for ElasticSearch related
to refactoring to use prototypes, WTD-1482.
2015-08-17 17:00:21 -07:00
Victor Woeltjen
86f0a9100f
[Code Style] Fix merge error
...
Fix merge error in ContextMenuAction which caused
test failure. WTD-1482.
2015-08-17 16:57:46 -07:00
Charles Hacskaylo
f4b87cf70d
[Project source] Updated icomoon.io symbols font project file
2015-08-17 15:47:28 -07:00
Charles Hacskaylo
366ec3d516
[Frontend] Styles for tabular views and view sections
...
Original issue: https://github.jpl.nasa.gov/MissionControl/vista/issues/30
New CSS and symbols to support tabular views;
Required by JPL branch vista30 (https://github.jpl.nasa.gov/MissionControl/vista/tree/vista30 )
2015-08-17 15:11:27 -07:00
Victor Woeltjen
f4ae86eb53
Merge remote-tracking branch 'github/master' into open1482c
...
Conflicts:
platform/representation/src/actions/ContextMenuAction.js
2015-08-17 15:05:34 -07:00
Pete Richards
9ab06cfdd2
Merge remote-tracking branch 'github-open/open1506' into open-master
2015-08-17 11:48:23 -07:00
Victor Woeltjen
4481c44c4b
[Code Style] Refactor search to use prototypes
...
WTD-1482.
2015-08-17 11:20:23 -07:00
Victor Woeltjen
bf417a14e0
Merge remote-tracking branch 'origin/open-master' into open1482c
...
Merge latest into topic branch for WTD-1482
2015-08-17 11:01:39 -07:00
Victor Woeltjen
83fce6ad77
[Search] Remove unused dependency
...
Remove unused dependency from generic search worker,
avoids WTD-1511.
2015-08-17 10:45:02 -07:00
Victor Woeltjen
2ccca016a5
[Code Style] Use prototypes in telemetry bundle
...
WTD-1482
2015-08-14 16:55:17 -07:00
Victor Woeltjen
1ea6f7620e
[Code Style] Begin refactoring telemetry bundle
...
Begin refactoring telemetry bundle to use prototype
for methods, WTD-1482.
2015-08-14 16:14:15 -07:00
Victor Woeltjen
365134b085
[Code Style] Use prototypes in representation bundle
...
WTD-1482
2015-08-14 16:13:46 -07:00
Victor Woeltjen
07a2065c11
[Code Style] Use prototypes in policy bundle
...
WTD-1482.
2015-08-14 15:49:47 -07:00
Victor Woeltjen
f8cb3f464c
[Code Style] Use prototypes in persistence queue
...
WTD-1482
2015-08-14 15:43:37 -07:00
Victor Woeltjen
3e8ea972c2
[Code Style] Use prototypes in persistence bundles
...
WTD-1482
2015-08-14 15:26:24 -07:00
Victor Woeltjen
edca2a9f03
[Code Style] Use prototypes in framework layer
...
WTD-1482
2015-08-14 14:50:48 -07:00
Victor Woeltjen
7fe866060b
[Code Style] Use prototypes in forms bundle
...
WTD-1482.
2015-08-14 13:44:08 -07:00
Victor Woeltjen
1c187c3914
[Code Style] Begin refactoring forms bundle
...
WTD-1482
2015-08-13 14:44:27 -07:00
Victor Woeltjen
6302eee17e
[Code Style] Use prototypes in Scrolling List bundle
...
WTD-1482.
2015-08-13 12:35:48 -07:00
Victor Woeltjen
820c15d74c
[Code Style] Use prototypes in Plot bundle
...
WTD-1482.
2015-08-13 12:12:15 -07:00
Victor Woeltjen
aefad6fdd3
[Code Style] Continue refactor of Plot bundle
...
Continue refactoring Plot bundle to use prototypes,
WTD-1482
2015-08-13 10:26:04 -07:00
Victor Woeltjen
18bc7d3637
[Code Style] Begin using prototypes in Plot bundle
...
WTD-1482
2015-08-12 14:49:03 -07:00
Victor Woeltjen
175490e1f7
[Code Style] Use prototypes in Web Page bundle
...
WTD-1482
2015-08-12 14:32:05 -07:00
Victor Woeltjen
3492cd3942
[Code Style] Fix bug introduced by refactor
...
Do some extra checking, since capabilities may have
properties which are note methods. WTD-1482.
2015-08-12 13:57:17 -07:00
Victor Woeltjen
ed53808556
[Code Style] Use prototypes in Layout bundle
...
WTD-1482
2015-08-12 13:45:48 -07:00
slhale
94531a39d0
Merge branch 'master' of https://github.com/nasa/openmctweb into searchservice
2015-08-12 13:17:17 -07:00
slhale
cab675c8ca
[Search] Timeout length & indexed check
...
Changed timeout to 0 ms. Changed check for
already indexed to an empty return.
2015-08-12 10:57:37 -07:00
Victor Woeltjen
a9e2d48036
[Code Style] Use prototypes in Imagery bundle
...
WTD-1482
2015-08-12 09:57:05 -07:00
slhale
0520f1c70c
[Search] Update tests
...
Test creation of the generic search provider
provides mock timeout argument. Slight change to
tree indexing test due to use of useCapability
function.
2015-08-12 09:53:23 -07:00
slhale
3b62f1a979
[Search] Break up item indexing
...
Use timeouts to make the generic search's item
indexing not block up the page.
2015-08-12 09:42:21 -07:00
Victor Woeltjen
d701567b70
[Code Style] Use prototypes for Events bundle
...
WTD-1482
2015-08-11 16:01:16 -07:00
Victor Woeltjen
7911909c5f
[Code Style] Use prototypes for execution bundle
...
WTD-1482.
2015-08-11 15:02:52 -07:00
Victor Woeltjen
b93d752c88
[Code Style] Use prototypes in entanglement bundle
...
WTD-1482
2015-08-11 14:58:31 -07:00
Victor Woeltjen
5e4dcc1e35
[Code Style] Fix typo
...
Fix typo in JSDoc annotation, WTD-1482
2015-08-11 14:53:45 -07:00
slhale
48693df51f
[Search] Input checks
...
More checks to see if the input is empty
before doing search computations.
2015-08-11 13:52:23 -07:00
Victor Woeltjen
c450c22ddd
[Code Style] Satisfy JSLint
...
Add missing semicolons etc. to satisfy JSLint after
changes for WTD-1482.
2015-08-11 13:03:06 -07:00
Victor Woeltjen
b7765ff388
[Code Style] Use prototypes in platform
...
WTD-1482
2015-08-11 12:57:31 -07:00
Victor Woeltjen
f377c7cb71
[Code Style] Use prototypes in containment bundle
...
WTD-1482.
2015-08-11 11:01:13 -07:00
Victor Woeltjen
aa08db1050
[Code Style] Avoid copying window/scope
...
Avoids Angular errors; WTD-1482.
2015-08-11 11:00:56 -07:00
Victor Woeltjen
de291ad3b1
[Code Style] Use prototypes in inspection bundle
...
WTD-1482
2015-08-11 10:00:56 -07:00
Victor Woeltjen
140d767026
[Code Style] Use prototypes in general UI bundle
...
WTD-1482.
2015-08-11 09:47:54 -07:00
Victor Woeltjen
be5cad212a
[Code Style] Use prototypes in Edit bundle
...
WTD-1482.
2015-08-10 16:38:13 -07:00
Victor Woeltjen
efc42aa8f2
[Code Style] Use prototypes in Dialog bundle
...
WTD-1482.
2015-08-10 12:53:55 -07:00
Victor Woeltjen
f8a0ddb484
[Code Style] Avoid retaining reference to window
...
Avoid https://docs.angularjs.org/error/ng/cpws
by changing way reference to is retained.
WTD-1482.
2015-08-10 12:39:56 -07:00
Victor Woeltjen
3a0ba4f5a6
[Framework] Allow prototype-style constructors
...
WTD-1482.
2015-08-10 12:31:44 -07:00
Victor Woeltjen
a77920bd18
[Code Style] Use prototypes in Browse bundle
...
WTD-1482.
2015-08-10 11:52:23 -07:00
Victor Woeltjen
78146d97f8
[Code Style] Use prototypes in About bundle
...
WTD-1482.
2015-08-10 10:19:02 -07:00
Victor Woeltjen
2d5ec97dc3
[Menu] Listen to element directly
...
Add listener to menu element directly instead of
using ng-click to aid in testing (and for consistency
with related listeners.) WTD-1506.
2015-08-07 14:39:59 -07:00
Victor Woeltjen
87aa0cfce2
[Menus] Dismiss menu when clicked
...
Addresses WTD-1506 (context menu does not disappear after
action is chosen); listen for click events on the menu
itself and dismiss the menu when these occur.
2015-08-07 14:34:27 -07:00
Victor Woeltjen
0b9b936368
[JSDoc] Add missing class doc
...
WTD-1482.
2015-08-07 13:35:07 -07:00
Victor Woeltjen
a7a1ac70e5
[JSDoc] Remove obsolete module references
...
WTD-1482.
2015-08-07 12:14:40 -07:00
Victor Woeltjen
31eb366e7f
[JSDoc] Add namespace docs
...
WTD-1482.
2015-08-07 12:13:15 -07:00
Victor Woeltjen
eaaa1a19ca
[JSDoc] Remove obsolete module references
...
WTD-1482
2015-08-07 11:55:38 -07:00
Victor Woeltjen
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
Pete Richards
058a0d393d
[Compatibility] Store reference instead of binding
2015-08-06 16:55:15 -07:00
Pete Richards
b0a23590d4
Revert "[Build] Bump PhantomJS Version"
...
This reverts commit 62f335573a
.
2015-08-06 16:53:42 -07:00
Pete Richards
48a9eef924
Merge branch 'open-master' into open-965
2015-08-06 16:13:37 -07:00
Pete Richards
62f335573a
[Build] Bump PhantomJS Version
...
Bump PhantomJS version to latest (for ES5 support) and upgrade
dependencies as necessary.
2015-08-06 16:04:58 -07:00
Pete Richards
c80e9bfa26
[Style] JSLint Compliance
2015-08-06 15:21:28 -07:00
Pete Richards
ec62c27f36
[Representations] grid-item and label display links
...
grid-item and label representations now use the "location" capability
to determine whether or not to show a link indicator.
2015-08-06 15:12:02 -07:00
Pete Richards
19b80ded16
Merge remote-tracking branch 'origin/open1423' into open-965
2015-08-06 15:10:52 -07:00
Pete Richards
f72f88adfa
[Location] Use parent id as location
...
Use the parent id as the location for a model.
This greatly reduces the recursive work that must be done
during move operations to keep the location accurate.
Additionally, the locationService now implements a method
`persistLocation` which can be used to persist the current object
location as it's original location.
2015-08-06 15:05:47 -07:00
Pete Richards
f083d019a3
[Entanglement] Move service recursively updates locations
...
When moving an object that supports composition, child objects which
are originals must have their location updated as well. Children which
are links should not have their location updated, nor should any of
their children be updated.
2015-08-06 15:05:47 -07:00
Pete Richards
10ec30ba76
[Entanglement] MoveService updates the location of moved objects
...
The move service updates the location of moved objects when those
objects are originals.
2015-08-06 15:05:46 -07:00
Pete Richards
3fb4296d23
[Testing] MockLinkService returns linked object
...
MockLinkService.perform returns a promise for the linked domainObject.
When resolving the promise and not specifying an object to resolve it
with, it will resolve it with the domainObject that was originally
passed to it.
2015-08-06 15:05:46 -07:00
Pete Richards
197ec0eb2c
[Tests] Update Link Service Tests
2015-08-06 15:05:42 -07:00
Pete Richards
1d162888dd
[Tests] Fix location capability tests
2015-08-06 15:05:00 -07:00
Pete Richards
3783ed69d7
[Entanglement] Move updates location of originals
...
When moving original objects, the location is updated to match the new
location.
2015-08-06 15:03:08 -07:00
Pete Richards
4a755e259f
[Entanglement] Link service returns object in new context
...
The link service return the object in the new context.
2015-08-06 14:55:50 -07:00
Pete Richards
4c56e4ffdc
[Test] add a synchronous controlled promise for testing
...
Add ControlledPromise, a synchronous promise that can be controlled,
allowing for easier testing of promise resolution flow.
2015-08-06 14:53:59 -07:00
slhale
7cad3ba0bc
[Search] Update tests
...
Updated generic provider test for more general
mock capability object.
2015-08-06 14:52:54 -07:00
Pete Richards
449db4f3a9
[Templates] Add stubs for link indicator
...
Update templates to use the location capability to show an indicator.
2015-08-06 14:52:42 -07:00
slhale
168a805e8e
[Search] Index checks for changes
...
When indexing items initially, the generic
provider listens for mutations in case an
item's composition changes, so it can then
index the new children.
2015-08-06 14:41:47 -07:00
slhale
a2eabc1b08
[Search] Infinite cycle check
...
in indexItems in the generic provider.
2015-08-06 10:25:02 -07:00
slhale
f76f6548a5
[Search] Type checking
...
Added type checking for arrays to indexItems.
2015-08-06 10:13:32 -07:00
slhale
836c508698
[Search] Style compliance
2015-08-06 09:55:08 -07:00
slhale
1fe492cc3d
[Search] New item indexer
...
This one (hopefully) doesn't fill up the
call stack when there are lots of items.
2015-08-06 09:51:09 -07:00
Pete Richards
37cd73c6e8
[Template] Move ng-click to parent node
...
Move the ng-click directive to the li element to match the element that receives
hover styles.
Fixes nasa/openmctweb#60 .
2015-08-05 17:11:30 -07:00
slhale
ae763d000c
[Search] Remove ES provider from bundle
...
Removed the ElasticSearch search provider from its
bundle definition, but left its file in.
2015-08-05 12:23:40 -07:00
slhale
6a0bd10d5b
[Search] Worker test correction
...
Removed unused parameter. Made path to worker
not relative.
2015-08-05 10:18:10 -07:00
slhale
d23f4de36a
[Search] Cleanup
...
Variable names, and unused parameters.
2015-08-04 13:16:29 -07:00
slhale
b6c1eadb91
[Search] Generic search roots constant
...
Made a constant for the generic search roots,
rather than depending on roots[].
2015-08-04 11:48:28 -07:00
slhale
56265c2277
[Search] Search aggregator return type
...
The search service returns objects containing
searchResult objects.
2015-08-04 11:39:09 -07:00
larkin
9ea1d24121
[Entanglement] Add LocationCapability
...
DomainObjects with a context capability also gain a LocationCapability.
This capability allows you to determine the location of the current
instance of a domain object, and also provides methods for determining
if the current instance of a domain object is a link, or if it is an
original.
2015-08-04 11:24:50 -07:00
larkin
40e85b718d
[Creation] Store location of new objects
...
The creation service stores the location (the full path) to
the domain object as "model.location"
2015-08-04 11:24:50 -07:00
slhale
bbce5c3154
[Search] Changed array to dictionary
...
for faster lookup times in the search aggregator's
filterDuplicated function.
2015-08-04 11:19:34 -07:00
slhale
c869aaf91a
[Search] Fix file paths
2015-08-04 11:10:49 -07:00
slhale
5b0bf0a0ba
[Search] Moving files
...
Moved the elasticsearch provider to
platform/persistence/elastic. Then moved
the generic provider out of its folder.
2015-08-04 11:05:32 -07:00
slhale
ec87ac7652
[Search] Comments
2015-08-04 10:37:47 -07:00
slhale
8f65c73c8a
[Search] Recompile CSS
...
To make changes to the Sass reflected.
2015-08-04 10:36:46 -07:00
slhale
35316dc31c
[Search] Clean up
...
Removed additional reference to searhc UI, as well
as correct persistence provider.
2015-08-04 10:35:15 -07:00