Commit Graph

357 Commits

Author SHA1 Message Date
Victor Woeltjen
e953e5b4b4 [Scrolling] Fill in specs
Fill in specs for ScrollingListController, and for
the specific Column types that support it. Separate
out the code that produces actual rows in order to
improve testability and maintainability. WTD-534.
2014-12-02 15:59:09 -08:00
Victor Woeltjen
c0a34149ca [Scrolling] Add empty tests
Add empty tests for scripts associated with the scrolling
list view. WTD-534.
2014-12-02 15:25:23 -08:00
Victor Woeltjen
4905e68ad2 [Scrolling] Include scrolling lists in bundles
Include the scrolling list view in the set of active
plug-ins. WTD-534.
2014-12-02 15:21:46 -08:00
Victor Woeltjen
e711073cb5 [Scrolling] Add JSDoc, clean up
Clean up scripts for Scrolling List view and add
some JSDoc. WTD-534.
2014-12-02 15:21:26 -08:00
Victor Woeltjen
d304cc4343 [Scrolling] Bring in scrolling list view
Bring in scrolling list view from the sandbox branch
in preparation for clean up, testing, and integration
to complete transition of scrolling list views,
WTD-534.
2014-12-02 14:51:48 -08:00
Victor Woeltjen
622f1f8be7 [Plot] Add JSDoc
Add inline comments to Plot scripts. WTD-533.
2014-12-02 14:40:11 -08:00
Victor Woeltjen
870172ec6f [Plot] Complete specs for plot
Complete specs for transitioned plot view, WTD-533.
2014-12-02 11:08:21 -08:00
Victor Woeltjen
2f475fc17a [Plot] Fill in specs
Fill in specs for elements used by the PlotController
in order to improve coverage of the plot bundle.
WTD-533.
2014-12-02 10:11:46 -08:00
Victor Woeltjen
ae05ed903b [Plot] Add skeleton specs
Add skeleton specs for remaining plot scripts.
WTD-533.
2014-12-01 19:45:23 -08:00
Victor Woeltjen
86711735b7 [Plot] Organize plot elements
Place elements of the PlotController into a separate
directory inside of the source folder for the plot
plug-in, in preparation for review and integration.
Part of ongoing plot transition to Angular, WTD-533.
2014-12-01 18:21:51 -08:00
Victor Woeltjen
ad802e674e [Plot] Spec for PlotController
Fill in spec for PlotController, which is the primary
handler of logic associated with plot views, transitioned
for WTD-533.
2014-12-01 18:13:03 -08:00
Victor Woeltjen
c9300e8611 [Plot] Initial spec for PlotController
Add initial spec for PlotController, the main controller
to support the plot view. WTD-533.
2014-12-01 16:44:16 -08:00
Victor Woeltjen
e1298db760 [Plot] Separate out plot axis
Separate plot axis (as prepared for the plot's
Angular template) into its own script. WTD-533
2014-12-01 16:35:38 -08:00
Victor Woeltjen
bb708e9a05 [Plot] Separate out formatter
Separate out plot label formatter to simplify PlotController,
to simplify test and maintenance. WTD-533
2014-12-01 15:28:20 -08:00
Victor Woeltjen
5bfa9c76a7 [Plot] Separate out positioning
Separate out pixel-to-plot-coordinate conversion into its
own script, to simplify PlotController for testing and
maintainability. WTD-533.
2014-12-01 14:14:31 -08:00
Victor Woeltjen
1b4286344d [Plot] Separate out pan/zoom stack
Create a separate script/class for the pan-zoom stack,
to simplify PlotController for testability and
maintainability. WTD-533.
2014-12-01 13:48:38 -08:00
Victor Woeltjen
ac00c52589 [Plot] Rename plot preparer
Rename the script used to prepare plot data for
rendering. WTD-533.
2014-12-01 13:27:30 -08:00
Victor Woeltjen
14d152102b [Plot] Include plot as an active bundle
Include the Plot view among active bundles, as well as
the sine wave generator from the example bundles to
support development. WTD-533.
2014-12-01 13:26:01 -08:00
Victor Woeltjen
f3b83e0db7 [Plot] Icons for plot controls
Add icons for plot pan/zoom controls, to step
back through or undo pan/zoom states. WTD-533.
2014-12-01 13:04:24 -08:00
Victor Woeltjen
3909ddcd14 [Plot] Add sine wave generator example
Add sine wave generator as an example of a domain object which
exposes telemetry, to support transition of the Plot view.
WTD-533.
2014-12-01 10:24:38 -08:00
Victor Woeltjen
7836fe5fbb [Plot] Make PlotPalette constructor-like
Make PlotPalette look like a constructor, in order
to remain consistent with code style guidelines.
WTD-533.
2014-12-01 10:16:59 -08:00
Victor Woeltjen
8cb3ce4fd9 [Plot] Rename GLPlot to GLChart
Rename the GLPlot script (which handles drawing
of lines/boxes to canvas elements) to GLChart,
to distinguish it from the broader plot view.
WTD-533.
2014-12-01 10:12:07 -08:00
Victor Woeltjen
b556b5e4f2 [Plot] Bring in scripts from sandbox branch
Bring in scripts for plotting from the sandbox
branch to begin transitioning/integrating plot
view. WTD-533.
2014-12-01 09:41:39 -08:00
Victor Woeltjen
55c2d15cdc [Telemetry] Add JSDoc
Add JSDoc and in-line comments to scripts in the
platform/telemetry bundle, for WTD-575.
2014-11-28 20:59:41 -08:00
Victor Woeltjen
f8a0544435 [Telemetry] Add specs
Add specs for scripts in bundle platform/telemetry,
for WTD-575.
2014-11-28 20:29:30 -08:00
Victor Woeltjen
4fcb59e181 [Telemetry] Remove unused scripts
Remove unused scripts from the platform/telemetry
bundle in preparation for integration. WTD-575.
2014-11-28 18:41:38 -08:00
Victor Woeltjen
052f07f725 [Telemetry] Code style
Fix code style, remove Promise from globals where
unused. Part of ongoing preparation of platform/telemetry
bundle for integration, WTD-575.
2014-11-28 18:39:19 -08:00
Victor Woeltjen
51de44a3e5 [Telemetry] Bring in telemetry bundle
Bring in initial state for the platform/telemetry
bundle, which provides general-purpose telemetry
conventions and infrastructure to support creating
domain objects which expose telemetry data.
WTD-575.
2014-11-28 16:06:54 -08:00
Victor Woeltjen
3a7f35487d [Forms] Add usage documentation
Add documentation for using the mct-form directive
introduced for WTD-530.
2014-11-28 15:58:19 -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
29c5a7aaba [Forms] Add skeleton specs
Add skeleton specs for scripts from the Forms
component. WTD-530.
2014-11-28 14:40:35 -08:00
Victor Woeltjen
b60a5ae7c1 [Forms] Remove example forms bundle
Remove example forms bundle from the list of active
bundles, so that its route does not interfere with
the routes provided by Browse and Edit mode in the
running application. WTD-530.
2014-11-28 14:39:54 -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
7f59175313 [Forms] Remove unused templates
Remove unused templates (these have been reorganized
into the controls directory.) WTD-530
2014-11-28 14:18:36 -08:00
Victor Woeltjen
21f809645d [Forms] Add Forms example
Add example showing the use of generated forms, WTD-530.
2014-11-28 14:12:20 -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
bc3d1270d2 [Forms] Simplify select model value
Simplify select control's interaction with the model;
only store the value associated with the option, not
the name (which is just displayed for the user.)

WTD-530.
2014-11-26 13:23:30 -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
ede3e4f31e [Forms] Add validation classes
Add classes for required, valid, and invalid, based on
form state and on arguments passed into the form.
WTD-530.
2014-11-26 13:15:12 -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
Victor Woeltjen
0bacc03e58 [Common UI] Fix FullscreenActionSpec
Fix FullscreenActionSpec such that it will execute on
command line; the global screenfull dependency behaves
differently during attempts to spy on methods from
the command line build, so replace it entirely.

Concludes work on WTD-574 in preparation to submit for
review.
2014-11-25 23:08:47 -08:00
Victor Woeltjen
b0cb8a8455 [Common UI] Fix Save/Cancel quirk
Fix a defect in the Save/Cancel buttons in Edit mode
that was causing the first click to be missed; this
was due to Angular's inability to detect when a
native promise (as opposed to one from ) had been
resolved.

Since the Editor capability is introduced indirectly
and is a few degrees of separation removed from
the declared extension layer (where we would be able
to get a reference to ), and all we need to do is
make something look Promise-like, a convenience
function to do this is added.

Part of ongoing transition of common user interface
elements, WTD-574.
2014-11-25 22:58:34 -08:00
Victor Woeltjen
52ec1aeb89 [Common UI] Complete remaining specs
Complete remaining specs to achieve full test coverage
for common user interface bundles being transitioned
as part of WTD-574.
2014-11-25 22:48:12 -08:00
Victor Woeltjen
3aa551c4ea [Common UI] Fill in CreationService spec
Fill in specs for CreationService, which supports the
Create action, which, in turn, is included to support
the Create button in Browse mode. Part of the transition
of common user interface elements for WTD-574.
2014-11-25 22:35:30 -08:00