From 5b9e2dbad811b87239b60b1afc0eaea8662bc888 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Tue, 13 Oct 2020 15:36:39 +0200 Subject: [PATCH 1/3] Revert "umb-confirmation directive: move trashcan into directive and address accessibility issues (#8198)" This reverts commit 1cd79d81af821470de2123e1c6febe2980d98111. # Conflicts: # src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html # src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html # src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html (cherry picked from commit f9b49fc5f35dfd331388df76b24b91d6c11c9b2b) (cherry picked from commit 22a1423324fe1cdb2795e1dd8eb2a66faa97de8b) --- .../components/umbconfirmaction.directive.js | 32 ++++++-------- .../less/components/umb-confirm-action.less | 5 --- .../components/tags/umb-tags-editor.html | 5 ++- .../views/components/umb-confirm-action.html | 31 +++++--------- .../views/components/umb-groups-builder.html | 10 +++-- .../src/views/propertyeditors/grid/grid.html | 8 ++-- .../listview/layouts.prevalues.html | 42 ++++++++++--------- .../multipletextbox/multipletextbox.html | 9 ++-- 8 files changed, 64 insertions(+), 78 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js index 2f682205ad..1dcccda481 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbconfirmaction.directive.js @@ -14,10 +14,10 @@ The prompt can be opened in four direction up, down, left or right.

+ @@ -71,23 +71,17 @@ The prompt can be opened in four direction up, down, left or right.

function link(scope, el, attr, ctrl) { - scope.clickButton = function (event) { - if(scope.onDelete) { - scope.onDelete({$event: event}); - } - } + scope.clickConfirm = function() { + if(scope.onConfirm) { + scope.onConfirm(); + } + }; - scope.clickConfirm = function() { - if(scope.onConfirm) { - scope.onConfirm(); - } - }; - - scope.clickCancel = function() { - if(scope.onCancel) { - scope.onCancel(); - } - }; + scope.clickCancel = function() { + if(scope.onCancel) { + scope.onCancel(); + } + }; } @@ -97,8 +91,6 @@ The prompt can be opened in four direction up, down, left or right.

templateUrl: 'views/components/umb-confirm-action.html', scope: { direction: "@", - show: "<", - onDelete: "&?", onConfirm: "&", onCancel: "&" }, diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-confirm-action.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-confirm-action.less index a6548123ac..112194f012 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-confirm-action.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-confirm-action.less @@ -1,8 +1,3 @@ -//WRAPPER -.umb_confirm-action { - display: inline-block; -} - // OVERLAY .umb_confirm-action__overlay { position: absolute; diff --git a/src/Umbraco.Web.UI.Client/src/views/components/tags/umb-tags-editor.html b/src/Umbraco.Web.UI.Client/src/views/components/tags/umb-tags-editor.html index cce613782e..6251d0eed1 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/tags/umb-tags-editor.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/tags/umb-tags-editor.html @@ -12,9 +12,10 @@ - + + diff --git a/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html b/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html index 39864c26fd..1b88c9f988 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/umb-confirm-action.html @@ -1,31 +1,22 @@ -
- +
-
- - - -
diff --git a/src/Umbraco.Web.UI.Client/src/views/components/umb-groups-builder.html b/src/Umbraco.Web.UI.Client/src/views/components/umb-groups-builder.html index d722fba7be..2fdef77928 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/umb-groups-builder.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/umb-groups-builder.html @@ -101,10 +101,10 @@
+ @@ -266,10 +266,12 @@
+ diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.html index 56e8811133..0ef24157fe 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.html @@ -95,10 +95,10 @@
+ @@ -209,9 +209,9 @@
- + diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html index c33c3e840e..4527458d16 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html @@ -2,9 +2,9 @@
-
+
-
+
@@ -14,43 +14,45 @@ - + -
+
-
+
-
+
-
- - {{ layout.name }} - (system layout) -
+
+ + {{layout.name}} + (system layout) +
-
- -
+
+ +
-
+
- + + +
-
+
-
+
-
+
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html index 6a9826ac3c..d1c202b867 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html @@ -10,12 +10,15 @@
- +
+ + From 2d931877bebef333928d9423e59f1822f0524ae8 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Fri, 23 Oct 2020 14:41:09 +0200 Subject: [PATCH 2/3] Bump version to 8.8.1 --- src/SolutionInfo.cs | 4 ++-- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SolutionInfo.cs b/src/SolutionInfo.cs index 3f512bc65a..154bb31db1 100644 --- a/src/SolutionInfo.cs +++ b/src/SolutionInfo.cs @@ -18,5 +18,5 @@ using System.Resources; [assembly: AssemblyVersion("8.0.0")] // these are FYI and changed automatically -[assembly: AssemblyFileVersion("8.8.0")] -[assembly: AssemblyInformationalVersion("8.8.0")] +[assembly: AssemblyFileVersion("8.8.1")] +[assembly: AssemblyInformationalVersion("8.8.1")] diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 8b194f4481..baf4cd9673 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -346,9 +346,9 @@ False True - 8800 + 8810 / - http://localhost:8800 + http://localhost:8810 False False From 54ad4c248155aa0f17cdb41f1b8b1bab90c09afa Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Wed, 4 Nov 2020 11:19:32 +0100 Subject: [PATCH 3/3] Bump version to 8.8.2 --- src/SolutionInfo.cs | 4 ++-- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SolutionInfo.cs b/src/SolutionInfo.cs index 154bb31db1..9ea8419e15 100644 --- a/src/SolutionInfo.cs +++ b/src/SolutionInfo.cs @@ -18,5 +18,5 @@ using System.Resources; [assembly: AssemblyVersion("8.0.0")] // these are FYI and changed automatically -[assembly: AssemblyFileVersion("8.8.1")] -[assembly: AssemblyInformationalVersion("8.8.1")] +[assembly: AssemblyFileVersion("8.8.2")] +[assembly: AssemblyInformationalVersion("8.8.2")] diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index baf4cd9673..5ff224f449 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -346,9 +346,9 @@ False True - 8810 + 8820 / - http://localhost:8810 + http://localhost:8820 False False