2628 Commits

Author SHA1 Message Date
Victor Woeltjen
404327e583 [Representation] Add note about deprecation of ng-model 2015-12-02 15:46:26 -08:00
Victor Woeltjen
e12e0d72da [Representation] Utilize mct-model
Include one utilization of mct-model to verify equivalence
with ng-model (in the context of representations)
2015-12-02 15:41:48 -08:00
Victor Woeltjen
4eb17342f6 [Representation] Ignore unspecified attributes
...when watching or otherwise one-way-binding to attributes.
2015-12-02 15:39:27 -08:00
Victor Woeltjen
e453868994 [Representation] Bind mct-model without aliasing 2015-12-02 15:38:17 -08:00
Victor Woeltjen
a16cb16c31 [Representation] Update JSDoc
...to reflect transition from ng-model to mct-model.
2015-12-02 15:24:21 -08:00
Victor Woeltjen
b5fb2176e9 [Representation] Update specs
...to verify that both mct-model and ng-model are used.
2015-12-02 15:16:45 -08:00
Victor Woeltjen
70e11d66e1 [Representation] Use mct-model instead of ng-model
...to avoid extraneous watches introduced by ng-model.

https://github.com/nasa/openmctweb/issues/313
2015-12-02 14:52:37 -08:00
Victor Woeltjen
a039b9b5fe [Representation] Test OneWayBinder 2015-12-02 14:36:26 -08:00
Victor Woeltjen
5fdffee9a5 [Representation] Add spec for OneWayBinder
...with an initial test case.
2015-12-02 14:22:18 -08:00
Victor Woeltjen
1781e9be32 [Representation] Update spec for mct-representation
...to reflect changes to data binding.
2015-12-02 14:11:39 -08:00
Victor Woeltjen
756e445a80 [Representation] Update spec for mct-include
...to reflect changes to data binding.
2015-12-02 13:58:39 -08:00
Victor Woeltjen
b450d36472 [Representation] Add JSDoc to OneWayBinder 2015-12-02 13:23:46 -08:00
Victor Woeltjen
b5d2949b8f [Representation] Handle anonymous objects
Set objectEquality to true for anonymous objects, such that
they are compared using angular.equals instead of tested for
reference equality. This avoids redundant firing of watches
when values within the anonymous object are unchanged.
2015-12-02 13:14:19 -08:00
Victor Woeltjen
c6eb07a810 [Representation] Remove redundant watches 2015-12-02 13:07:37 -08:00
Victor Woeltjen
63ce7349e3 [Representation] Use OneWayBinder from mct-representation 2015-12-02 13:04:51 -08:00
Victor Woeltjen
add4e22cd3 [Representation] Use OneWayBinder from mct-include 2015-12-02 12:56:01 -08:00
Victor Woeltjen
40bd04f455 [Representation] Add one-way binder
...to handle common one-way binding behavior shared by
both mct-include and mct-representation.
2015-12-02 12:52:13 -08:00
Victor Woeltjen
4fee1ee153 [Representation] Do isolate mct-include's scope
...even though we are not using this to pass any state
from attributes inward.
2015-12-02 12:24:26 -08:00
Victor Woeltjen
cfb6d4ccbf [Representation] Pass attributes one way
Instead of two-way binding attributes, only pass them in
from the parent scope. This permits users of mct-include
to use one-time binding to reduce watch counts (two-way
binding across an isolate scope does not permit this.)

https://github.com/nasa/openmctweb/issues/314
2015-12-02 12:22:37 -08:00
Victor Woeltjen
3fd4304de1 Merge pull request #345 from nasa/open32
[Layout] Layout rebuilds after resize/reposition #32
2015-11-27 09:59:01 -08:00
Henry
db7224486c [Layout] Layout rebuilds after resize/reposition - Fixed potential race condition #32 2015-11-25 19:11:29 -08:00
Henry
6d0f3c7faa [Layout] Layout rebuilds after resize/reposition #32
Refactored layoutPanels method

Fixed JSLint errors

fixed failing tests
2015-11-25 15:30:33 -08:00
Victor Woeltjen
15ec9df538 Merge pull request #327 from nasa/open208b
[Timelines] Bring over CSS
2015-11-23 10:38:02 -08:00
Victor Woeltjen
7974ffdda2 Merge remote-tracking branch 'github/master' into open245b
...in preparation to complete merge nasa/openmctweb#257

Conflicts:
	platform/entanglement/src/actions/CopyAction.js
	platform/entanglement/src/actions/LinkAction.js
	platform/entanglement/src/actions/MoveAction.js
2015-11-21 07:05:51 -08:00
Victor Woeltjen
d5858622ba [Persistence] Fix grammar in JSDoc
...and add some explanation of METHOD_DEFAULTS.
2015-11-21 06:59:12 -08:00
Victor Woeltjen
096fee8b6d Merge remote-tracking branch 'github/master' into open208b
Conflicts:
	platform/commonUI/themes/espresso/res/css/theme-espresso.css
	platform/commonUI/themes/snow/res/css/theme-snow.css
2015-11-21 06:42:45 -08:00
Victor Woeltjen
0635e7c38e [Timeline] Disambiguate datetime control
Timeline uses a custom date-time control on creation;
use a distinct key for this to avoid a naming collision
with platform's datetime. Addresses abnormal behavior
identified in nasa/openmctweb#208
2015-11-20 17:26:43 -08:00
Victor Woeltjen
845b1dcd6f Merge pull request #321 from nasa/open169
Review and integrate open169
2015-11-20 17:13:39 -08:00
Victor Woeltjen
e6c9cbf0cd [Persistence] Clarify JSDoc
Per code review feedback, nasa/openmctweb#257
2015-11-20 17:08:39 -08:00
Charles Hacskaylo
fd3059b380 [Frontend] Final cleanups, tweaks; Refactored s-icon-btn
open #208
Unit tested in both themes;
.s-icon-btn refactored slightly to focus on usage
as an icon-only element, removed overlap designations
with .s-btn in markup;
Colors normalized for theming;
Code cleanup;
2015-11-20 16:47:04 -08:00
Charles Hacskaylo
5a7349117a [Frontend] Cleanups to Timeline tabular label elements
open #208
Colors normalized for theming;
2015-11-20 16:27:26 -08:00
Charles Hacskaylo
50134bbc7f [Frontend] Theming and cleanups in Clocks and Timers
open #208
Also converted timer to use flexbox layout;
2015-11-20 16:19:27 -08:00
Charles Hacskaylo
3854df27d8 [Frontend] Styling on Timeline zoom buttons
open #208
Fixed in both themes;
2015-11-20 15:42:08 -08:00
Charles Hacskaylo
fc53dbd8a4 [Frontend] Themes added to Timelines
open #208
Espresso and Snow now supported; bulk of
work done except for minor cleanups, like zoom
buttons; Dragging not working currently in Timelines;
2015-11-20 15:23:08 -08:00
akhenry
fb0ba0cff9 Merge pull request #323 from nasa/open251
Review and integrate open251
2015-11-20 13:30:24 -08:00
akhenry
573e5608fc Merge pull request #319 from nasa/open-status-tracking
[Status] Add status tracking
2015-11-20 13:18:09 -08:00
Victor Woeltjen
37a7c2b1df Merge pull request #309 from nasa/open308
[Workers] Allow web workers to be shared
2015-11-20 11:40:26 -08:00
Victor Woeltjen
38274728f6 [Workers] Update JSDoc
...per review feedback, nasa/openmctweb#309
2015-11-20 11:12:29 -08:00
Victor Woeltjen
400b992ec3 [Status] Revise API
Change method names, add a getter to status capability;
per code review feedback, nasa/openmctweb#319.
2015-11-20 09:46:08 -08:00
Charles Hacskaylo
de59f191b8 [Frontend] Relocating files
open #208
Moving initial files into new positions, based
on Victor's work in #242;
2015-11-20 09:14:07 -08:00
Charles Hacskaylo
3d3b250536 Merge remote-tracking branch 'github/master' into open208 2015-11-20 08:38:19 -08:00
Charles Hacskaylo
32815d8427 [Frontend] Markup and CSS fixes
open #251
Fixed markup and CSS to remove erroneously
applied "select" class;
Modified .select to not use overflow: hidden;
Better positioning for *-options elements;
2015-11-19 18:50:10 -08:00
Charles Hacskaylo
3e25d17702 [Mobile / Frontend] Modified media query device detection approach
open #169
Significant simplification of media query device detection
to focus on width only; tablet max-width and desktop
min-width modified to create gapless ranges;
2015-11-19 15:16:21 -08:00
Victor Woeltjen
5b9e43f8ff [Status] Test platform/status 2015-11-19 14:22:44 -08:00
Victor Woeltjen
3ffa6f70aa [Status] Add empty specs 2015-11-19 13:47:39 -08:00
Victor Woeltjen
0d07c3c289 [Status] Clean up classes when destroyed 2015-11-19 13:44:06 -08:00
Victor Woeltjen
29fdb6d641 [Status] Add JSDoc 2015-11-19 13:43:18 -08:00
Victor Woeltjen
285c8cbd1e [Status] Add status tracking
Add status tracking for domain objects, and decoration of
representations with status-related classes. Supports WTD-1575
by allowing pending state of taxonomy to be handled by
status tracking and custom CSS, instead of by overriding platform
templates.
2015-11-18 17:22:38 -08:00
Victor Woeltjen
a7f277b0d2 Merge pull request #317 from nasa/open316
[bug] TypeImpl.getInitialmodel should always return a fresh (ie. cloned) model.
2015-11-18 12:21:23 -08:00
Henry
5ced8e655d [bug] #317 Added jsdoc note about performance 2015-11-18 12:14:00 -08:00