Commit Graph

206 Commits

Author SHA1 Message Date
Charles Hacskaylo
8018c8f42e [Frontend] Sanding and polishing on common front-end elements
WTD-1048
Originally did a lot of this work in warp1048 by mistake
This commit pulls in all /platform-only changes from that branch
Mods are mostly related to WTD-1046 specifically, but also touch toolbar and buttons
2015-03-20 16:37:42 -07:00
Victor Woeltjen
3fe651b6ce [Layout] Remove selector
Remove panel selector from Layout's Create menu; this was added
erroneously in a previous commit. Changed in the context of
WTD-922.
2015-03-18 10:52:52 -07:00
bwyu
8673e2045e Merge remote-tracking branch 'origin/open987' into open-master 2015-03-16 10:28:55 -07:00
bwyu
c2d7996785 Merge remote-tracking branch 'origin/open929' into open-master 2015-03-13 16:21:08 -07:00
bwyu
1e6142ad45 WTD-842: Fixing mouse click in a plot area gets interpreted as a marquee zoom with an extent of zero. 2015-03-13 15:26:08 -07:00
Charles Hacskaylo
cc181dbdc9 [Frontend] Form and form control enhancements
WTD-1002
Added Angular hooks to allow form elements to have JSON defined CSS classes
Form element cleanups
2015-03-10 22:36:35 -07:00
Victor Woeltjen
1efe80f12b [Forms] Hide filter in selector
Hide filter shown in selector control, added for
WTD-987.
2015-03-10 07:34:43 -07:00
Charles Hacskaylo
68c3ec7194 [Frontend] Removed preferred size form section
WTD-1002
WTD-495
2015-03-09 11:06:20 -07:00
Charles Hacskaylo
c640d6238b [Frontend] Markup and CSS mods to fix click area in btn-menu objects
WTD-1002
WTD-942
Mods to markup and CSS to make click-area of menu buttons occupy full area of button
2015-03-06 10:55:40 -08:00
Victor Woeltjen
5ab2ceb333 Merge branch 'open940b' into open929
Merge in Fixed Position updates to reconcile conflicts
related to generalization of selection mechanism, WTD-929.

Conflicts:
	platform/features/layout/src/FixedController.js
	platform/features/layout/test/FixedControllerSpec.js
2015-03-04 15:09:46 -08:00
Victor Woeltjen
93debb4abe Merge branch 'open-master' into open940b
Merge in latest from open-master into topic branch for
WTD-940, merge of fixed position look-and-feel updates.

Conflicts:
	platform/features/layout/src/FixedController.js
	platform/features/layout/src/elements/ElementFactory.js
2015-03-04 14:52:01 -08:00
Victor Woeltjen
73eabe938a [Fixed Position] Wrap mct-include is div
Wrap mct-include in a div which gets position/style information
to position elements in a fixed position view; part of
recommended updates for WTD-894.
2015-03-04 14:46:28 -08:00
Victor Woeltjen
ee59056625 [Fixed Layout] Update tests
Update tests to reflect changes from WTD-894.
2015-03-04 14:46:16 -08:00
Charles Hacskaylo
679e56d231 [Frontend] Tweaks and minor mods
WTD-894
Changed image CSS from contain to cover
Modded default colors for text and telemetry elements to visibility;
Moved click handler position in menu-button.html for better clickability;

Conflicts:
	platform/commonUI/general/res/css/theme-espresso.css
2015-03-04 14:45:24 -08:00
Victor Woeltjen
3ce1064c4e [Fixed Position] Expose view proxy
Expose view proxy as selection state from the Fixed Position
controller, to make Add button available under generalized
selection mechanism, WTD-929.
2015-03-03 18:52:13 -08:00
Victor Woeltjen
6364296967 [Fixed Position] Remove obsolete script
Remove obsolete script for selection management in
Fixed Position view; this has been generalized to
become part of Edit mode. WTD-929.
2015-03-03 18:48:53 -08:00
Victor Woeltjen
948b661fe7 [Fixed Position] Update specs
Update specs to reflect usage of generalized selection
mechanism, WTD-929.
2015-03-03 18:47:44 -08:00
Victor Woeltjen
ea37c636ee [Fixed Position] Use updated selection mechanism
Use updated, more general approach to handling selections.
WTD-929.
2015-03-03 18:35:28 -08:00
Charles Hacskaylo
424d60440c [Frontend] Delivery checkin: final tweaks to CSS
WTD-894
CSS tweaks to allow box-sizing to be applied to elements within mct-include containers;
CSS cleanups
2015-02-25 18:41:00 -08:00
Charles Hacskaylo
a0f31132e3 [Frontend] In-progress checkin: color palette SASS
WTD-847
Significant markup and CSS for color palette support;
2015-02-25 18:17:11 -08:00
Charles Hacskaylo
bdd070e12f [Frontend] In-progress checkin: added new symbols for Fixed Position view
WTD-894
New symbols in wtdsymbols font;
Updated layout/bundle.json to use new glyphs;
2015-02-25 16:44:11 -08:00
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
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
Victor Woeltjen
52811787ac [Fixed Position] Update FixedController spec
Update FixedController spec to include test for updating
set of elements in configuration based on changes to
composition, WTD-883.
2015-02-24 14:33:11 -08:00
Victor Woeltjen
07fc65ed5b [Fixed Position] Remove old elements
Remove elements from view configuration after they have been
removed from composition, WTD-883.
2015-02-24 14:32:39 -08:00
Victor Woeltjen
6d709a6851 [Fixed Position] Ensure default positions
Ensure all elements in a fixed position view's composition
are shown in view, WTD-883.
2015-02-24 14:15:58 -08:00
Victor Woeltjen
be3a31324d [Fixed Position] Change class based on selection state
Change classes for all non-selected objects when an object is
selected, WTD-882.
2015-02-24 12:13:27 -08:00
Victor Woeltjen
91754f76ad [Fixed Position] Update specs
Update specs for Fixed Position view to ensure code coverage
after changes for resize/reposition behavior, WTD-882.
2015-02-24 12:02:43 -08:00
Victor Woeltjen
e2af1e85a1 [Fixed Position] Add spec for LineHandle
Add tests for handles for positioning end point of lines
in fixed position view, WTD-882.
2015-02-24 11:54:41 -08:00
Victor Woeltjen
6efccc0784 [Fixed Position] Add handles for line end points
Add handles for moving line end points in fixed position view,
WTD-882.
2015-02-24 11:48:46 -08:00
Victor Woeltjen
11360ba46c [Fixed Position] Add comments
Add in-line documentation for WTD-882.
2015-02-24 11:40:11 -08:00
Victor Woeltjen
5ba58ef056 [Fixed Position] Keep elements in view
Prevent elements from being positioned at negative x/y
locations in a fixed position view, WTD-882.
2015-02-24 11:38:46 -08:00
Victor Woeltjen
e56bac777e [Fixed Position] Use FixedDragHandle for moves
Use FixedDragHandle to deal with repositioning, WTD-882.
2015-02-24 11:29:52 -08:00
Victor Woeltjen
c306865d87 [Fixed Position] Update style during resize
Update element style during resize, WTD-882.
2015-02-24 11:22:52 -08:00
Victor Woeltjen
5e3d5fd00f [Fixed Position] Initially implement handles
Initially implement handles for resizing elements in a fixed
position view, WTD-882.
2015-02-24 11:00:36 -08:00
Victor Woeltjen
abad8df135 [Fixed Position] Begin updating controller
Begin updating controller to expose handles for dragging,
resizing elements in fixed position view. WTD-882.
2015-02-24 10:33:36 -08:00
Victor Woeltjen
b871e0da91 [Fixed Position] Update FixedController spec
Update FixedController spec to support updates to template
for selection highlight, drag handles; WTD-882.
2015-02-24 10:12:33 -08:00
Victor Woeltjen
cd6c8afddc [Fixed Position] Add selection/handle markup
Add initial markup for selection highlight, drag handles to
allow position/resize of elements in Fixed Position view,
WTD-882.
2015-02-24 10:06:34 -08:00
Victor Woeltjen
3d86871c1d [Fixed Position] Cache name/value
Cache name/value for telemetry elements to avoid flashing
after drag gestures, WTD-881.
2015-02-24 09:25:14 -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
5ee0f9372b [Fixed Position] Fix appearance of Remove button
Update appearance of Remove button in Fixed Position view
to match UI docs, WTD-881.
2015-02-23 19:27:47 -08:00
Victor Woeltjen
41a013d198 [Fixed Position] Add button to show/hide telemetry name
Add button to show/hide name of telemetry elements in
fixed position view, WTD-881.
2015-02-23 19:25:33 -08:00
Victor Woeltjen
1c69d1f2da [Fixed Position] Add text, image properties
Add buttons for text, image properties to the Fixed Position
toolbar, WTD-881.
2015-02-23 19:16:09 -08:00
Victor Woeltjen
0b2cd52433 [Fixed Position] Add image proxy
Add selection proxy for image elements to support image URL
dialog, WTD-881.
2015-02-23 18:28:30 -08:00
Victor Woeltjen
894a5b8f89 [Fixed Position] Add text color property
Add a property to the Fixed Position toolbar to set text
color, WTD-881.
2015-02-23 18:17:24 -08:00
Victor Woeltjen
13793e221e [Fixed Position] Add stroke property
Add stroke property to Fixed Position toolbar for
borders, line color. WTD-881.
2015-02-23 18:05:37 -08:00
Victor Woeltjen
00f85447a2 [Fixed Position] Add color chooser
Add color picker for fill color, WTD-881
2015-02-23 16:47:52 -08:00
Victor Woeltjen
46c8a456b7 [Fixed Position] Begin adding color chooser
Begin adding choice of fill colors for box/text/telemetry
elements in a fixed position view, WTD-881.
2015-02-23 14:52:19 -08:00
Victor Woeltjen
182d02599d [Fixed Position] Add fill properties
Add 'fill' properties, to allow specifying background
color in Fixed Position view. WTD-881.
2015-02-23 10:48:44 -08:00