Commit Graph

181 Commits

Author SHA1 Message Date
Victor Woeltjen
ecf7f4b235 [Info Bubble] Remove ID
Don't show domain object id in info bubble; this is not
useful information to non-developers. (For developers,
this information can be retrieved from the URL by
navigating to a domain object.) WTD-1252
2015-09-11 16:29:20 -07:00
Victor Woeltjen
f17410a85b [Capabilities] Avoid erroneous logging
Fix logic error which caused an inaccurate warning to
be logged when capabilities are overridden by priority.
Addresses #49.
2015-09-11 11:38:22 -07:00
Victor Woeltjen
17e9e87a2b [Composition] Test composition.add
Add test case to verify the behavior of the add method
of the composition capability.
2015-09-02 11:56:37 -07:00
Victor Woeltjen
b2649de649 [Composition] Update specs
Update specs for changes to the return value of
composition.add, nasa/openmctweb#97
2015-09-02 11:45:52 -07:00
Victor Woeltjen
b1238b0c96 [Composition] Return newly-contextualized object
After adding to composition, return the newly-contextualized
object; this is regularly used by other services.
2015-09-02 11:37:47 -07:00
Victor Woeltjen
ba6e542d08 [Persistence] Load models from multiple spaces 2015-09-02 11:28:15 -07:00
Victor Woeltjen
d3d94d67ea [Composition] Use composition.add from LinkService 2015-09-02 09:16:58 -07:00
Victor Woeltjen
b9d8b124ff [Composition] Use composition.add from link action 2015-09-02 09:08:47 -07:00
Victor Woeltjen
194bc41322 [Composition] Add an add method
Add a method to add new objects to the composition of
another domain object. nasa/openmctweb#97
2015-09-01 17:10:54 -07:00
Shivam Dave
8a5c61e2e6 Merge remote-tracking branch 'upstream/master' into mobile 2015-09-01 14:50:45 -07:00
Victor Woeltjen
c3efb29dfc [Metadata] Fix whitespace 2015-09-01 11:31:42 -07:00
Victor Woeltjen
e4d136d345 [Persistence] Update spec
Update spec for persistence capability to reflect changes for
nasa/openmctweb#92
2015-08-28 15:46:06 -07:00
Victor Woeltjen
620c0415cf [Persistence] Use create from persistence capability
...when an object hasn't been previously persisted. This allows
for compatibility with persistence services which disallow
updates for nonexistent objects (which is not abnomal behavior.)
nasa/openmctweb#92
2015-08-28 15:45:48 -07:00
Shivam Dave
def5e17bb8 [Mobile] Merge
Merged open73 into mobile. Search bar is currently
covering the create button slightly.
2015-08-26 14:07:52 -07:00
Charles Hacskaylo
f80266b23f [Mobile] IN PROGRESS: Styling in forms, overlay and tree
open #74
.section-header and form-row styles changed in forms/_elems.scss;
significant changes to overlay in mobile: full-screen, close button, more;
tree hover bg changed to use rgba(#fff, 0.1);
removed "Hide title by default" in core/bundle.json;
2015-08-26 12:34:45 -07:00
Charles Hacskaylo
07d0706cd1 [Mobile] IN PROGRESS:
open #74
Added name for "base" (unknown) type in core/bundle.json;
Fixes to grid-item .details element:
- ellipsize,
- type now displayed properly;
- number of items with correct plural syntax;
2015-08-25 14:17:34 -07:00
Charles Hacskaylo
5184e08a5b [Mobile] IN PROGRESS: Tweak to TypeImpl to return glyph for unknown types
open #74
Thanks Victor!;
2015-08-24 16:45:55 -07:00
Pete Richards
f1ca9ff15e Merge remote-tracking branch 'origin/open1334' into open1416 2015-08-24 11:55:27 -07:00
Victor Woeltjen
f27e4d6e06 Merge branch 'open-master' into open1482c
Merge in latest in preparation to merge; WTD-1482

Conflicts:
	platform/commonUI/browse/src/creation/CreationService.js
	platform/core/src/models/RootModelProvider.js
	platform/entanglement/src/services/LinkService.js
	platform/entanglement/src/services/MoveService.js
2015-08-19 15:00:52 -07:00
Pete Richards
c118234bbf [Style] Brace after if criteria 2015-08-19 13:55:02 -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
Victor Woeltjen
5e4dcc1e35 [Code Style] Fix typo
Fix typo in JSDoc annotation, WTD-1482
2015-08-11 14:53:45 -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
a77920bd18 [Code Style] Use prototypes in Browse bundle
WTD-1482.
2015-08-10 11:52:23 -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
cb56bbe569 [Documentation] Fix JSDoc syntax errors 2015-07-21 14:30:00 -07:00
Victor Woeltjen
cc470f671a [Core] Test missing model decorator
WTD-1334.
2015-06-30 10:14:26 -07:00
larkin
38ad8058e8 Merge remote-tracking branch 'origin/open1223' into open-1338
Resolve merge conflicts due to whitespace changes.
2015-06-29 12:08:16 -07:00
larkin
e582092844 [Comments] Add missing space 2015-06-26 15:23:22 -07:00
larkin
d729cfcd3e Merge remote-tracking branch 'origin/open1329' into open1343 2015-06-26 15:13:21 -07:00
larkin
ffc2d98914 Merge remote-tracking branch 'origin/open1241' into open-1335 2015-06-25 12:35:19 -07:00
Charles Hacskaylo
14a83e143c [Frontend] New symbols font and CSS adjustments
WTD-980
WTD-396
Minor sanding and shimming;
Updated symbols;
Create super-menu now uses key color;
Removed unused wtdsymbols-v2* font files;
2015-06-24 13:39:31 -07:00
Victor Woeltjen
f2df0bfdbb [Core] Expose 'topic' service
Expose 'topic' services, which supports updating telemetry
subscriptions on mutation for WTD-1329.
2015-06-24 12:53:43 -07:00
Victor Woeltjen
e0f672d40d [Core] Add test case for shared listener
Add test case for sharing listeners across mutation
capability instances, WTD-1329.
2015-06-24 12:12:50 -07:00
Victor Woeltjen
877461c4a4 [Core] Add dependency to mutation
Add the 'topic' dependency to the mutation capability,
WTD-1329.
2015-06-24 12:08:47 -07:00
Victor Woeltjen
1a6d92ee4e [Core] Add topic service
Add topic service to support listeners, such as the
mutation listener added for WTD-1329.
2015-06-24 12:02:40 -07:00
Victor Woeltjen
b30cbb18ec [Core] Add spec for 'topic' service
Add spec for a 'topic' service which will provide
the ability for messaging within a local instance
of an application. WTD-1329.
2015-06-24 10:55:34 -07:00
Victor Woeltjen
c668fa041a [Core] Allow listening for mutation
Allow listeners to register with a domain object's
mutation capability to detect changes to that
domain object. Allows other components to respond
to these changes without resorting to polling on
timestamp or similar. WTD-1329.
2015-06-24 10:20:49 -07:00
Victor Woeltjen
30e51e783e [Core] Add JSDoc
Add JSDoc to decorator which provides missing models,
WTD-1241.
2015-06-23 13:03:17 -07:00
Victor Woeltjen
14fbd64ae4 Merge branch 'open-master' into open1241
Merge latest from master branch into topic branch
for WTD-1241.
2015-06-23 13:00:27 -07:00
Victor Woeltjen
7f7759f72c Merge branch 'open-master' into open1223 2015-06-20 15:36:21 -07:00
Victor Woeltjen
a82fea2166 Merge pull request #5 from nasa/open1202
[Plot] Improve plotting performance
2015-06-19 16:05:18 -07:00
Victor Woeltjen
71ca9803c2 [Core] Obey priority for capabilities
Obey priority for capabilities to allow this to be overridden
for other domain object types, WTD-1223.
2015-06-19 14:40:59 -07:00
Victor Woeltjen
60296b5323 [Core] Add newlines
Add newlines to scripts added to core for WTD-1202.
2015-06-10 17:05:28 -07:00
Victor Woeltjen
e06d11dcb2 [Core] Add throttle service
Add service for throttling function calls; specifically supports
reducing tick mark recalculation, WTD-1202.
2015-06-10 16:53:43 -07:00
Victor Woeltjen
732c0abf10 [Info Bubble] Add newlines
Add newlines to end of files added for WTD-884.
2015-06-10 16:40:22 -07:00
Charles Hacskaylo
d7e43026cd [Merge] Merge in open-master, resolve conflicts in _constants.scss 2015-06-10 14:04:48 -07:00
Victor Woeltjen
40f36541fa [Core] Add missing models
When requested models are missing, add models of an explicitly
unknown type to allow this to be expressed to the user.
WTD-1241.
2015-06-09 10:31:17 -07:00
Victor Woeltjen
90ba93e396 [Info Bubble] Test metadata capability
Test metadata capability, introduced to support info bubbles
for domain objects, WTD-884.
2015-06-04 14:16:23 -07:00
Victor Woeltjen
cae8372d34 [Info Bubble] Include type in common metadata
Include type in common domain object metadata to display
in an info bubble, WTD-884.
2015-06-04 12:34:56 -07:00
Victor Woeltjen
6622ca7031 [Info Bubble] Add common properties to metadata
Expose common properties (like time updated) from the metadata
capability, to appear in the Info bubble. WTD-884.
2015-06-04 12:26:57 -07:00
Victor Woeltjen
cd26d1284e [Info Bubble] Add metadata capability
Add metadata capability, which will be used to populate
contents of an info bubble. WTD-884.
2015-06-04 12:09:50 -07:00
Victor Woeltjen
e452921729 [Core] Revise explicit setting of modified timestamp
Allow undefined as an explicit value for a domain
object's modification timestamp (as set via the
mutation capability.) Avoids a bug in minimal auto-refresh,
being added for WTD-1221.
2015-06-04 09:16:08 -07:00
Victor Woeltjen
10863514cb [Licenses] Add license headers
WTD-1051.
2015-05-13 16:43:30 -07:00
Victor Woeltjen
79f6e8c082 Merge branch 'open1062' into open-master
Merge changes for WTD-1062
2015-04-08 12:48:49 -07:00
Victor Woeltjen
ccf2ccc4c6 [Edit] Add policy for the Edit action
Allow Edit mode only when editable views exist, WTD-1062.
2015-04-01 15:45:43 -07:00
Victor Woeltjen
087cea1445 [Core] Allow actions to have multiple categories
Allow actions to have multiple categories; this will allow
the properties action to be applicable as both a menu option
and a button in the view-control category, WTD-1062.
2015-04-01 15:33:18 -07:00
Victor Woeltjen
79ebe72c6c [Core] Add test cases
Add test cases for model cache to ensure it maintains a single
instance of each model. WTD-1033.
2015-03-25 16:18:24 -07:00
Victor Woeltjen
7e5d363daa [Core] Update models in-place
In model cache, update cached model instances instead of
replacing them; this avoids situations where two different
model instances escape the model service because the second
request was made before the results from the first had been
cached. WTD-1033.
2015-03-25 13:46:40 -07:00
Victor Woeltjen
267053b431 [Core] Add test cases for CachingModelDecorator
WTD-1033.
2015-03-24 17:01:09 -07:00
Victor Woeltjen
6e2ec8dbe7 [Core] Update existing specs
Update existing specs for changes from WTD-1033.
2015-03-24 16:43:50 -07:00
Victor Woeltjen
5867f8ad98 [Core] Update failing specs
Update failing specs in core after changes for WTD-1033.
2015-03-24 16:26:05 -07:00
Victor Woeltjen
c55f9ff092 [Persistence] Add placeholder specs
Add empty specs for new scripts introduced to support revision
checking and Overwrite/Discard dialog, WTD-1033.
2015-03-24 16:13:59 -07:00
Victor Woeltjen
015d863d79 [Persistence] Update test suites
Update suite declarations to include new scripts implemented for
revision checking for domain object persistence, WTD-1033.
2015-03-24 15:59:03 -07:00
Victor Woeltjen
2554f4ab01 [Core] Add model cache
Add a cache for domain object models which prevents unnecessary
reload of those objects. WTD-1033.
2015-03-20 16:26:39 -07:00
Victor Woeltjen
a640af6bf9 [Core] Aggregate models more intelligently
When aggregating models from multiple providers, prefer the
more recent version, based on its modified timestamp. WTD-1033.
2015-03-20 16:13:14 -07:00
Victor Woeltjen
66fd899650 [Core] Update capability interfaces
Update capability interfaces for persistence and mutation to
track timestamps of both changes and persistence calls.
Helps distinguish when refreshes should be allowed, which in
turn will be used to support Overwrite behavior when
Save conflicts are detected. WTD-1033.
2015-03-20 15:20:27 -07:00
Victor Woeltjen
1583c871fd [Core] Allow timestamp specification for mutation
Allow a timestamp to be explicitly passed into the mutation
capability during use, to override system time in certain
cases. WTD-1033.
2015-03-20 15:08:20 -07:00
Victor Woeltjen
1174f746f7 [Persistence] Handle overwrite/cancel
Handle Overwrite/Cancel more correctly when revision conflicts
are detected. WTD-1033.
2015-03-20 14:52:25 -07:00
Victor Woeltjen
717b9b1b92 [Persistence] Add refresh
Continue adding behavior for persistence failures; add a refresh method
to the persistence capability to support this. WTD-1033.
2015-03-20 12:40:58 -07:00
Victor Woeltjen
ab8215cd17 [Context] Communicate root object
Fix logic in determining which object is root, WTD-922.
2015-03-18 10:51:11 -07:00
Victor Woeltjen
c7149437fc [Tree] Show top-level node of tree, except root
Show top-level nodes when instantiating tree views, except for
the Root object. Supports Add dialogs in WTD-922.
2015-03-18 10:44:40 -07:00
Victor Woeltjen
d863c2843c [Tree] Show root for most trees
Modify tree so that it includes its root in most cases, for
WTD-922.
2015-03-18 10:30:36 -07:00
Victor Woeltjen
6e783648d6 [Edit] Hide root object
Act as if the object being edited is the root object when
in Edit mode, except in the Library pane (which has its own
means of getting the real root object.) WTD-922.
2015-03-17 18:11:46 -07:00
bwyu
828f82a3e7 Merge remote-tracking branch 'origin/open931' into open-master 2015-03-17 11:05:45 -07:00
bwyu
d86e27504f Merge remote-tracking branch 'origin/open1007' into open-master 2015-03-16 10:59:29 -07:00
bwyu
8673e2045e Merge remote-tracking branch 'origin/open987' into open-master 2015-03-16 10:28:55 -07:00
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