Commit Graph

411 Commits

Author SHA1 Message Date
Victor Woeltjen
65a0a92133 [Persistence] Add tests, in-line doc to persistence cache
Add tests and in-line documentation for the caching persistence
decorator, transitioned to support performance of taxonomy provided
by the WARP Server Adapter, WTD-644.
2015-01-09 17:25:34 -08:00
Victor Woeltjen
75a0cbe43d [Persistence] Add persistence cache
Add a decorator to handle the caching of objects stored to
and/or read from persistence (bring over from pre-Angular
branch.) Supports the WARP Telemetry Adapter; the absence
of such a cache has been observed to result in significant
latency in instantiating autoflow tabular views for packets.
WTD-644.

Also, include an empty test file to ensure that the added
decorator is included in code coverage estimation (and to
provide a location for tests to be written later.)
2015-01-09 17:25:25 -08:00
Victor Woeltjen
22d2be8942 [Views] Allow types to restrict views
Allow type definitions to restrict views; this specifically
supports the restriction of autoflow tabular views to packets,
and the omission of scrolling/plot views as applicable to
packets. WTD-644.
2015-01-09 17:23:56 -08:00
Victor Woeltjen
3c37242fda [Telemetry] Don't format non-numeric values
Don't try to format non-numeric values; rather, just echo them back
directly. This is to allow simple printing of strings when received
on a telemetry subscription. Performed in the context of WTD-644
(since the WARP Server returns many such strings.)
2015-01-09 17:23:47 -08:00
Victor Woeltjen
d4fd6824b6 [Telemetry] Expose moment
Expose the moment library for time/date operations.
For use in parsing WARP server messages (WTD-644.)
2015-01-09 17:23:38 -08:00
Victor Woeltjen
731c2b6c21 [Framework] Document extension ordering rules
Add a description of priority-ordering rules (implemented for WTD-590)
to framework documentation.
2015-01-07 17:18:39 -08:00
Victor Woeltjen
64ede1e917 [Framework] Add/update tests for sorting
Add/update framework tests to include the sorting of extensions
by priority, WTD-590.
2015-01-07 17:06:09 -08:00
Victor Woeltjen
9d8885d48f [Framework] Add extension sorter
Add priority ordering to loaded extensions in each category;
this allows control over the resulting order of extensions
acquired and used within the application. WTD-590
2015-01-07 16:39:57 -08:00
bwyu
2bcb6a1a6e Merge remote-tracking branch 'origin/wtd628' into open-master 2015-01-06 13:51:19 -08:00
Victor Woeltjen
13f552ae81 [Views] Warn if view omits key
Warn if a view definition does not include a key,
and prune it from the list of views. This avoids
an underlying cause of WTD-628, which is fixed for
plots specifically in the previous commit but could
recur if other views were to omit keys.
2015-01-06 10:14:38 -08:00
Victor Woeltjen
0ef6c59643 [Plot] Add a key to view definition
Add a value for key to the definition of Plot view;
this avoids defaulting to Plot as a view for all
objects, WTD-628.
2015-01-06 10:03:24 -08:00
bwyu
f8d66dff12 Merge remote-tracking branch 'origin/wtd568' into open-master 2015-01-05 17:49:29 -08:00
bwyu
9981543156 Merge remote-tracking branch 'origin/open614d' into open-master 2015-01-05 11:14:07 -08:00
Victor Woeltjen
cff05adfaa [Framework] Update documentation
Update documentation to include the library-exposing
feature introduced by WTD-568
2015-01-05 09:42:29 -08:00
Victor Woeltjen
32ab324eee [Framework] Update test runner
Update test runner to provide analogous require configuration
behavior, such that scripts which utilize libraries exposed
from bundles via bundle.json can be unit tested appropriately.
Necessary after capabilities added by WTD-568.
2015-01-02 18:18:03 -08:00
Victor Woeltjen
95e299622e [Framework] Expose angular
Expose angular as a dependency which can be included
from AMD-style modules, utilizing the extensions to
the framework layer added to support exposing libraries
from bundles. WTD-568.
2015-01-02 18:04:33 -08:00
Victor Woeltjen
baca4ab4e6 [Framework] Complete RequireJS configurator tests
Complete tests for the RequireJS configurator, used to
expose libraries beyond bundle boundaries (and, related,
to provide shims for non-AMD libraries.) WTD-568.
2015-01-02 17:59:45 -08:00
Victor Woeltjen
96aaea5e58 [Framework] Add RequireJS configurator
Add a configuration step (as part of the resolve phase)
to the framework layer, where bundle-defined paths and shims
are passed to RequireJS configuration. This permits both
the use of non-AMD modules and the exposure of libraries
across bundles. WTD-568.
2015-01-02 17:46:50 -08:00
Charles Hacskaylo
d281bd52de Fixing inadvertant breakage of super-menu
Fixing inadvertant breakage of super-menu
from changes to .pane classes related to split-pane CSS changes
WTD-618
2015-01-02 14:12:22 -08:00
Charles Hacskaylo
f820cd47b6 [Bug] CSS and markup mods
CSS markup and mods to fix issues related to bug WTD-618;
fix is complete and verified in Chrome
2015-01-02 14:11:29 -08:00
Victor Woeltjen
d6f6fa6b6c [Autoflow] Bring in example taxonomy
Bring in example taxonomy and gitignore changes from
topic branch for WTD-614 into open-source-friendly
branch, in preparation to merge.
2014-12-31 13:43:47 -08:00
Victor Woeltjen
ad4c5849c1 [Autoflow] Remove obsolete font file
Remove obsolete font file, unintentionally restored while
cherry-picking from autoflow topic branch. WTD-614.
2014-12-31 13:41:56 -08:00
Victor Woeltjen
cd6e2ff46d [Telemetry] Add JSDoc
Add in-line documentation to scripts and methods that
were changed/introduced to support telemetry subscriptions,
which in turn were introduced to support autoflow
tabular views, WTD-614.
2014-12-31 13:40:16 -08:00
Victor Woeltjen
b51d5762d8 [Common UI] Add JSDoc
Add JSDoc for GetterSetterController, which was added to
support the input filtering control used in autoflow
tabular views, WTD-614.
2014-12-31 13:40:10 -08:00
Victor Woeltjen
0976374e1d [Common UI] Fill in new specs
Complete test coverage for new scripts added to bundle
platform/commonUI/general in suport of autoflow
tabular views, WTD-614. Specifically, these provide a
directive to watch element sizes, and a controller to
help as an intermediary between getter-setter style
ngModels, and plain assignable ones.
2014-12-31 13:40:03 -08:00
Victor Woeltjen
0082b99292 [Telemetry] Fill in new specs
Complete test coverage for new scripts added to bundle
platform/telemetry in support of autoflow tabular views,
WTD-614. Specifically, these implement a telemetrySubscriber
service which can be used to watch for updates to telemetry
values associated with a specific domain object.
2014-12-31 13:39:55 -08:00
Victor Woeltjen
f7e3c9479b [Telemetry] Add skeleton specs
Add empty test scripts for new scripts introduced to
the platform/telemetry bundle in support of
the autoflow tabular view, WTD-614.
2014-12-31 13:39:47 -08:00
Victor Woeltjen
dd1b8f7c2f [Common UI] Add skeleton specs
Add empty test scripts for new scripts introduced to
the platform/commonUI/general bundle in support of
the autoflow tabular view, WTD-614.
2014-12-31 13:39:39 -08:00
Victor Woeltjen
8dd255a06e [Telemetry] Update specs
Update telemetry bundle specs to account for subscription
functionality added to support autoflow tabular views,
WTD-614.
2014-12-31 13:39:23 -08:00
Victor Woeltjen
cc5cfd95a7 [Telemetry] Fix failing spec
Update specs to provide suitable mocks after changes to
TelemetryCapability which support autoflow tabular views,
WTD-614.
2014-12-31 13:39:03 -08:00
Victor Woeltjen
54c075dc88 [Common UI] Reorganize general UI tests
Reorganize folder strucutre for tests in bundle
platform/commonUI/general; source folder structure
has been modified to accommodate additional classes
added to support autoflow tabular views, WTD-614,
so test folder needs to be reorganized accordingly
2014-12-31 13:38:54 -08:00
Victor Woeltjen
112622ab9f [Common UI] Reorganize general UI bundle
Reorganize sources for bundle platform/commonUI/general;
number of classes here has grown as a consequence of
additions for WTD-614 and so an additional layer of
organization is helpful.

Conflicts:
	platform/commonUI/general/bundle.json
	platform/commonUI/general/src/directives/MCTResize.js
2014-12-31 13:38:26 -08:00
Victor Woeltjen
8dfee64dc8 [Telemetry] Add subscriber service
Add a subscriber service to handle subscribing to
whole sets of telemetry elements via delegation;
this exposes TelemetrySubscription via a service
which can be retrieved via dependency injection.
Supports the use of this variety of subscription
for autoflow tabular views, WTD-614.
2014-12-31 13:37:40 -08:00
Victor Woeltjen
3251be2d1c [Autoflow] Add getter-setter controller
Add a utility controller for interacting with
getter-setter style ngModels (similar to ng-model-options
with getterSetter: true, but support for that is not
present in the current version of Angular.) Specifically,
this is used to support the input filter control, which
in turn is used within the autoflow tabular view. WTD-614.
2014-12-31 13:37:28 -08:00
Victor Woeltjen
becc858349 [Telemetry] Stop refreshing on destroy
Stop polling for updates to telemetry data from
TelemetryController when scope is destroyed.
Addresses some performance issues observed in
WTD-614, autoflow tabular views (although this
view doesn't use TelemetryController directly,
the continuing of this polling in the background
can slow down updates when it is showing.)
2014-12-31 13:37:20 -08:00
Victor Woeltjen
34bb2ff51a [Telemetry] Add TelemetrySubscriber
Add TelemetrySubscriber, a helper class to be used
for supporting real-time telemetry. WTD-614.
2014-12-31 13:37:11 -08:00
Victor Woeltjen
8c55a66320 [Telemetry] Add telemetry subscriptions
Add ability to subscribe/unsubscribe to streaming
telemetry updates. This may be more performant than
polling in some circumstances, and appears necessary
for good performance of autoflow tabular views,
WTD-614.
2014-12-31 13:37:03 -08:00
Victor Woeltjen
7db5c0692b [Autoflow] Add SCSS files
Merge in SCSS files and platform markup which supports
autoflow tabular views for WTD-611 into the open-source-friendly
master branch.
2014-12-31 10:43:01 -08:00
Victor Woeltjen
5414c4c2d0 [Telemetry] Update scrolling list specs
Update specs for columns in scrolling list view to reflect
that the formatting of domain/range values for display
has now been moved into a reusable injectable service for
WTD-599.
2014-12-24 12:22:55 -08:00
Victor Woeltjen
78b636dafe [Telemetry] Update plot specs
Update plot specs to reflect refactoring out of formatter
for telemetry values, WTD-599.
2014-12-24 12:17:05 -08:00
Victor Woeltjen
f63038a83f [Telemetry] Move formatter spec
Move spec for formatting of telemetry values from the
plot bundle to the telemetry bundle, to reflect its
exposure as a reusable service exposed by that bundle.
WTD-599.
2014-12-24 11:39:29 -08:00
Victor Woeltjen
1ed67629e6 [Telemetry] Add missing JSDoc
Add missing in-line documentation to ScrollingListPopulator;
noticed in the context of work done for WTD-599,
refactoring of time- and value-formatting for telemetry
into a reusable, injectable service.
2014-12-24 11:33:19 -08:00
Victor Woeltjen
44b16f9dd9 [Telemetry] Use telemetryFormatter in scrolling list
Use the injected telemetryFormatter in scrolling
list views, instead of replicating this functionality.
WTD-599.
2014-12-24 11:23:59 -08:00
Victor Woeltjen
74f2af1011 [Telemetry] Expose telemetryFormatter
Expose telemetryFormatter as a service; additionally, fix
some structural issues to make sure this is passed around
as needed among plot components. WTD-599.
2014-12-24 11:14:38 -08:00
Victor Woeltjen
fc0376296d [Telemetry] Refactor plot to use TelemetryFormatter
Refactor plot view to use an injected telemetry formatter,
instead of explicitly including moment. WTD-599.
2014-12-24 10:59:34 -08:00
Victor Woeltjen
b080f90f64 [Telemetry] Move formatter implementation
Move implementation of formatter used for display
of domain values out of plot, and into the telemetry
bundle, from which it can be exposed as a general-use
service. WTD-599.
2014-12-24 10:34:43 -08:00
Victor Woeltjen
453b853a75 [Telemetry] Add skeleton formatter
Add skeleton for implementation of a formatter for
telemetry data, including reorganizing libraries
such that moment.min.js only occurs once. WTD-599.
2014-12-24 10:28:58 -08:00
bwyu
217b622db7 Merge remote-tracking branch 'origin/wtd627' into open-master 2014-12-19 17:52:13 -08:00
bwyu
51376fb38a Merge remote-tracking branch 'origin/open608' into open-master 2014-12-18 13:25:29 -08:00
Victor Woeltjen
24048024f6 [Browse] Test auto-expand fix
Add a test to verify fix for WTD-627 (specifically, verify
that a node does not auto-expand if a selection is made
in some other subtree.)
2014-12-17 15:41:44 -08:00