openmct/platform/commonUI
Pegah Sarram 1419c75503 Inline edit object names (#1700)
* Inline edit object name.

Change the title-label span to a conteneditable span to allow editing object names inline. Implement a controller to handle updaing the name. Add tests.

Fixes #1679

[Front-end] Add span contenteditable to input styling
[Front-end] Styling for contenteditable span
styling for span[contenteditable].s-status-editing in _controls.scss;
removed s-filter class;
[Front-end] min-width added to .s-inline-edit

* [Frontend] Style tweaks, cleanup and simplification

Fixes #1679

Style sanding on .s-inline-edit; added
:focus outline:0 to select in _controls.scss;

New .s-input-inline class; removed ng-class from object-header.html,
uses :focus instead; refactoring of input-related mixins;

Bring Time Conductor real-time inputs into parity

Apply .s-input-inline to TC inputs; finesse .s-input-inline selector;

Prevent nested inline inputs from editing

Fixed nested editing prevention selector

* Create an object header template for objects inside a frame.

Fix code review requests.

Fixes 1679
2017-09-21 11:16:04 -07:00
..
about [Licenses] Update copyright year in About dialog 2017-04-05 15:07:50 -07:00
browse Inline edit object names (#1700) 2017-09-21 11:16:04 -07:00
dialog [Layout] Add view large button for zooming 2017-05-18 18:18:19 -07:00
edit Merge pull request #1518 from nasa/copyright-1517 2017-04-23 17:22:01 -07:00
formats chore: Remove unsed variables from codebase 2017-05-16 08:55:21 +05:30
general Inline edit object names (#1700) 2017-09-21 11:16:04 -07: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 [Frontend] WIP 2017-08-17 16:32:25 -07: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.