openmct/platform/commonUI
Aaron Doubek-Kraft 4b07930305 Summary Widgets (#1668)
* [ViewAPI] Update view API with more support

Update view provider to allow metadata definitions and to play
nicely with old style views.

Spec out some updates to ViewProviders and ViewRegistry to
support further use of views.

* [Summary Widgets] Add summary widgets

Add a summary widget domain object type

Implement basic interface and style configuration for rules

* [Summary Widgets] Implementation for Rules

Add rule configuration inputs, populated with domain objects, metadata,
and appropriate operations for a given type

* [Inputs] Add implementation for icon palette

Issue #1644

Wire up icon palette inputs to widget, and make icon class a persistable
property of a rule

* [Summary Widgets] Implementation for conditions

Support configuring and persisting multiple conditions per rule

Issue #1644

* [Summary Widgets] Generate Rule Descriptions

Dynamically update the rule description based on the current state
of the rules' conditions

* [Summary Widgets] 'Any/All Telemetry' in conditions

Add UI and implemenetion for evaluating any telemetry or all telemetry
in an individual condition. Add related unit tests.

* [Summary Widgets] Rule Reorders

Implement drag and drop rule reorders using the native HTML5 API

* [Summary Widget] Test Data

Issue #1644

Add user-configurable mock data to test rules. Modify evaluator to
gracefully handle uninitialzed test data points.

* [Summary Widgets] Edit Mode

Enable edit mode for summary widgets, and make configuration interface
visible only when the user has entered edit mode

Fix collision between widget palettes and other interfaces where
palettes would permanently hide other menus

* [Summary Widgets] UI for scripted conditions

* [Sumamry Widgets] Destroy
Implement destroy

* [Summary Widgets] Cleanup
Remove unnecessary persist calls in Rule.js.
Remove generateDescription from refreshConditions and add it after refreshConditions to initCondition and deleteCondition
Throw error when unsupported callback is passed in condition.js, return summary widget instance in plugin.js instead of wrapping in new object for view
Add request properties to telemetry request for providers that support it
Remove check for editing when persisting, in SummaryWidget.js
2017-11-28 13:23:15 -08:00
..
about [Licenses] Update copyright year in About dialog 2017-04-05 15:07:50 -07:00
browse [Edit] Fix the issue with currentTarget being null and HTML being added on Enter 2017-10-13 11:50:40 -07:00
dialog Summary Widgets (#1668) 2017-11-28 13:23:15 -08:00
edit [persistence] fix for issue #1593 2017-11-21 12:07:59 -08:00
formats chore: Remove unsed variables from codebase 2017-05-16 08:55:21 +05:30
general Summary Widgets (#1668) 2017-11-28 13:23:15 -08:00
inspect [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
mobile [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
notification [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
regions [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00
themes Summary Widgets (#1668) 2017-11-28 13:23:15 -08:00
README.md [Licenses] Update copyright year to 2017 2017-04-05 14:52:46 -07:00

This directory contains bundles containing common user interface elements of Open MCT; that is, the user interface for the application as a whole (as opposed to for specific features) is implemented here.

Extensions

This bundles adds a stylesheets extension category used to inject CSS from bundles. These extensions are declaration-only (no scripted implementation is needed or used); a single property, stylesheetUrl, should be provided, with a path to the relevant CSS file (including extension) relative to the resources directory for that bundle.

Links to these CSS files are appended to the head when the application is started. These are added in standard priority order (see documentation for the framework layer); the order of inclusion of style sheets can change the way they are handled/understood by the browser, so priority can be used to provide control over this order.