openmct/platform/commonUI/about
Joel McKinnon c6ca912f2b
ESLint one-var, no-var rules (#3239)
* fixed issues for eslint one-var and no-var rules

Co-authored-by: Joshi <simplyrender@gmail.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
2020-08-10 12:13:23 -07:00
..
res/templates [Copyright] Update copyright year across platform code references 2018-05-14 15:46:17 -07:00
src New eslint rules auto fix (#3058) 2020-07-31 12:11:03 -07:00
test ESLint one-var, no-var rules (#3239) 2020-08-10 12:13:23 -07:00
bundle.js New eslint rules auto fix (#3058) 2020-07-31 12:11:03 -07:00
README.md [About] Fill in README 2015-01-14 13:22:36 -08:00

The "about" bundle provides the default lower-right application logo, as well as the dialog it launches when clicked.

Extensions

The About dialog contains several line items to display different version properties (e.g. when built, et cetera.) Plug-ins may wish to introduce additional line items here, in particular if the platform is used to build a separately-branded piece of software.

This bundle introduces the versions extension category to support this. An extension of this category is implementation-less (all information is contained within its declaration) and should include the following fields:

  • name: The name to display for this version line-item; this may be the name of the software, or something else such as "Built".
  • value: The value to display corresponding to this line-item; this is typically a version number, revision identifier, or human-readable date.
  • description: Optional; a longer-form description of this line item, to display in a tooltip.

Ordering of these line items is handled by extension priority; see framework documentation (platform/framework/README.md) for information on how this ordering is handled.