openmct/src/plugins
Pegah Sarram e07cfc9394 Layout drawing (#2232)
* - Show "Add" button in the toolbar when a display layout object is selected.
- Add a flag to object view's show() method to indicate immediate selection of the view. If the view implements getSelectionContext() use it, otherwise set to default context.

* Create a component for each element.

* Saving work

* Add element factory for creating new instances of elements.

* Mutate element when a new one added and get elements when the component is mounted.

* Add create() method for creating a new telemetry and element in their respective view configuration.

* Add some of the toolbar controls for box, text, image and line elements. Also, add X, Y, Width and Height controls for alhpanumeric elements.

* Pass name to addElement as type.

* Add c-frame-inspectable class if item is inspectable.

* Clean up

* Hide frame for summary widgets by default.

* Better styling for editing

- s-selected on shell__main-container;
- Better edit grid coloring for espresso;

* - Update toolbar-button to support dialogs.
- Update toolbar to construct a value object based on form keys if a toolbar item has a dialogi, and mutate the form keys.
- Add toolbar controls for editing text and url for 'Text' and 'Image' elements respectively.

* Editing-related changes

- Removed hard-coded .is-selectable and .is-moveable from
LayoutItem.vue, updates accordingly to _global.scss;
- Theme constants updated;
- TODO: apply changes to Flexible Layouts;

* Better defaults

- Better default grid size and object size;

* - Fix toolbar-input to read value as a number if type is 'number'.
- Remove rawPosition from view configuration and instead get the position and dimensions from the properties (x, y, width and height) directly.
- Set the style property on the view configuration instead of the layout item.
- Move the logic for updating the style to the view configuration.

* Fix default dimensions for telemetry items and subobjects since the default grid size is changed.

* Remove form definition for display layout type.

* Reword the comment

* Let subobject view configuration handle new panel creation.

* Add default grid size back and remove unused code.

* Pass in only the needed method.

* Define default position in case the object is not added via drag 'n drop.
2018-12-04 09:12:45 -08:00
..
autoflow Squashed commit of the following: 2018-08-31 12:03:15 -07:00
buildInfo [Copyright] Update copyright year across platform code references 2018-05-14 15:46:17 -07:00
displayLayout Layout drawing (#2232) 2018-12-04 09:12:45 -08:00
flexibleLayout Fixes for Flex Layout in TCR (#2221) 2018-11-13 19:02:54 -05:00
folderView context menu and shared object link generation (#2199) 2018-11-08 17:21:18 -08:00
latestDataClock [Time API] Fixed static code analysis issues 2017-05-01 13:29:14 -07:00
localTimeSystem Reimplementation of time conductor in Vue.js (#2173) 2018-09-26 15:41:04 -07:00
notebook Overlay Service - rewritten/redesigned in Vue (#2190) 2018-10-19 11:15:57 -07:00
plot Build refactor to webpack (#2139) 2018-08-07 14:47:50 -07:00
staticRootPlugin Build refactor to webpack (#2139) 2018-08-07 14:47:50 -07:00
summaryWidget Reimplementation of Display Layout in Vue (#2185) 2018-10-04 15:59:23 -07:00
tabs Tab view (#2197) 2018-10-26 14:14:00 -07:00
telemetryMean Update test specs to use Jasmine 3 (#2089) 2018-06-29 17:32:59 -07:00
telemetryTable Table header columnWidth prop should be number not object 2018-11-09 10:34:15 -08:00
timeConductor Fix code to remove warnings in conductor (#2192) 2018-10-11 11:33:59 -07:00
URLIndicatorPlugin Build refactor to webpack (#2139) 2018-08-07 14:47:50 -07:00
utcTimeSystem Update test specs to use Jasmine 3 (#2089) 2018-06-29 17:32:59 -07:00
plugins.js Flexible Layout (#2201) 2018-11-08 17:17:14 -08:00