Commit Graph

220 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
bwyu
217b622db7 Merge remote-tracking branch 'origin/wtd627' into open-master 2014-12-19 17:52:13 -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
Victor Woeltjen
4d94ab6fd6 [Browse] Fix tree node autoexpand/highlighting
Repair tree node auto-expand/highlight behavior, to
address WTD-627. Specifically:

* Check the full path when deciding to highlight,
  instead of just the parent. This avoids duplicate highlighting
  in cases where the same parent is visible in two subtrees.
* Don't make a redundant getId call in path-checking;
  domain object paths have already been mapped to identifier
  paths at this point. This avoids erroneous auto-expansion of
  the whole tree.
2014-12-17 15:32:20 -08:00
Victor Woeltjen
4a572decf3 [Indicators] Fill in specs
Fill in specs to ensure code coverage for scripts introduced
to support indicators as a category of extension. WTD-608.
2014-12-16 14:06:19 -08:00
Victor Woeltjen
8ce693af0a [Indicators] Add skeleton specs
Add skeleton specs for the bottom bar controller (introduced
to handle display of indicators introduced as extensions)
and the Couch indicator (introduced to exercise the above,
and to report connection status relative to the Couch
database.) WTD-608.
2014-12-16 13:47:25 -08:00
Victor Woeltjen
ff8572f055 [Indicators] Add tooltip
Add tooltips to indicators, using a description field
from the provided indicator. WTD-608.
2014-12-16 13:43:51 -08:00