Commit Graph

21 Commits

Author SHA1 Message Date
Victor Woeltjen
952f380c33 [Containment] Make ngModel optional
Make the ngModel dependency of mct-control optional, to avoid
breaking mct-control usages which don't also use ng-model.
WTD-962.
2015-04-09 13:10:27 -07:00
Victor Woeltjen
cc0a46d5cc [Containment] Set validity in locator
Set validity of selected location from locator control, to
disallow creation when no valid location is selected (which
is possible due to containment rules.) WTD-962.
2015-04-07 22:30:21 -07:00
Victor Woeltjen
1c69d1f2da [Fixed Position] Add text, image properties
Add buttons for text, image properties to the Fixed Position
toolbar, WTD-881.
2015-02-23 19:16:09 -08:00
Victor Woeltjen
0030efc29e [Forms] Implement DialogButtonController
Implement controller for dialog buttons sufficient to satisfy
spec; these will be used to launch dialogs to collect user input
for Image Properties et al to complete toolbar for Fixed Position
view, WTD-881.
2015-02-23 19:06:09 -08:00
Victor Woeltjen
3e95a96c69 [Forms] Add dialog button spec
Add spec for a button which should show a dialog for
input on a single value, to support Image properties
in Fixed Position view, WTD-881.
2015-02-23 18:52:53 -08:00
Victor Woeltjen
00f85447a2 [Fixed Position] Add color chooser
Add color picker for fill color, WTD-881
2015-02-23 16:47:52 -08:00
Victor Woeltjen
aed6787f2c [Forms] Copy mct-form to mct-toolbar
Copy mct-form template and scripts to use as a basis
for mct-toolbar. WTD-684.
2015-01-15 14:23:01 -08:00
Victor Woeltjen
244583b2f7 [Forms] Separate out FormController
Separate out the controller for mct-form from its
directive definition, to allow reuse by the
mct-toolbar directive, WTD-684.
2015-01-15 14:08:01 -08:00
Victor Woeltjen
75f4daa5c3 [Forms] Add specs, doc for CompositeController
Add spec and in-line documentation for CompositeController,
introduced to support integration of forms with the Create
menu, WTD-593.
2014-12-03 16:19:01 -08:00
Victor Woeltjen
218f732dc2 [Forms] Add CompositeController
Add a controller for composite controls; this is used
to flag contained controls as required when they have
been partially filled in (to treat entering one of two
such fields as invalid.) WTD-593.
2014-12-03 16:07:46 -08:00
Victor Woeltjen
1bfc21270b [Forms] Fill in specs
Fill in specs for scripts which support the mct-form
and mct-control directives. WTD-530.
2014-11-28 15:33:40 -08:00
Victor Woeltjen
a04b30a383 [Forms] Add clarifying comments
Add in-line documentation to directives and
controller used for the Forms component. WTD-530.
2014-11-28 14:36:00 -08:00
Victor Woeltjen
354327accc [Forms] Support patterns
Support patterns for text fields, using the ng-pattern
directive. WTD-530.
2014-11-28 14:08:33 -08:00
Victor Woeltjen
aaa0ff768d [Forms] Get date-time as UNIX timestamp
Get date-time as a UNIX timestamp (in milliseconds
since start of 1970) add the model level for date-time
controls. WTD-530.
2014-11-28 13:35:24 -08:00
Victor Woeltjen
a464fee6df [Forms] Date time controls
Implement date time controls up to the point that
they validate, and information (albeit not the right
information) propagates back up to the containing
form. WTD-530.
2014-11-28 13:15:02 -08:00
Victor Woeltjen
d7c7e2835f [Forms] Let Angular force required rows
Pass along ng-required values such that Angular may
handle tracking of form validity based on the presence
of required fields. WTD-530.
2014-11-26 13:20:07 -08:00
Victor Woeltjen
b31b4770d1 [Forms] Communicate dirty state
Communicate dirty state out of generated forms;
WTD-530.
2014-11-26 13:08:57 -08:00
Victor Woeltjen
77c1b150d9 [Forms] Add more form controls
Add remaining platform form controls; amend mct-form
and mct-control directives to better communicate state.
Begin working on problem of communicating validation
back out of the form. WTD-530.
2014-11-26 12:50:51 -08:00
Victor Woeltjen
658d485ccc [Forms] Initial minimal functionality
Initial minimal working implementation where a
two-way binding between form and form user is
observable.

Notably, change ng-options to options, since
ng-options is terminal (it breaks mct-control).

WTD-530
2014-11-26 10:43:48 -08:00
Victor Woeltjen
9576673b84 [Forms] Add mct-control directive
Add an mct-control directive which can represent
individual form controls. WTD-530.
2014-11-26 08:43:41 -08:00
Victor Woeltjen
695ca5c0cf [Forms] Bring in initial work on forms
Bring in previous work on the forms component; this includes
transitioned versions of specific form elements, and the
mct-form direction which generates these. WTD-530
2014-11-26 08:01:00 -08:00