Commit Graph

200 Commits

Author SHA1 Message Date
Victor Woeltjen
222aa55dd7 [Core] Remove dependency
Remove  dependency from the mutation capability;
it recognizes and handles promises internally, instead.
WTD-931.
2015-03-11 17:38:40 -07:00
Victor Woeltjen
00daa32f56 [Core] Accelerate promises during mutation
Use a fast-promise approach (instead of ) when handling
mutation of domain objects, to ensure that mutation resolves
during the current tick. Needed for drag interactions of
WTD-931.
2015-03-11 17:37:07 -07:00
Charles Hacskaylo
cc181dbdc9 [Frontend] Form and form control enhancements
WTD-1002
Added Angular hooks to allow form elements to have JSON defined CSS classes
Form element cleanups
2015-03-10 22:36:35 -07:00
Victor Woeltjen
e781ead497 [Core] Fix relationship bug
Fix error in relationship capability; return cached
promise for specific relationship. WTD-1007
2015-03-10 15:05:02 -07:00
Victor Woeltjen
66eef8ccc4 [Core] Expose relationship capability
Expose relationship capability in bundle definition,
WTD-1007.
2015-03-10 14:58:01 -07:00
Victor Woeltjen
97fe378751 [Core] Test relationship capability
Test relationship capability, WTD-1007.
2015-03-09 15:22:23 -07:00
Victor Woeltjen
d1ea5726e2 [Core] Add 'relationship' capability
Add a general-purpose capability for typed relationships.
Unlike composition, these do not appear in the tree, but
instead appear only in user interfaces which specifically
look for these typed relationships. WTD-1007.
2015-03-09 15:07:33 -07:00
Victor Woeltjen
e9dbc3d71f [About] Change version text
Change version text to just say Version instead of
Open MCT Web, WTD-829.
2015-02-12 16:51:24 -08:00
bwyu
26cd5b3e24 Merge remote-tracking branch 'origin/open660' into open-master 2015-02-04 16:31:27 -08:00
Victor Woeltjen
310006f832 [Core] Add 'now' service
Add a service to wrap Date.now(), such that this can be injected
(simplifying testing of scripts which need to respond to system
time.) Specifically supports staleness indication, WTD-660.
2015-01-23 14:19:53 -08:00
Victor Woeltjen
8fee134f5c [About] Include branch
Include branch in About dialog when built. WTD-699
2015-01-23 10:43:06 -08:00
Victor Woeltjen
e4def8a3f5 [About] Use timestamp, build number
Use timestamp and build number (as filterable properties) in
the built core bundle. WTD-699.
2015-01-23 10:40:20 -08:00
Victor Woeltjen
145f8c52d0 [About] Inject version during build
Inject version during build, to populate About dialog. WTD-699.
2015-01-22 16:56:38 -08:00
bwyu
7c0cf22b27 Merge remote-tracking branch 'origin/open667' into open-master 2015-01-16 13:50:53 -08:00
Victor Woeltjen
c628d88b3e [About] Implement placeholder dialog
Implement a placeholder for the About dialog, including some
minimal version information. WTD-667.
2015-01-14 12:28:25 -08:00
Victor Woeltjen
b98758daf8 [Persistence] Fix bug in id filtering
Fix bug when filtering out namespaced identifiers when reading
domain object models from persistence; filter operation was
breaking the logic of pairing ids back to loaded models by
index. Corrects behavior introduced to reduce latency when
loading the telemetry hierarchy, part of WARP Server
integration, WTD-644.
2015-01-13 08:44:49 -08:00
Victor Woeltjen
11f6175592 [Persistence] Add in-line documentation
Add clarifying comments to reflect changes to
procedure used for loading models from persistence
introduced in support of reducing latency in loading
domain objects introduced by the WARP Server adapter,
WTD-644.
2015-01-12 09:32:25 -08:00
Victor Woeltjen
782edfc3b7 [WARP Telemetry] Work around platform issues
Work around issues in platform which manifest as bugs or
latency issues when attempting to visualize telemetry
from the WARP Server. Specifically:

* Handle the possibility that there is no matching
  representation for an object from EditRepresenter.
* Don't attempt to look up colon-separated domain object
  identifiers from persistence. This is a workaround to
  avoid latency issues from excessive persistence calls;
  filed WTD-659 to improve this solution.

Changes made to support resolution of WTD-644.
2015-01-09 17:25:55 -08:00
Victor Woeltjen
f9a4ac548c [Views] Add tests for type-view restrictions
Add tests for type-view restrictions added to support
stricter coupling of Packet objects to Autoflow Tabular View,
WTD-644.
2015-01-09 17:25:43 -08:00
Victor Woeltjen
22d2be8942 [Views] Allow types to restrict views
Allow type definitions to restrict views; this specifically
supports the restriction of autoflow tabular views to packets,
and the omission of scrolling/plot views as applicable to
packets. WTD-644.
2015-01-09 17:23:56 -08:00
Victor Woeltjen
13f552ae81 [Views] Warn if view omits key
Warn if a view definition does not include a key,
and prune it from the list of views. This avoids
an underlying cause of WTD-628, which is fixed for
plots specifically in the previous commit but could
recur if other views were to omit keys.
2015-01-06 10:14:38 -08:00
Victor Woeltjen
5faf81e9a5 [Layout] Handle mutation edge case
Fix an edge case in the mutation capability where model
data could be lost during a mutation; this supports
auto-mutate/persist functionality for representations,
which allows Layout editing (transitioned for WTD-535)
to be persisted thereby.
2014-12-06 09:28:46 -08:00
Victor Woeltjen
ba14aeabc6 [Forms] Complete specs
Fill in new specs and amend existing specs to ensure
full coverage after integration of forms component,
and associated changes. WTD-593.
2014-12-03 17:59:37 -08:00
Victor Woeltjen
d54524a96c [Forms] Provide initial property arrays
Provide initial empty arrays for type properties that
are array-like; this is needed to support two-way data
binding for composite controls. Part of ongoing integration
of forms component, WTD-593.
2014-12-03 15:19:23 -08:00
Victor Woeltjen
ccdd1bcd57 [Forms] Adjust Create form formats
Adjust formats used in Create forms to match those used
by the mct-form directive. Integration of forms bundle,
WTD-593.
2014-12-03 12:52:51 -08:00
Victor Woeltjen
d080a67b43 [Core] Workaround require quirk
Work around quirk of require; it does not like to see
the same script twice with and with a .js, so remove
the .js extension from the bundle definition. WTD-573.
2014-11-21 18:48:10 -08:00
Victor Woeltjen
2b27c1cabc [Core] Spec for view provider, capability
Add spec for view provider and capability to complete
test coverage of the transitioned platform/core bundle.
WTD-573.
2014-11-21 18:30:34 -08:00
Victor Woeltjen
84c7f3d71d [Core] Complete specs for type service components
Complete specs for type service components, and supporting
classes. WTD-573.
2014-11-21 18:14:26 -08:00
Victor Woeltjen
b9b164ab31 [Core] Spec for domain objects
Spec for DomainObject and DomainObjectProvider; part of
ongoing test coverage for transition of platform/core
bundle, WTD-573.
2014-11-21 17:51:45 -08:00
Victor Woeltjen
c34c16e51c [Core] Specs for model service components
Fill in specs for model service components, part of
bundle platform/core; WTD-573.
2014-11-21 17:25:58 -08:00
Victor Woeltjen
99f9203e71 [Core] Complete spec for capailities
Complete specs for capabilities introduced in platform/core,
part of ongoing transition of this bundle. WTD-573.
2014-11-21 16:59:03 -08:00
Victor Woeltjen
2b82262775 [Core] Add specs for contextual objects
Add specs for the context capability, and the domain object
wrapper which introduces it. Ongoing transition work for
platform/core, WTD-573.
2014-11-21 16:22:16 -08:00
Victor Woeltjen
e18b4f234f [Core] Add spec for CompositionCapability
Add spec for CompositionCapability; ongoing improvement of
test coverage for WTD-573.
2014-11-21 16:06:50 -08:00
Victor Woeltjen
342832a4bc [Core] Add specs for action support
Add specs for core components for dealing with actions;
part of ongoing platform/core transition, WTD-573.
2014-11-21 13:26:02 -08:00
Victor Woeltjen
41ecb1f8c2 [Core] Add spec for StaticModelProvider
Add spec for StaticModelProvider to increase coverage
in platform/core, for WTD-573.
2014-11-21 11:52:14 -08:00
Victor Woeltjen
9b52843e3f [Core] Update spec for TypeProvider
Update spec for TypeProvider to handle changes to API
for transition of platform/core; WTD-573.
2014-11-21 11:22:28 -08:00
Victor Woeltjen
a797ae8a69 [Core] Add skeleton specs
Add skeleton specs for platform/core, WTD-573.
2014-11-20 16:15:16 -08:00
Victor Woeltjen
a0d5c2d0c3 [Core] Add JSDoc to view provider, capability
Add JSDoc to view-related classes in platform/core.
WTD-573.
2014-11-20 15:42:56 -08:00
Victor Woeltjen
95c3e1cdf4 [Core] Add JSDoc, remove unused files
Add JSDoc and remove unused files from type services
and related files under the platform/core bundle.
WTD-573.
2014-11-20 15:13:05 -08:00
Victor Woeltjen
c10bfa7956 [Core] Add JSDoc for model components
Add JSDoc for components of modelService exposed
by platform/core. Part of ongoing preparation for
review and integration; WTD-573.
2014-11-20 14:55:31 -08:00
Victor Woeltjen
bef49c7999 [Core] Add JSDoc for capabilities
Add JSDoc for remaining core capabilities, to meet
code standards for integration. WTD-573.
2014-11-20 14:34:37 -08:00
Victor Woeltjen
299f78f73f [Core] Add JSDoc to PersistenceCapability
Add JSDoc to PersistenceCapability, to continue
satisfying code standards in preparation for
integration of the platform/core bundle.
WTD-573.
2014-11-20 14:05:13 -08:00
Victor Woeltjen
b9651b45d0 [Core] Add JSDoc for ContextualDomainObject
Add JSDoc for the domain object wrapper used to
expose a 'context' capability; part of
ongoing documentation to meet code standards in
platform/core in preparation for integration.
WTD-573.
2014-11-20 13:56:25 -08:00
Victor Woeltjen
e569249231 [Core] Add JSDoc for ContextCapability
Add JSDoc for the 'context' capability; part of
ongoing documentation to meet code standards in
platform/core in preparation for integration.
WTD-573.
2014-11-20 13:51:29 -08:00
Victor Woeltjen
5a437a7124 [Core] Add JSDoc for action service components
Add JSDoc for remaining action service components
(ActionProvider and LoggingActionDecorator) to
satisfy code standards in the platform/core bundle,
for WTD-573.
2014-11-20 13:37:37 -08:00
Victor Woeltjen
c2f33542ee [Core] Remove unused files
Remove unused files from platform/core in
preparation for integration. WTD-573.
2014-11-20 13:27:03 -08:00
Victor Woeltjen
823f390673 [Core] Add comments to ActionCapability
Add JSDoc comments to ActionCapability to satisfy
code standards in the platform/core bundle, for
WTD-573.
2014-11-20 13:25:09 -08:00
Victor Woeltjen
5dd660035a [Core] Add comments to ActionAggregator
Add JSDoc comments to Action Aggregator to satisfy
code standards in the platform/core bundle, for
WTD-573.
2014-11-20 13:24:55 -08:00
Victor Woeltjen
0fdce798f7 [Core] Bring in core bundle from sandbox
Bring in bundle platform/core from the sandbox
branch, in preparation for clean up, tests, and
integration. WTD-573
2014-11-20 12:58:21 -08:00
Victor Woeltjen
42bc4599b8 [Structure] Add platform structure
Add general structure for Open MCT Web, including
top-level and second-level directory structure.
README files are included to explain the role of
each directory; markdown is used to allow for
richer display when viewer support is present.

WTD-519.
2014-10-27 18:18:50 -07:00