From eb80f8a610100f908b5cb9ffc65bfa94f8a23c21 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 8 May 2012 13:26:36 -0700 Subject: CSS Panel - Create non-tree declaration (optimized). And add updating functionality. --- .../style-declaration.reel/style-declaration.html | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 js/panels/css-panel/style-declaration.reel/style-declaration.html (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html new file mode 100644 index 00000000..9123e2a0 --- /dev/null +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -0,0 +1,68 @@ + + + + + + + + + +
+
+
+
+
+ + \ No newline at end of file -- cgit v1.2.3 From 6056a569caab94bdbdc2c60b58907109ff468dd3 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 10 May 2012 13:21:38 -0700 Subject: Style Declaration - Improved updating of styles using binding. --- .../style-declaration.reel/style-declaration.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index 9123e2a0..2fdb11d5 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -22,6 +22,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot }, "arrayController": { "prototype": "montage/ui/controller/array-controller", + "properties": { + "automaticallyOrganizeObjects": true + }, "bindings": { "content": { "boundObject": {"@": "owner"}, @@ -44,9 +47,17 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "declaration": {"@": "owner"} }, "bindings": { - "sourceObject" : { + "propertyText" : { + "boundObject": {"@": "repetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration.name" + }, + "valueText" : { + "boundObject": {"@": "repetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration.value" + }, + "empty" : { "boundObject": {"@": "repetition"}, - "boundObjectPropertyPath": "objectAtCurrentIteration" + "boundObjectPropertyPath": "objectAtCurrentIteration.isEmpty" }, "delegate": { "boundObject": {"@": "owner"}, -- cgit v1.2.3 From bbca3e05b39d43ce13c2f3e48cb33630ed7948b9 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Wed, 16 May 2012 14:14:25 -0700 Subject: CSS Panel - Added flag to draw method to improve perceived loading time --- js/panels/css-panel/style-declaration.reel/style-declaration.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index 2fdb11d5..f7415335 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -28,8 +28,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "bindings": { "content": { "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "styles", - "oneway": true + "boundObjectPropertyPath": "styles" } } }, -- cgit v1.2.3 From 4ea199725275abcb6b2bb9bb71518e84626db94c Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 17 May 2012 16:04:08 -0700 Subject: CSS Panel - delcaration - remove auto sort --- js/panels/css-panel/style-declaration.reel/style-declaration.html | 3 --- 1 file changed, 3 deletions(-) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index f7415335..fced7d7a 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -22,9 +22,6 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot }, "arrayController": { "prototype": "montage/ui/controller/array-controller", - "properties": { - "automaticallyOrganizeObjects": true - }, "bindings": { "content": { "boundObject": {"@": "owner"}, -- cgit v1.2.3 From 7f0dad901bef6512357a7a768fda1cb3106ac864 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Thu, 17 May 2012 19:55:18 -0700 Subject: CSS Panel - Fix style declaration interaction --- js/panels/css-panel/style-declaration.reel/style-declaration.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index fced7d7a..5724ffc3 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -25,7 +25,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "bindings": { "content": { "boundObject": {"@": "owner"}, - "boundObjectPropertyPath": "styles" + "boundObjectPropertyPath": "styles", + "oneway": true } } }, -- cgit v1.2.3 From 13da56e791b7478ad3dbb8162a583a6b2c8c4b6b Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Fri, 18 May 2012 17:27:31 -0700 Subject: Style Declaration - Handle removing styles Removed sorting and had to put a null check in the style component because the valueText was being set to undefined and causing an error. Check with montage on why that is happening. --- js/panels/css-panel/style-declaration.reel/style-declaration.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index 5724ffc3..b1381bc6 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -44,6 +44,11 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot "declaration": {"@": "owner"} }, "bindings": { + "source" : { + "boundObject": {"@": "repetition"}, + "boundObjectPropertyPath": "objectAtCurrentIteration", + "oneway": true + }, "propertyText" : { "boundObject": {"@": "repetition"}, "boundObjectPropertyPath": "objectAtCurrentIteration.name" -- cgit v1.2.3 From 423ec19206efe0bfd72131ba8a3012f6cdff09ce Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 21 May 2012 10:07:10 -0700 Subject: CSS Style Declaration - Improved style item interaction --- js/panels/css-panel/style-declaration.reel/style-declaration.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index b1381bc6..9fc45640 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -22,6 +22,9 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot }, "arrayController": { "prototype": "montage/ui/controller/array-controller", + "properties": { + "automaticallyOrganizeObjects": true + }, "bindings": { "content": { "boundObject": {"@": "owner"}, -- cgit v1.2.3 From 1c3da2901f454ad2c18e20216bb2517740a1c080 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Tue, 22 May 2012 14:28:00 -0700 Subject: CSS Panel - Update components to use new serialization format --- .../style-declaration.reel/style-declaration.html | 35 +++++----------------- 1 file changed, 7 insertions(+), 28 deletions(-) (limited to 'js/panels/css-panel/style-declaration.reel/style-declaration.html') diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.html b/js/panels/css-panel/style-declaration.reel/style-declaration.html index 9fc45640..fad54453 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.html +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.html @@ -11,8 +11,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot