Commit Graph

778 Commits

Author SHA1 Message Date
Victor Woeltjen
9a88e5172a [Common UI] Expose mct-scroll-x, mct-scroll-y
Expose mct-scroll-x and mct-scroll-y directives. WTD-920.
2015-02-25 16:05:57 -08:00
Victor Woeltjen
f8b352c4d8 [Common UI] Implement mct-scroll-* parent
Implement parent directive for mct-scroll-x, mct-scroll-y.
WTD-920.
2015-02-25 16:01:38 -08:00
Charles Hacskaylo
7d03bc4de9 [Frontend] In-progress checkin: migrating style tags to classes, other
WTD-894
Significant migration of inline styles to CSS classes;
Changed telemetry component so that when title is hidden, telem element can take up 100% of the element width;
Static text elements now show scrollbars on overflow;
Added padding and box-sizing to text elements - this is throwing off the selected control because of the offset and should be fixed;
2015-02-25 15:53:02 -08:00
Victor Woeltjen
f11eced6b9 [Common UI] Add spec for MCT scroll directive parent
Add spec for MCTScroll, which will act as a parent class
for mct-scroll-x and mct-scroll-y directives, WTD-920.
2015-02-25 15:47:30 -08:00
Charles Hacskaylo
a11967ce2e Merging in open-master; resolved conflict in /platform/.../edit-object.html 2015-02-25 13:21:56 -08:00
Victor Woeltjen
f523022a2a [Styles] Merge in style updates
Merge in style updates and split pane updates related
to timeline view into open-source-friendly branch,
WTD-901
2015-02-25 11:25:20 -08:00
Charles Hacskaylo
fa4cfc4961 [Frontend] In-progress checkin:
WTD-894
Added scss file for fixed position styles;
Mods in progress to fixed.html to remove inline styling and change grid method to background gradient approach;
2015-02-25 11:08:52 -08:00
bwyu
a3685d0c6b Merge remote-tracking branch 'origin/open878' into open-master
Conflicts:
	platform/commonUI/edit/res/templates/edit-object.html
2015-02-25 11:02:11 -08:00
Charles Hacskaylo
db87147bbd [Frontend] Normalized buttons in toolbar
WTD-894
Fixed application of CSS styles in HTML templates to format buttons properly;
In-progress...
2015-02-25 09:54:44 -08:00
Victor Woeltjen
52811787ac [Fixed Position] Update FixedController spec
Update FixedController spec to include test for updating
set of elements in configuration based on changes to
composition, WTD-883.
2015-02-24 14:33:11 -08:00
Victor Woeltjen
07fc65ed5b [Fixed Position] Remove old elements
Remove elements from view configuration after they have been
removed from composition, WTD-883.
2015-02-24 14:32:39 -08:00
Victor Woeltjen
6d709a6851 [Fixed Position] Ensure default positions
Ensure all elements in a fixed position view's composition
are shown in view, WTD-883.
2015-02-24 14:15:58 -08:00
Victor Woeltjen
be3a31324d [Fixed Position] Change class based on selection state
Change classes for all non-selected objects when an object is
selected, WTD-882.
2015-02-24 12:13:27 -08:00
Victor Woeltjen
91754f76ad [Fixed Position] Update specs
Update specs for Fixed Position view to ensure code coverage
after changes for resize/reposition behavior, WTD-882.
2015-02-24 12:02:43 -08:00
Victor Woeltjen
e2af1e85a1 [Fixed Position] Add spec for LineHandle
Add tests for handles for positioning end point of lines
in fixed position view, WTD-882.
2015-02-24 11:54:41 -08:00
Victor Woeltjen
6efccc0784 [Fixed Position] Add handles for line end points
Add handles for moving line end points in fixed position view,
WTD-882.
2015-02-24 11:48:46 -08:00
Victor Woeltjen
11360ba46c [Fixed Position] Add comments
Add in-line documentation for WTD-882.
2015-02-24 11:40:11 -08:00
Victor Woeltjen
5ba58ef056 [Fixed Position] Keep elements in view
Prevent elements from being positioned at negative x/y
locations in a fixed position view, WTD-882.
2015-02-24 11:38:46 -08:00
Victor Woeltjen
e56bac777e [Fixed Position] Use FixedDragHandle for moves
Use FixedDragHandle to deal with repositioning, WTD-882.
2015-02-24 11:29:52 -08:00
Victor Woeltjen
c306865d87 [Fixed Position] Update style during resize
Update element style during resize, WTD-882.
2015-02-24 11:22:52 -08:00
Victor Woeltjen
5e3d5fd00f [Fixed Position] Initially implement handles
Initially implement handles for resizing elements in a fixed
position view, WTD-882.
2015-02-24 11:00:36 -08:00
Victor Woeltjen
abad8df135 [Fixed Position] Begin updating controller
Begin updating controller to expose handles for dragging,
resizing elements in fixed position view. WTD-882.
2015-02-24 10:33:36 -08:00
Victor Woeltjen
b871e0da91 [Fixed Position] Update FixedController spec
Update FixedController spec to support updates to template
for selection highlight, drag handles; WTD-882.
2015-02-24 10:12:33 -08:00
Victor Woeltjen
cd6c8afddc [Fixed Position] Add selection/handle markup
Add initial markup for selection highlight, drag handles to
allow position/resize of elements in Fixed Position view,
WTD-882.
2015-02-24 10:06:34 -08:00
Victor Woeltjen
1e76264d82 [Edit] Avoid extra commits
Avoid issuing extra commit calls from the Edit toolbar;
this can cause disruption of state from other views (such
as Fixed Position), WTD-881.
2015-02-24 09:47:00 -08:00
Victor Woeltjen
3d86871c1d [Fixed Position] Cache name/value
Cache name/value for telemetry elements to avoid flashing
after drag gestures, WTD-881.
2015-02-24 09:25:14 -08:00
Victor Woeltjen
59ff539bfb [Fixed Position] Update specs for coverage
Update specs to restore code coverage after changes for WTD-881.
2015-02-24 09:18:00 -08:00
Victor Woeltjen
8452b2ab12 [Fixed Position] Update specs
Update failing specs after changes for WTD-881.
2015-02-24 09:07:57 -08:00
Victor Woeltjen
307fbe2151 [Edit] Update EditToolbar spec
Update EditToolbar spec to reflect changes for WTD-881.
2015-02-23 19:47:56 -08:00
Victor Woeltjen
5ee0f9372b [Fixed Position] Fix appearance of Remove button
Update appearance of Remove button in Fixed Position view
to match UI docs, WTD-881.
2015-02-23 19:27:47 -08:00
Victor Woeltjen
41a013d198 [Fixed Position] Add button to show/hide telemetry name
Add button to show/hide name of telemetry elements in
fixed position view, WTD-881.
2015-02-23 19:25:33 -08: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
0b2cd52433 [Fixed Position] Add image proxy
Add selection proxy for image elements to support image URL
dialog, WTD-881.
2015-02-23 18:28:30 -08:00
Victor Woeltjen
894a5b8f89 [Fixed Position] Add text color property
Add a property to the Fixed Position toolbar to set text
color, WTD-881.
2015-02-23 18:17:24 -08:00
Victor Woeltjen
13793e221e [Fixed Position] Add stroke property
Add stroke property to Fixed Position toolbar for
borders, line color. WTD-881.
2015-02-23 18:05:37 -08:00
Victor Woeltjen
6068f0f9c2 [Forms] Add ColorController spec
Add spec for ColorController, introduced to support color
selection in the Fixed Position toolbar, WTD-881
2015-02-23 17:06:27 -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
6c7dfb878b [Edit] Avoid rebuilding toolbar on edit
Avoid rebuilding the toolbar in Edit mode whenever
any change occurs to avoid losing the binding to the
current selection state; needed for color picker to
work properly for WTD-881.
2015-02-23 15:57:45 -08:00
Victor Woeltjen
f894233182 [Edit] Default to inclusive mode
Default to inclusive mode in Edit mode toolbar;
simplifies adding additional toolbar elements for
Fixed Position view, WTD-881.
2015-02-23 15:13:46 -08:00
bwyu
e2588e27cc Merge remote-tracking branch 'origin/open877' into open-master 2015-02-23 15:08:41 -08:00
Victor Woeltjen
46c8a456b7 [Fixed Position] Begin adding color chooser
Begin adding choice of fill colors for box/text/telemetry
elements in a fixed position view, WTD-881.
2015-02-23 14:52:19 -08:00
Victor Woeltjen
c183f08886 [Edit] Fix state-watching
Repair/simplify state-watching in representer for toolbar
in edit mode; avoids issue where destroy calls detach
watches for state change in toolbar prematurely. WTD-881.
2015-02-23 14:51:17 -08:00
bwyu
343e7aab3e Merge remote-tracking branch 'origin/open889' into open-master 2015-02-23 13:02:36 -08:00
Victor Woeltjen
182d02599d [Fixed Position] Add fill properties
Add 'fill' properties, to allow specifying background
color in Fixed Position view. WTD-881.
2015-02-23 10:48:44 -08:00
Victor Woeltjen
53aabd5743 [Fixed Position] Add ordering control
Add order control for elements in a fixed position view,
WTD-881.
2015-02-23 10:33:27 -08:00
Victor Woeltjen
0de06b0594 [Fixed Position] Specify glyph for Add
Specify glyph for the Add button in the Fixed Position
view's toolbar, WTD-880.
2015-02-20 16:30:00 -08:00
Victor Woeltjen
a2295e8416 [Fixed Position] Add JSDoc
Add clarifying comments to different elements proxies, WTD-880.
2015-02-20 16:26:10 -08:00
Victor Woeltjen
d75f9e51ac [Fixed Position] Add tests for new classes
Add test cases for new classes introduced to support
Add options in the Fixed Position toolbar, WTD-880.
2015-02-20 16:18:19 -08:00
Victor Woeltjen
e50e57b0be [Fixed Position] Add tests for FixedController
Add tests for FixedController and FixedProxy which reflect
added/changed behavior for Add button, WTD-880.
2015-02-20 15:59:22 -08:00
Victor Woeltjen
6814567116 [Fixed Position] Update failing specs
Update existing tests to account for changes from WTD-880.
2015-02-20 15:53:41 -08:00
Victor Woeltjen
84e90f6ad1 [Fixed Position] Select newly-created elements
When elements are added to a fixed position view, select them
immediately. WTD-880.
2015-02-20 15:47:07 -08:00
Victor Woeltjen
668a1e4534 [Fixed Position] Add empty specs
Add empty specs for classes introduced in support of
Add menu options for fixed position view, WTD-880.
2015-02-20 15:29:37 -08:00
Victor Woeltjen
f9043fdb7d [Fixed Position] Allow straight lines
Pad width/height to give enough space to draw straight
lines; fix usage of background for boxes. WTD-880.
2015-02-20 15:25:27 -08:00
Victor Woeltjen
2c0180ebda [Fixed Position] Draw line as SVG
Draw line elements as SVG, WTD-880.
2015-02-20 15:06:33 -08:00
Victor Woeltjen
638a7c8609 [Fixed Position] Add dialog for text
Add dialog for text elements in fixed position view;
tweak styling on some other element types. WTD-880.
2015-02-20 12:57:15 -08:00
Victor Woeltjen
f5b6be9b5d [Fixed Position] Add Image Properties dialog
Add Image Properties dialog, for when a new image element
is created. WTD-880.
2015-02-20 12:28:52 -08:00
Victor Woeltjen
a947ff1274 [Fixed Position] Add element factory
Add element factory, which will take on responsibility
for populating initial states of elements and (if necessary)
prompting for user input. WTD-880.
2015-02-20 12:21:28 -08:00
Victor Woeltjen
f1a8e84a93 [Fixed Position] Allow adding elements
Allow adding of elements (without any element-specific
properties beyond type.) WTD-880.
2015-02-20 11:53:50 -08:00
Victor Woeltjen
6fca03521b [Fixed Position] Add initial element templates
Add element templates for fixed position elements introduced
via the Add button, WTD-880.
2015-02-20 11:39:29 -08:00
Victor Woeltjen
2be58579dc [Fixed Position] Add 'Add' menu button
Add UI for the Add button in fixed position view,
WTD-880.
2015-02-20 11:30:04 -08:00
Victor Woeltjen
1015e97b3e [Fixed Position] Add tests for FixedController
Add additional test cases for controller for Fixed Position
view to meet code coverage after changes for WTD-879.
2015-02-19 16:24:45 -08:00
Victor Woeltjen
3cfcd027e0 [Fixed Position] Fill in specs for selection proxies
Fill in specs for fixed position views selection proxies,
WTD-879.
2015-02-19 13:29:43 -08:00
Victor Woeltjen
7882dd1401 [Fixed Position] Add spec for selection
Add spec for selection manager for layout and fixed position
views, WTD-879.
2015-02-19 13:06:55 -08:00
Victor Woeltjen
8c653d39d7 [Edit] Update specs
Update specs for toolbars in Edit mode to reflect
changes for WTD-879.
2015-02-19 12:44:00 -08:00
Victor Woeltjen
280c854658 [Fixed Position] Update drop gesture spec
Update drop gesture spec for changes made for WTD-879
2015-02-19 12:34:22 -08:00
Victor Woeltjen
14cbb9fb40 [Fixed Position] Add placeholder specs
Add placeholder specs for classes added to support
selection of elements in a fixed position view,
WTD-879.
2015-02-19 12:21:39 -08:00
Victor Woeltjen
7498e340d6 [Fixed Position] Rename accessor
Rename utility function used by fixed position elements
to be more accurate. WTD-879.
2015-02-19 12:10:43 -08:00
bwyu
b29d3a148f Merge remote-tracking branch 'origin/open829' into open-master 2015-02-19 11:08:05 -08:00
Victor Woeltjen
83872946bf [Fixed Position] Fix grid size spec
Fix spec which ensures that FixedController correctly
populates background grid based on user-defined grid
size, after changes for WTD-879.
2015-02-19 10:22:12 -08:00
Victor Woeltjen
9a50f6d84d [Fixed Position] Fix globals
Fix globals to pass JSLint check in command line build. WTD-879.
2015-02-19 09:37:02 -08:00
Victor Woeltjen
5df41966a4 [Fixed Position] Disable failing specs
Disable failing specs after significant rewrite of
FixedController to handle element selection, WTD-879.
2015-02-19 09:13:45 -08:00
Victor Woeltjen
81159a8801 [Telemetry] Update subscription spec
Update spec for TelemetrySubscription to account for the fact
that it initially calls back when the set of telemetry objects
is available (which supports views such as Fixed Position
which want to defer all telemetry-handling responsibility to
the subscription.) WTD-879.
2015-02-19 09:11:59 -08:00
Victor Woeltjen
035b2e36c3 [Telemetry] Fire callback when objects are available
Fire callback from telemetry subscriber when the set of
object references changes. This allows views which use
the subscriber to register one callback, while still
ensuring that they are notified when there is new
information to show. Supports fixed position view, WTD-879.
2015-02-18 20:37:23 -08:00
Victor Woeltjen
7bd41a9f80 [Fixed Position] Allow dragging of elements
Restore dragging behavior to elements in a fixed position
view, WTD-879.
2015-02-18 20:29:54 -08:00
Victor Woeltjen
5680710c06 [Fixed Position] Implement remove
Implement remove button for selected elements in fixed
position view. WTD-879.
2015-02-18 20:12:55 -08:00
Victor Woeltjen
f66fb0a32d [Fixed Position] Add remove button
Add a 'remove' button when elements are selected in
fixed position view, WTD-879.
2015-02-18 19:56:54 -08:00
Victor Woeltjen
a4dd730764 [Fixed Position] Allow select/deselect
Allow select/deselect of individual elements in fixed position
view, WTD-879.
2015-02-18 19:51:42 -08:00
Victor Woeltjen
cd98fd475d [Fixed Position] Begin using proxies
Begin using proxies for elements in fixed position view,
WTD-879.
2015-02-18 19:41:27 -08:00
Victor Woeltjen
f24f62dedc [Fixed Position] Begin adding element proxy classes
Begin adding proxy classes to allow the toolbar to interact with
elements in a fixed position view, WTD-879.
2015-02-18 19:26:06 -08:00
Victor Woeltjen
466a169562 [Fixed Position] Continue refactoring controller
Continue refactoring Fixed Position controller for
selection support, WTD-879.
2015-02-18 15:11:52 -08:00
Victor Woeltjen
bf36141e91 [Fixed Position] Begin refactoring controller
Begin refactoring Fixed Position controller to facilitate
selection support, as well as multiple types of elements;
WTD-879.
2015-02-18 13:50:25 -08:00
Victor Woeltjen
8662689974 [Fixed Position] Begin breaking apart template
Begin breaking apart template to allow multiple
types of fixed position elements, WTD-879.
2015-02-18 13:19:59 -08:00
Victor Woeltjen
97b844563d [Fixed Position] Add proxy object
Add proxy object to represent the selection of the fixed position
view itself, WTD-879.
2015-02-18 09:03:50 -08:00
Victor Woeltjen
4be2a3f1cd [Fixed Position] Add selection manager
Add utility class so that layouts/fixed position views
can track their current selection state more simply.
WTD-879.
2015-02-18 08:55:58 -08:00
Victor Woeltjen
7a680873e3 [Fixed Position] Begin adding placeholder toolbar
Begin adding placeholder toolbar for fixed position view,
WTD-879.
2015-02-17 16:29:42 -08:00
Victor Woeltjen
db2f2eb098 [Fixed Position] Improve button support
Improve button support from toolbars by adding a click
function when generating structures for mct-toolbar based
on view definitions. WTD-879.
2015-02-17 16:29:15 -08:00
Victor Woeltjen
7fced99390 [Fixed Position] Add placeholder toolbar definition
Add a mostly-empty toolbar definition to Fixed Position view,
WTD-879.
2015-02-17 16:15:25 -08:00
Victor Woeltjen
98caa31d7b Merge branch 'open877' into open879
Merge fixed position view work and general toolbar
work to begin adding toolbars for fixed position view,
WTD-879."

Conflicts:
	platform/commonUI/edit/res/templates/edit-object.html
2015-02-17 15:58:36 -08:00
Victor Woeltjen
3916968544 [Edit] Add EditToolbarRepresenter spec
Add tests for representer which mediates between view's
selection and toolbar contents, WTD-878.
2015-02-17 15:47:18 -08:00
Victor Woeltjen
48754c78bf [Edit] Wire in toolbar representer
Wire in representer for handling toolbars in Edit mode,
and add some clarifying documentation. WTD-878.
2015-02-17 15:30:23 -08:00
Victor Woeltjen
023c12ec3b [Edit] Add toolbar representer
Add a representer to handle exposing toolbars for views in
edit mode. WTD-878.
2015-02-17 14:31:02 -08:00
Victor Woeltjen
5dc72b15c2 [Edit] Implement EditToolbar
Implement EditToolbar (sufficient to satisfy spec) which will
construct an mct-toolbar-friendly form structure based on both
the current selection and the view's defined toolbar structure.
WTD-878.
2015-02-17 13:47:14 -08:00
Victor Woeltjen
8f14f4e5eb [Edit] Add spec for toolbar
Add spec for class that will convert toolbar definition
provided by views to suitable input for mct-toolbar, WTD-878.
2015-02-17 12:58:36 -08:00
Victor Woeltjen
ab546c9541 [Edit] Document toolbar behavior
Document how toolbars may be described by a view such
that Edit mode will populate the actual displayed
toolbar, WTD-878.
2015-02-17 12:19:35 -08:00
Victor Woeltjen
0510705f3a [Representation] Update docs
Update documentation to reflect that an event is broadcast
when drops occur. WTD-877.
2015-02-17 10:56:38 -08:00
Victor Woeltjen
156f053421 [Fixed Position] Add specs for drop
Add specs related to positioning of objects based on
drop position, WTD-877.
2015-02-17 10:50:02 -08:00
Victor Woeltjen
553101100b [Fixed Position] Refresh subscriptions
Refresh subscriptions when composition changes, such as due to
a drag-drop addition of an element to the view. WTD-877.
2015-02-17 10:34:13 -08:00
Victor Woeltjen
136dddab86 [Fixed Position] Position elements where dropped
Position elements where they are dropped in Fixed Position
view, WTD-877
2015-02-17 10:27:37 -08:00
Victor Woeltjen
ef4ed50605 [Layout] Separate out handleDrop
Separate drop-handling into a non-anonymous function in
LayoutController to satisfy code style guidelines;
WTD-877.
2015-02-17 10:25:31 -08:00
Victor Woeltjen
01d953bf45 [Layout] Position frames on drop
Position frames within a layout based on the position
where they were dropped into the layout, WTD-877.
2015-02-17 10:23:10 -08:00
Victor Woeltjen
e158f2811c [Views] Wire in drop gesture
Support drop gesture from fixed position view and from
layout view, WTD-877.
2015-02-17 10:03:48 -08:00
Victor Woeltjen
4190941bfb [Views] Broadcast event on drop
Broadcast an event when drag-drop domain object composition
occurs, such that the view in question may utilize the drop
coordinates (e.g. to position elements in a layout or fixed
position view.) WTD-877.
2015-02-17 10:01:27 -08:00
Victor Woeltjen
8d6b218646 [Fixed Position] Add initial spec
Add initial spec for FixedController to satisfy minimum
coverage requirements, in preparation for review. WTD-889.
2015-02-17 09:03:23 -08:00
Victor Woeltjen
c2b1775d75 [Fixed Position] Free up resources
Free up resources when a fixed position view is destroyed,
WTD-889.
2015-02-17 08:35:32 -08:00
Victor Woeltjen
71a132d374 [Fixed Position] Improve doc of FixedController
Improve documentation for Fixed Position controller, WTD-889.
2015-02-17 08:32:35 -08:00
Victor Woeltjen
abe4be9238 [Fixed Position] Remove unused representer
Remove unused representer for view toolbars; clean up for
WTD-889.
2015-02-17 08:30:42 -08:00
Victor Woeltjen
c6064dfe6c Merge branch 'open615' into open889
Merge in work-in-progress for WTD-615 (Fixed Position View)
into topic branch for WTD-889 (a sub-issue of WTD-615, which
has been broken down into discrete chunks to support
development.

Conflicts:
	platform/telemetry/src/TelemetrySubscription.js
2015-02-17 08:26:34 -08:00
Victor Woeltjen
e9dbc3d71f [About] Change version text
Change version text to just say Version instead of
Open MCT Web, WTD-829.
2015-02-12 16:51:24 -08:00
Victor Woeltjen
3cb0f3fa7f [Tests] Add tests for persistence cache
Add test cases for persistence cache to improve overall
test coverage, WTD-672.
2015-02-12 16:34:19 -08:00
Victor Woeltjen
e073ca5145 Merge remote-tracking branch 'nasa/open763' into open796
Merge CSS fix for dialog overlay, WTD-796
2015-02-12 15:31:30 -08:00
bwyu
7c4cbb3107 Merge remote-tracking branch 'origin/open852' into open-master 2015-02-11 15:39:23 -08:00
bwyu
471e86bd6d Merge remote-tracking branch 'origin/open840' into open-master 2015-02-11 13:19:07 -08:00
bwyu
85cfc00ad2 Merge remote-tracking branch 'origin/open793' into open-master 2015-02-10 17:22:26 -08:00
bwyu
78d8068789 Merge remote-tracking branch 'origin/open791' into open-master 2015-02-10 11:01:00 -08:00
Victor Woeltjen
7c5c96ff1d [Plot] Use GL-reported buffer size
Use the buffer width/height reported by WebGL when
configuring the viewport to ensure that data aligns
correctly to canvas size when drawn. WTD-852.
2015-02-09 16:10:20 -08:00
Victor Woeltjen
790397ae0f [Plot] Add test for buffer size
Add test case for usage of drawing buffer size as
reported by WebGL (instead of assuming we always got
the full size we requested.) WTD-852.
2015-02-09 16:07:05 -08:00
bwyu
2bbe845f18 Merge remote-tracking branch 'origin/open812' into open-master 2015-02-09 14:29:29 -08:00
bwyu
61bb85df58 Merge remote-tracking branch 'origin/open751' into open-master 2015-02-06 18:08:12 -08:00
bwyu
19bcfef123 Merge remote-tracking branch 'origin/open747' into open-master 2015-02-06 16:45:49 -08:00
Victor Woeltjen
f78226bc69 [Plot] Unsubscribe on destroy
Unsubscribe when a plot view is destroyed; this avoids resource
leaks which cause WTD-840.
2015-02-05 17:37:47 -08:00
Victor Woeltjen
63345bbd3b [Plot] Add test for resource release
Add test to detect plot failing to release its subscriptions,
which causes WTD-840.
2015-02-05 17:34:37 -08:00
Victor Woeltjen
4ac25ab093 Merge branch 'open751' into open840
Merge in necessary changes to reproduce WTD-840 in order to
address WTD-840
2015-02-05 17:23:06 -08:00
bwyu
26cd5b3e24 Merge remote-tracking branch 'origin/open660' into open-master 2015-02-04 16:31:27 -08:00
bwyu
4f17071c85 Merge remote-tracking branch 'origin/open669' into open-master 2015-02-04 13:05:30 -08:00
bwyu
def47addb3 Merge remote-tracking branch 'origin/open734' into open-master 2015-02-04 12:24:23 -08:00
bwyu
eb65f549a5 Merge remote-tracking branch 'origin/open719' into open-master 2015-02-04 11:00:47 -08:00
Victor Woeltjen
c0163d2d60 [Logging] Wire in log levels
Wire in log levels to allow specifying as a query string
parameter; defaults to logging only warnings and above,
for WTD-793.
2015-02-03 18:42:30 -08:00
Victor Woeltjen
6dd8a4ccca [Logging] Implement log levels
Implement suppression of logging below specific levels,
for WTD-793.
2015-02-03 18:01:29 -08:00
Victor Woeltjen
7b16428803 [Logging] Add spec for log levels
Add spec for log levels, to allow these to be passed at run-time
in order to suppress logging during normal use. WTD-793.
2015-02-03 17:55:13 -08:00
bwyu
107ed51cfc Merge remote-tracking branch 'origin/open723' into open-master 2015-02-03 17:26:53 -08:00
bwyu
dfba9fd510 Merge remote-tracking branch 'origin/open473' into open-master 2015-02-03 16:32:08 -08:00
Victor Woeltjen
86765e19a3 [Telemetry] Fix moment export
Fix bundle configuration for platform/telemetry such
that moment.min.js is exposed correctly as an available
dependency for AMD modules. WTD-812.
2015-02-03 16:11:48 -08:00
Victor Woeltjen
301d46e60b [Persistence] Add test case
Add test case for cache to ensure the same object
instance is given for multiple read calls, as this addresses
WTD-791.
2015-02-03 15:51:11 -08:00
Victor Woeltjen
014fca0494 [Persistence] Reuse instances in cache
Reuse/update a single object instance in the persistence
cache, such that updates can be trivially reflected
everywhere. WTD-791.
2015-02-03 15:47:11 -08:00
Victor Woeltjen
2a11204ee6 [Persistence] Don't clone in cache
Don't clone objects in the persistence cache; instead,
ensure that one instance per object is used/given
wherever possible. Goal is to keep object state in
sync between visible instances for WTD-791 et al.
2015-02-03 15:47:02 -08:00
bwyu
bc5d657015 Merge remote-tracking branch 'origin/open716' into open-master 2015-02-03 11:11:36 -08:00
Victor Woeltjen
494cce9b2f [Plot] Complete specs for plot updater
Complete specs for plot updater; particularly, address
case (and fix bug in case) where maximum buffer size
has been hit. WTD-751.
2015-02-03 10:35:03 -08:00
Victor Woeltjen
ed0e0709c5 [Plot] Spec for plot updater
Spec for plot updater, added for WTD-751.
2015-02-02 18:14:08 -08:00
bwyu
5c649935d2 Merge remote-tracking branch 'origin/open717' into open-master 2015-02-02 16:58:27 -08:00
Victor Woeltjen
2ea4e7a47a [Plot] Update plot controller spec
Update plot controller spec to reflect changes introduced
for WTD-751 and WTD-784.
2015-02-02 16:17:17 -08:00
Victor Woeltjen
e6f1328d9d [Plot] Update specs
Update specs with minor changes related to using
telemetrySubscriber to populate plot with streaming
data, WTD-751 and WTD-784.
2015-02-02 15:44:36 -08:00
bwyu
60e450c0cb Merge remote-tracking branch 'origin/open699' into open-master 2015-02-02 15:44:13 -08:00
bwyu
7be872c3a4 Merge remote-tracking branch 'origin/open705' into open-master 2015-02-02 14:33:37 -08:00
Victor Woeltjen
757665683e [Plot] Use a lossless subscription
Utilize lossless subscription to ensure that points are not
overwritten before being plotted from live telemetry.
WTD-784.
2015-01-30 15:36:57 -08:00
Victor Woeltjen
590f4caa97 [Telemetry] Implement subscription pools
Implement data structures which support lossless/lossy
behaviors for telemetry subscriptions (that is, allow
users of the telemetrySubscriber to decide whether or not
they are willing to drop updates in favor of only being
notified with the latest available values.) WTD-784.
2015-01-30 15:36:50 -08:00
Victor Woeltjen
acf4261a08 [Telemetry] Add data structure specs
Add specs for data structures which will support resolution
of WTD-784 by retaining all data not yet received by callbacks
(instead of just the very latest) such that plots can ensure
they do not miss streaming data.
2015-01-30 15:36:43 -08:00
Victor Woeltjen
01d66bbf93 [Telemetry] Add test case for lossless subscription
Add a test case for subscriptions which should be handled
losslessly (that is, which should notify subscribers once
per data event, not once per execution cycle.) This
test case reflects the underlying cause for WTD-784.
2015-01-30 15:36:35 -08:00
Victor Woeltjen
b1485e716c [Plot] Fix disappearing plot bug
Fix buffer resize operation as plots fill, WTD-782.
2015-01-30 12:28:39 -08:00
Charles Hacskaylo
420a006fab [Bug/Front-end] Fixed display overflow issue in Create dialog
WTD-763
Added new class with overflow: auto to div element in platform/.../dialog.html
2015-01-29 16:27:19 -08:00
Victor Woeltjen
4fb750c0e0 [Plot] Update/suppress specs
Update specs and suppress failures; intermediate commit
for updates to plot for WTD-751.
2015-01-29 12:34:58 -08:00
Victor Woeltjen
a0137b341e [Plot] Fix bug for panels
Fix bug wherein number of points-to-plot is misreported
with multiple traces in a plot; clean up on modifications
to plot to self-cache streaming telemetry, to remove
other cache, WTD-751.
2015-01-29 12:27:04 -08:00
Victor Woeltjen
230ba3eb5c [Plot] Add comments
Add comments to plot code introduced to handle
subscribed telemetry only, to work around removal
of the cache to reduce memory usage, WTD-751.
2015-01-29 12:10:00 -08:00
Victor Woeltjen
5e2e0b4116 [Plot] Fix wiring on plot updater
Fix usages of the plot updater, introduced to track real-time
telemetry to remove the need to cache values elsewhere. This
allows memory usage to be decreased for WTD-751.
2015-01-29 11:22:31 -08:00
Victor Woeltjen
57f20ba110 [Plot] Amend plot updater
Amend plot updater to correctly expose information for real-time
plotting without history, allowing removal of cache to free
memory; WTD-751.
2015-01-29 11:19:22 -08:00
Victor Woeltjen
b615a3c888 [Plot] Wire in updater
Wire in updater for use in plots (to cache values at
the plot level, allowing removal of a global cache to
reduce memory consumption for WTD-751.)
2015-01-29 09:51:18 -08:00
Victor Woeltjen
f3900cdd2a [Plot] Add PlotUpdater
Add PlotUpdater, which will track streaming data from within
the plot. Allows removal of the cache for WTD-751.
2015-01-29 09:05:40 -08:00
Victor Woeltjen
92252b41d4 [Browse] Remove unused container
Remove unused container definition for split pane; this
turned out not to be a suitable quick-fix approach to
WTD-747 (implementation of this behavior directly from
the browse template turned out to be more convenient.)
2015-01-28 16:45:20 -08:00
Victor Woeltjen
c0a1e0a0d4 [Browse] Add spec for SplitPaneController
Add unit test for controller which supports the moveable
splitter in Browse mode, WTD-747.
2015-01-28 16:43:18 -08:00
Victor Woeltjen
14571ebb6e [Browse] Add JSDoc
Add in-line documentation to controller which supports the
moveable splitter in Browse mode, WTD-747.
2015-01-28 16:38:32 -08:00
Victor Woeltjen
8fecaaf4f8 [Browse] Utilize splite pane directly
Utilize split pane controller directly from browse
template; quick fix for need to see more information
about packet/point names, WTD-747.
2015-01-28 16:34:03 -08:00
Victor Woeltjen
06b599ee37 [Browse] Begin implementing splitter movement
Begin implementing moveable splitter, WTD-747.
2015-01-28 16:25:16 -08:00
Victor Woeltjen
a0f216764b [Plot] Cancel interval correctly
Fix approach used for interval cancellation associated
with resource leak closing for WTD-717; this avoids the
exception observed in WTD-750.
2015-01-28 15:53:13 -08:00
Victor Woeltjen
376a0cbfc2 Merge branch 'open-master' into open660
Merge latest from master branch into open-source-friendly
topic branch for staleness indicator, WTD-660
2015-01-27 17:34:01 -08:00
Victor Woeltjen
d0de13ca62 Merge branch 'open-master' into open737
Integrate icon with latest from master, WTD-737
2015-01-27 16:40:32 -08:00
Charles Hacskaylo
2f1a15268b [Front-end] Adding missing logo file
WTD-668
2015-01-27 16:28:43 -08:00
Victor Woeltjen
5949580b0a [Licenses] Add spec
Add spec for the license controller (used to populate the
template for the licenses page, WTD-669) to ensure code
coverage.
2015-01-27 15:47:30 -08:00
Victor Woeltjen
10245949b2 [Licenses] Add styling
Add styling to the licenses table to make it easier to
read. WTD-669.
2015-01-27 15:44:38 -08:00
Victor Woeltjen
cab1f72579 [Licenses] Add license information
Add license information for included software components,
to populate the Licenses page. WTD-669.
2015-01-27 15:37:47 -08:00
Victor Woeltjen
3135580f3a [Licenses] Add license page template
Add template to populate open source licenses page from
extensions exposed by bundles; WTD-669.
2015-01-27 15:37:18 -08:00
Charles Hacskaylo
6f26c9cd47 [Front-end] Added drop-shadow version of app logo
WTD-668
Added a version of the shadow with drop shadow on the About screen
2015-01-27 14:56:10 -08:00
Victor Woeltjen
b915a90305 [Views] Fix glyphs
Use correct glyphs for Plot, Scrolling, and Items views.
WTD-734.
2015-01-27 14:50:45 -08:00
Charles Hacskaylo
68cd2a0e76 [Front-end] Favicons for app
WTD-724
Added favicon art files, and references in index.html
2015-01-27 14:20:15 -08:00
Victor Woeltjen
76c38affc3 [Menus] Reposition context menus correctly
Fix styles used to reposition context menus when they are
near the edge of the screen, so that these menus remain
both on-screen and near the user's mouse. WTD-719.
2015-01-27 14:01:53 -08:00
Victor Woeltjen
aa9ceeb2be [Actions] Update specs
Update specs for actions which change domain objects to
reflect their restriction to types that are creatable,
WTD-723.
2015-01-27 13:28:19 -08:00
Victor Woeltjen
4c42d4de28 [Actions] Restrict mutating actions
Restrict actions which cause mutation of domain objects to
types of domain objects which can be created. (This does not
include Packet or Telemetry Point, WTD-723.)
2015-01-27 13:28:12 -08:00
Victor Woeltjen
be34e7fa9a [Edit] Add tests for updated capabilities
Add tests for capabilities which have been updated to work
when only a model (and not whole objects) are cached; that
change was introduced to prevent misbehavior of the Remove
action in Edit mode, WTD-473.
2015-01-27 12:18:31 -08:00
Victor Woeltjen
3135174491 [Edit] Utilize model cache
Utilize model cache, permitting object models in edit mode to
be reused across multiple distinct instances with unique
contexts (unique contexts are necessary to avoid ambiguity in
the Remove action, WTD-473).

To avoid infinite digest cycles as a consequence of this,
refactor context/composition capability wrappers such that the
former is idempotent (since idempotence is no longer ensured
by the EditableDomainObjectCache) to avoid infinite digest
errors in Edit mode.
2015-01-27 11:52:58 -08:00
Victor Woeltjen
431af3adbc [Edit] Implement model cache
Implement a cache to store domain object models,
to allow the cache for individual objects to distinguish
objects based on their parentage and avoid ambiguous
Remove actions (WTD-473.)
2015-01-27 11:12:33 -08:00
Victor Woeltjen
7c44365037 [Edit] Add model cache spec
Add a spec for an editable model cache; this will behave
similarly to the existing domain object cache, except
that it will cache only models. Use of this will permit
multiple instances of editable objects to be created with
unique contexts (that is, distinct parent objects accessible
via the context capability) which in turn will avoid the
ambiguous parentage which results in unexpected behavior of
the Remove action in Edit mode, WTD-473.
2015-01-27 11:02:00 -08:00
Victor Woeltjen
2b4517cff6 [Layout] Update on composition change
Update frame positions when model.composition changes,
instead of when model changes. Ensures correct display
after changes to avoid redrawing on every update,
WTD-716.
2015-01-27 10:22:50 -08:00
Victor Woeltjen
0df809741a [Representation] Refresh only capabilities on modified
When changes to a domain object's modification timestamp are
detected, refresh only the capabilities associated with that
domain object (instead of rebuilding the whole view.)
Specifically avoids latency when layout views are rebuilt,
WTD-716.
2015-01-27 10:10:22 -08:00
Victor Woeltjen
6947e0aa42 [Performance] Update specs
Add tests to verify that directives stop polling after their
scope is destroyed (to prevent resource leaks); those changes
address resource leaks identified in the context of WTD-717.
2015-01-27 08:50:11 -08:00
Victor Woeltjen
5ee872713f [Performance] Release interval from mct-chart
Stop checking for size changes after scope is destroyed
in mct-chart; part of ongoing resolution of resource leaks
which may contribute to WTD-717.
2015-01-26 17:56:52 -08:00
Victor Woeltjen
a9f7cc9658 [Performance] Deactive mct-resize on destroy
Deactive mct-resize when its containing scope is destroyed;
that is, don't go on polling for size changes indefinitely.
Issue discovered/addressed in the context of investigating
sluggishness of plotting in WTD-717.
2015-01-26 17:48:33 -08:00
Charles Hacskaylo
53d6b60bda [Front-end] About screen and app logo for OpenMCT Web
WTD-668
WTD-700
Fixed app logo for OpenMCT Web for WTD-700;
About screen for OpenMCT Web;
2015-01-26 12:58:50 -08:00
Charles Hacskaylo
9686384619 [Front-end] About screen and status bar logo
>
> WTD-668
> WTD-700
Pulling over platform-specific CSS and imagery for About screen and status bar logo;
In progress
2015-01-26 10:18:23 -08:00
Victor Woeltjen
310006f832 [Core] Add 'now' service
Add a service to wrap Date.now(), such that this can be injected
(simplifying testing of scripts which need to respond to system
time.) Specifically supports staleness indication, WTD-660.
2015-01-23 14:19:53 -08:00
Victor Woeltjen
8fee134f5c [About] Include branch
Include branch in About dialog when built. WTD-699
2015-01-23 10:43:06 -08:00
Victor Woeltjen
e4def8a3f5 [About] Use timestamp, build number
Use timestamp and build number (as filterable properties) in
the built core bundle. WTD-699.
2015-01-23 10:40:20 -08:00
Victor Woeltjen
145f8c52d0 [About] Inject version during build
Inject version during build, to populate About dialog. WTD-699.
2015-01-22 16:56:38 -08:00
Victor Woeltjen
f12d0ab313 [Create] Test creation filtering
Test that only types which indicate they should be createable
appear in the Create menu. WTD-705.
2015-01-21 16:24:13 -08:00
Victor Woeltjen
b073e3d553 [Create] Restrict Create to certain types
Restrict the Create action to types with a 'creation' feature;
WTD-705.
2015-01-21 16:16:59 -08:00
Victor Woeltjen
3df82775b5 Merge branch 'open-master' into open702
Merge latest from master branch into topic branch for separating
out Couch adapter from persistence cache, in support of reusing
the latter for the WARP persistence adapter, WTD-702.
2015-01-20 13:04:17 -08:00
Victor Woeltjen
173c3372dc [Persistence] Remove cache from bundle definition
Remove reference to persistence cache from the Couch adapter's
bundle definition; this has been moved into a separate bundle
to support reuse with the WARP Server persistence adapter,
WTD-702.
2015-01-20 13:02:15 -08:00
Victor Woeltjen
d109c7d8bc [Persistence] Separate out cache
Move cache sources into their own bundle, for reuse with other
persistence adapters; specifically supports the persistence
adapter to the WARP Server, which is non-Couch but which will
want to use this cache. WTD-702.
2015-01-20 12:58:55 -08:00
Victor Woeltjen
960a7fcb7c [Persistence] Update README files
Update README files to document the reorganization of persistence
sources into separate bundles for the Couch adapter and for the
persistence cache, in support of reusing the latter with a
different persistence adapter, WTD-702.
2015-01-20 12:14:54 -08:00
Victor Woeltjen
9e981d2579 [Persistence] Move persistence sources
Move persistence sources into a deeper bundle in preparation for
splitting of persistence into two bundles - one specific to the
Couch adapter, and one for persistence caching generally. This
supports WTD-702, the WARP persistence adapter, which will not
use Couch for persistence but which will want to use the platform-
provided persistence cache.
2015-01-20 12:12:17 -08:00
bwyu
8e7f916558 Merge remote-tracking branch 'origin/wtd689' into open-master 2015-01-20 11:33:25 -08:00
bwyu
cef1a34c64 Merge remote-tracking branch 'origin/open684' into open-master 2015-01-20 10:28:57 -08:00
bwyu
af3175ca07 Merge remote-tracking branch 'origin/open591' into open-master 2015-01-16 15:40:44 -08:00
bwyu
7c0cf22b27 Merge remote-tracking branch 'origin/open667' into open-master 2015-01-16 13:50:53 -08:00
Victor Woeltjen
2bd896580e [Switcher] Initialize on timeout
Initialize view switcher state on a timeout; this avoids
infinite digest cycles when deeply-nesting views.
WTD-689.
2015-01-16 10:32:10 -08:00
Victor Woeltjen
082b555644 [Fixed Position] Persist drag positions
Persist element positions after drag in fixed position view,
WTD-615.
2015-01-16 09:47:29 -08:00
Victor Woeltjen
ec211a067a [Fixed Position] Show telemetry values
Show telemetry values in cells in fixed position views.
WTD-615.
2015-01-15 19:16:15 -08:00
Victor Woeltjen
2960d4cdc2 [Fixed Position] All subscription callback to be undefined
Allow callback provided when subscribing to telemetry using
telemetrySubscriber to be omitted; this permits usage of
the resulting subscription more directly from controllers,
such as for fixed position view, WTD-615.
2015-01-15 19:07:49 -08:00
Victor Woeltjen
b2c9b0a2fb [Fixed Position] Position/style telemetry cells
Position telemetry elements in fixed position view appropriately.
WTD-615.
2015-01-15 19:03:34 -08:00
Victor Woeltjen
bd068f31c5 [Fixed Position] Fill available area with grid
Fill available space with background grid for fixed position
view, WTD-615.
2015-01-15 18:53:59 -08:00
Victor Woeltjen
b2bfa2b09b [Fixed Position] Populate background grid
Add a background grid to fixed position view, WTD-615.
2015-01-15 18:48:11 -08:00
Victor Woeltjen
d453e59308 [Fixed Position] Expose controller
Expose Fixed Position controller in order to begin implementing
Fixed Position view and editing behavior. WTD-615.
2015-01-15 18:36:48 -08:00
Victor Woeltjen
1b2ebf1250 [Fixed] Add Fixed Position controller
Add controller for fixed position view (initially, as copied
from Layout view.) WTD-615.
2015-01-15 18:29:31 -08:00
Victor Woeltjen
9d25359aa3 [Fixed Position] Allow views to populate toolbar
Add a toolbar representer to share enough scope that
views become capable of populating toolbars. Needed
for toolbar of fixed position view, WTD-615.
2015-01-15 17:04:03 -08:00
Victor Woeltjen
61c3472266 Merge branch 'open684' into open615
Merge in toolbar support for use in user interface for
Fixed Position view, WTD-615.
2015-01-15 16:32:58 -08:00
Victor Woeltjen
86c2cda7a2 [Autoflow] Update CSS files
Update CSS/SCSS for autoflow tabular view with changes
to fix alignment of cells for WTD-685 and WTD-674;
part of integration task WTD-686.
2015-01-15 16:12:09 -08:00
Victor Woeltjen
46e17b9496 [Forms] Handle disabled state generally
Handle disabled state for items in a toolbar generally,
instead of only in buttons. WTD-684.
2015-01-15 15:46:25 -08:00
Victor Woeltjen
34416090f0 [Forms] Document mct-toolbar
Add brief usage notes for mct-toolbar, WTD-684.
2015-01-15 15:43:20 -08:00
Victor Woeltjen
c49e641bca [Forms] Add color picker
Add color picker, for use in toolbars. WTD-684.
2015-01-15 15:35:11 -08:00
Victor Woeltjen
a9ebd1b869 [Forms] Allow buttons to be disabled
Allow buttons to be disabled, particularly for use
in toolbars. WTD-684.
2015-01-15 15:27:31 -08:00
Victor Woeltjen
b5393ae9da [Forms] Add button control
Add an mct-control for buttons, for use in toolbars.
WTD-684.
2015-01-15 15:26:27 -08:00
Victor Woeltjen
4b51c37067 [Forms] Allow textfield size to be specified
Allow specification of size per-textfield from toolbar
structure definitions; WTD-684.
2015-01-15 15:10:57 -08:00
Victor Woeltjen
fa9df65ddf [Forms] Transition toolbar markup
Transition markup from pre-Angular to complete toolbar
template, WTD-684.
2015-01-15 15:06:40 -08:00
Victor Woeltjen
72cd21171d [Forms] Remove obsolete templates
Remove obsolete template declarations from the bundle
definition for platform/forms. WTD-684.
2015-01-15 14:24:12 -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
7f21cc044d [Fixed Position] Initial template
Add initial template, declaration for fixed position view,
WTD-615.
2015-01-14 17:50:35 -08:00
Victor Woeltjen
ccc30fde3d [Stylesheets] Add spec, docs
Add tests and JSDoc to the style sheet loader introduced to
allow bundles to introduce their own CSS files through the
platform's regular extension mechanism; WTD-591.
2015-01-14 17:23:18 -08:00
Victor Woeltjen
486a9e02e8 [Stylesheets] Add documentation
Add documentation about using the stylesheets category of extension
added for WTD-591.
2015-01-14 17:07:16 -08:00
Victor Woeltjen
fcab62b498 [Stylesheets] Add style sheet loader
Add style sheet loader and move style sheets inclusion
out of index.html. WTD-591.
2015-01-14 17:01:52 -08:00
Victor Woeltjen
04ee5bbbb5 [Framework] Implement runs category-of-extension
Implement 'runs' as a built-in category of extension, to support
bundle addition of functions to run when the application first
starts. Specifically supports loading of stylesheets, WTD-591.
2015-01-14 16:45:13 -08:00
Victor Woeltjen
f70fca081e [Framework] Add specs for built-in extension for run
Add tests for a built-in extension type to framework to allow app.run
to be invoked via bundle extensions. This supports stylesheet
injection, which should happen on load but isn't triggered
from any particular part of the page. WTD-591.
2015-01-14 16:33:37 -08:00
Victor Woeltjen
c164ba8ec8 [About] Fill in README
Add details about the versions category-of-extension to the
README for the About bundle. WTD-667
2015-01-14 13:22:36 -08:00
Victor Woeltjen
f7a33659b4 [About] Add JSDoc
Add in-line documentation to controllers introduced to
support the About dialog. WTD-667.
2015-01-14 13:15:24 -08:00
Victor Woeltjen
d33344dacd [About] Add tests for controllers
Add tests for controllers introduced to support a minimal
implementation of an About dialog, WTD-667.
2015-01-14 13:10:05 -08:00
Victor Woeltjen
95393b269e [About] Update dialog specs
Update tests for dialog/overlay services to match
changes introduced to simplify implementation of
information overlays, such as the About dialog, WTD-667.
2015-01-14 13:09:41 -08:00
Victor Woeltjen
c628d88b3e [About] Implement placeholder dialog
Implement a placeholder for the About dialog, including some
minimal version information. WTD-667.
2015-01-14 12:28:25 -08:00
Victor Woeltjen
b4a8940fe8 [About] Expose controllers, routes
Expose controllers for use in the About dialog, WTD-667.
2015-01-14 12:10:09 -08:00
Victor Woeltjen
f7818b7e76 [About] Organize templates
Move templates into an appropriately-named folder; WTD-667.
2015-01-14 12:06:39 -08:00
Victor Woeltjen
150787b25f [About] Add controllers
Add initial implementations of controllers to support showing
the About dialog on logo click, WTD-667.
2015-01-14 12:06:05 -08:00
Victor Woeltjen
553eb2dd75 [About] Provide default cancel for overlays
For overlays that do not need to do special things when a
window is dismissed, provide a default cancel function.
This simplifies implementation of the information-only
dialogs, such as the About dialog, WTD-667.
2015-01-14 11:53:51 -08:00
Victor Woeltjen
97d4f34ae2 [About] Refactor overlay templates
Refactor overlay templates to separate out the overlay
container from the inner dialog containing the form;
this permits the easy reuse of that overlay container
to supply a non-form-like About dialog, WTD-667.
2015-01-14 11:49:35 -08:00
Victor Woeltjen
b5ebe5b27f [About] Support priority from mct-include
Support priority ordering from the mct-include directive
(such that the highest-priority template for a given key
is what gets included.) Needed to support variations among
application logos in the bottom right (depending on deployment.)
WTD-667.
2015-01-14 10:51:41 -08:00
Victor Woeltjen
9a400f6fba [About] Add About bundle
Add bundle platform/commonUI/about, and initial templates for
the About dialog. WTD-667.
2015-01-14 10:44:59 -08:00
Victor Woeltjen
b98758daf8 [Persistence] Fix bug in id filtering
Fix bug when filtering out namespaced identifiers when reading
domain object models from persistence; filter operation was
breaking the logic of pairing ids back to loaded models by
index. Corrects behavior introduced to reduce latency when
loading the telemetry hierarchy, part of WARP Server
integration, WTD-644.
2015-01-13 08:44:49 -08:00
Victor Woeltjen
11f6175592 [Persistence] Add in-line documentation
Add clarifying comments to reflect changes to
procedure used for loading models from persistence
introduced in support of reducing latency in loading
domain objects introduced by the WARP Server adapter,
WTD-644.
2015-01-12 09:32:25 -08:00
Victor Woeltjen
63990b5e13 [Telemetry] Update specs for coverage
Cover code added to TelemetryController to handle subscriptions
to streaming telemetry, added to support WTD-644, connection
to the WARP Server.
2015-01-12 08:47:56 -08:00
Victor Woeltjen
12c4863feb [Telemetry] Fix failing specs
Fix failing specs related to usage of subscriptions in the
TelemetryController, introduced for WTD-644.
2015-01-12 08:43:29 -08:00
Victor Woeltjen
de57628b01 Merge branch 'open-master' into open644
Update with changes from the master branch to ensure
changes for WTD-644 are compatible with these.
2015-01-12 08:33:03 -08:00
Victor Woeltjen
7ed62babe3 [Browse] Simplify view switcher event ordering
Don't pass a domainObject instance into mct-representation
until a view for that specific domainObject is available;
this avoids ordering issues where a new domainObject is
passed briefly to controllers in represented views before
a  event is issued, which can result in undesired
behavior for views that need to manage resources (such as
the subscriptions used to support telemetry retrieved
from the WARP Server, WTD-644.
2015-01-12 08:30:21 -08:00
Victor Woeltjen
d916111060 [Tree] Restore wait spinner
Restore wait spinner in tree (missed during Angular transition);
this feedback is important when waiting for the contents of
the Packets node (WTD-644) to load.
2015-01-09 17:40:46 -08:00