Commit Graph

236 Commits

Author SHA1 Message Date
Victor Woeltjen
bc69f19012 [Edit] Utilize EditToolbarSelection
Utilize newer, more general-purpose selector from the
representer responsible for binding selection scope to
toolbar. WTD-929.
2015-03-03 18:34:03 -08:00
Victor Woeltjen
6c97815efb [Edit] Add Selection class
Add class to handle selection, which will be synchronized
to the toolbar. WTD-929.
2015-03-03 18:31:34 -08:00
bwyu
d7e502e27c Merge remote-tracking branch 'origin/open881' into open-master 2015-03-03 17:10:08 -08:00
Victor Woeltjen
86ee28740f [Common UI] Avoid infinite digest
Avoid infinite digest when first applicy mct-scroll
directives, WTD-920.
2015-03-03 13:50:39 -08:00
Victor Woeltjen
0d5a849a41 [Edit] Restructure source folder
Restructure sources associated with Edit mode; work on
WTD-788 has increased number of sources here so more
organization is useful.
2015-02-26 17:06:30 -08:00
Victor Woeltjen
cb078e9620 [Edit] Test EditPanesController
Test EditPanesController, particularly for the root
cause of tree collapse, WTD-788.
2015-02-26 17:02:22 -08:00
Victor Woeltjen
988716ff01 [Edit] Refresh Library less aggressively
Update the root object (used to populate the Library pane)
less often, to avoid recreating the whole tree and thereby
causing the tree to collapse. WTD-788.
2015-02-26 16:53:15 -08:00
bwyu
970b5e70ba Merge remote-tracking branch 'origin/open879' into open-master
Conflicts:
	platform/commonUI/edit/res/templates/edit-object.html
2015-02-26 11:01:00 -08:00
Charles Hacskaylo
068518b535 [Frontend] Minor sanding
WTD-894
Fix to correct spacing problem in object-header
2015-02-25 18:59:36 -08:00
Charles Hacskaylo
424d60440c [Frontend] Delivery checkin: final tweaks to CSS
WTD-894
CSS tweaks to allow box-sizing to be applied to elements within mct-include containers;
CSS cleanups
2015-02-25 18:41:00 -08:00
Charles Hacskaylo
a0f31132e3 [Frontend] In-progress checkin: color palette SASS
WTD-847
Significant markup and CSS for color palette support;
2015-02-25 18:17:11 -08:00
Charles Hacskaylo
bdd070e12f [Frontend] In-progress checkin: added new symbols for Fixed Position view
WTD-894
New symbols in wtdsymbols font;
Updated layout/bundle.json to use new glyphs;
2015-02-25 16:44:11 -08:00
Victor Woeltjen
5df2710721 [Common UI] Document mct-scroll-* directives
Add documentation for mct-scroll-x and mct-scroll-y, WTD-920.
2015-02-25 16:34:51 -08:00
Victor Woeltjen
9fa09e25f0 [Common UI] Tweak mct-scroll-* directives
Make fixes/tweaks to behavior of mct-scroll-x and mct-scroll-y
directives after testing them against timeline markup. WTD-920.
2015-02-25 16:28:53 -08:00
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
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
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
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
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
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
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
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
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
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
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
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
19bcfef123 Merge remote-tracking branch 'origin/open747' into open-master 2015-02-06 16:45:49 -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
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
bwyu
5c649935d2 Merge remote-tracking branch 'origin/open717' into open-master 2015-02-02 16:58:27 -08:00
bwyu
7be872c3a4 Merge remote-tracking branch 'origin/open705' into open-master 2015-02-02 14:33:37 -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
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
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
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
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
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
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
bwyu
8e7f916558 Merge remote-tracking branch 'origin/wtd689' into open-master 2015-01-20 11:33:25 -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
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
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
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
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
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
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
Victor Woeltjen
782edfc3b7 [WARP Telemetry] Work around platform issues
Work around issues in platform which manifest as bugs or
latency issues when attempting to visualize telemetry
from the WARP Server. Specifically:

* Handle the possibility that there is no matching
  representation for an object from EditRepresenter.
* Don't attempt to look up colon-separated domain object
  identifiers from persistence. This is a workaround to
  avoid latency issues from excessive persistence calls;
  filed WTD-659 to improve this solution.

Changes made to support resolution of WTD-644.
2015-01-09 17:25:55 -08:00
bwyu
9981543156 Merge remote-tracking branch 'origin/open614d' into open-master 2015-01-05 11:14:07 -08:00