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
5ab26df4c9
[Scripts] Add script to run karma continuously
...
Add a script (to be executed with `npm run-script watch`) that
runs karma and watches for changes; rerunning tests whenever a
file is changed. Useful for local development.
2015-08-06 15:04:05 -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
Victor Woeltjen
7ded288154
Merge pull request #63 from nasa/open21-diagrams
...
[Documentation] Add architecture documentation
2015-08-06 14:24:04 -07:00
Victor Woeltjen
3e94eba0d1
Merge pull request #62 from nasa/bigger-create-clicktarget
...
[Template] Move ng-click to parent node
2015-08-06 13:21:10 -07:00
Victor Woeltjen
ddae7823f9
[Documentation] Satisfy JSLint
...
MissionControl/vista#21
2015-08-06 13:02:33 -07:00
Victor Woeltjen
633c00f161
[Documentation] Minor cleanup
...
Minor cleanup around placeholder sections of
documentation, MissionControl/vista#21
2015-08-06 11:53:04 -07:00
Victor Woeltjen
be5253b9d3
[Documentation] Update doc build/deployer
...
MissionControl/vista#21
2015-08-06 11:46:50 -07:00
Victor Woeltjen
320be34798
[Documentation] Add clarifying comments
...
Add clarifying comments to doc generator,
MissionControl/vista#21 .
2015-08-06 11:44:28 -07:00
Victor Woeltjen
3dace28eb3
[Documentation] Finish platform architecture
...
MissionControl/vista#21
2015-08-06 11:39:01 -07:00
Victor Woeltjen
19db1c9c2b
[Documentation] Add narrative about tiers
...
MissionControl/vista#21
2015-08-06 11:12:02 -07:00
Victor Woeltjen
935360e2eb
[Documentation] Document remaining services
...
MissionControl/vista#21
2015-08-06 11:02:12 -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
Victor Woeltjen
4c8d07bba8
[Documentation] Telemetry service architecture
...
MissionControl/vista#21
2015-08-05 17:24:36 -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
Victor Woeltjen
096dce1fe0
[Documentation] Clarify terminology
...
MissionControl/vista#21
2015-08-05 16:35:58 -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
4533262b4a
Merge branch 'searchservice' of https://github.com/slhale/openmctweb into searchservice
2015-08-05 10:20:14 -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
3f2a23c93b
[Search] Worker test correction
...
Removed unused parameter. Made path to worker
not relative.
2015-08-05 10:15:21 -07:00
Victor Woeltjen
96f738b6b6
[Documentation] Diagram service infrastructure
...
MissionControl/vista#21
2015-08-04 17:10:04 -07:00
Victor Woeltjen
3c325b8870
[Documentation] Add more high-level platform information
...
MissionControl/vista#21
2015-08-04 16:55:29 -07:00
Victor Woeltjen
0bf510ca08
[Documentation] Add more useful patterns
...
MissionControl/vista#21
2015-08-04 16:31:01 -07:00
Victor Woeltjen
fc0c902886
[Documentation] More service infrastructure
...
MissionControl/vista#21
2015-08-04 16:11:13 -07:00
Victor Woeltjen
f8dd69bbfa
[Documentation] Complete framework arch
...
MissionControl/vista#21
2015-08-04 14:55:52 -07:00
Victor Woeltjen
926ee14546
[Documentation] Add composite services notes
...
MissionControl/vista#21
2015-08-04 14:23:23 -07:00
Victor Woeltjen
aea286779e
[Documentation] Add custom renderer
...
MissionControl/vista#21
2015-08-04 13:37:45 -07:00
Victor Woeltjen
55d52d060a
[Documentation] Switch to marked
...
Switch markdown generator to something more up-to-date,
MissionControl/vista#21 .
2015-08-04 13:20:19 -07:00
slhale
d23f4de36a
[Search] Cleanup
...
Variable names, and unused parameters.
2015-08-04 13:16:29 -07:00
Victor Woeltjen
503bae661c
[Documentation] Add more description to framework
...
MissionControl/vista#21
2015-08-04 13:15:19 -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