Commit Graph

12 Commits

Author SHA1 Message Date
Victor Woeltjen
6de973c11e [Layout] Add JSDoc to new scripts
Add in-line documentation to new scripts introduced to
support the transitioned Layout view, WTD-535.
2014-12-05 18:01:38 -08:00
Victor Woeltjen
874efa40ea [Layout] Avoid infinite digest error
Perform initial population of scope in mct-representation
at link time, instead of waiting for watches to be fired;
this avoids the need for extra digest iterations, which
Angular detects as indicators of infinite loops (throwing
exceptions accordingly.) Fixed in the context of supporting
transition of editable Layouts, because these errors were
being thrown upon exiting Edit mode. WTD-535.
2014-12-05 15:22:14 -08:00
Victor Woeltjen
67b9af54b3 [Layout] Add notion of representers
Add representers as a category of extension; these are extra
steps to perform when representing a domain object. This
will be used to support automatic mutation/persistence of
domain objects from a watch, while avoiding bloat within
the mct-representation directive itself. This, in turn,
simplifies the persistence strategy to be employed by
Layout views when editing concludes. WTD-535.
2014-12-05 09:46:21 -08:00
Victor Woeltjen
e04b9828ea [Forms] Use ng-model for tree state
Use ng-model when communicating state to/from the
tree in browse mode. This will simplify implementation
of the Locator control, which also uses a tree, but
which should not set navigation state. WTD-593.
2014-12-03 13:18:51 -08:00
Victor Woeltjen
f89402132b [Representation] Add JSDoc
Add in-line documentation for the representation component,
WTD-521.
2014-11-23 15:28:46 -08:00
Victor Woeltjen
2e0178ffa9 [Representation] Update documentation
Update documentation of the representation component,
WTD-521.
2014-11-22 13:02:51 -08:00
Victor Woeltjen
26cb03c555 [Representation] Spec for gesture provider
Add spec for GestureProvider, introduced to separate out the
attachment of gestures from the creation of representations.
WTD-521.
2014-11-22 11:52:24 -08:00
Victor Woeltjen
83093f8e6f [Representation] Spec for mct-representation
Add spec for the mct-representation; separate out gesture
attachment to improve testability and increase cohesion.
Part of ongoing initial authorship of representation
component, WTD-521.
2014-11-22 11:35:57 -08:00
Victor Woeltjen
066accc0f2 [Representation] Spec for DropGesture
Add spec for the drop gesture, as attached to a
representation of a domain object. WTD-521.
2014-11-22 10:52:04 -08:00
Victor Woeltjen
929e501408 [Representation] Spec for DragGesture
Add spec for the drag gesture, as attached to a
representation of a domain object. WTD-521.
2014-11-22 10:26:44 -08:00
Victor Woeltjen
f5ce0e844f [Representation] Spec ContextMenuGesture
Add spec for ContextMenuGesture, which exposes a menu
of applicable actions for objects when it is performed.
One of the built-in gestures supported by the
representation component, WTD-521.
2014-11-22 10:11:06 -08:00
Victor Woeltjen
5f43c40afe [Representation] Initial representation bundle
Initial transition of bundle platform/representation
from sandbox branch. WTD-521.
2014-11-22 09:29:41 -08:00