From 234927559118e1b87183a250129f73e7527a8665 Mon Sep 17 00:00:00 2001 From: Kevin Jump Date: Mon, 9 Dec 2019 16:21:42 +0000 Subject: [PATCH] tidy up report view, improve Json change detection. --- .../App_Plugins/uSync8/changeDialog.html | 85 ++++++++++--------- .../uSync8/components/uSyncReportView.html | 4 +- .../App_Plugins/uSync8/usync.css | 8 ++ uSync8.BackOffice/Config/uSync8.config | 3 +- .../SyncHandlers/SyncHandlerBase.cs | 6 +- uSync8.Core/Tracking/SyncBaseTracker.cs | 59 ++++++++++--- .../App_Plugins/uSync8/changeDialog.html | 85 ++++++++++--------- .../uSync8/components/uSyncReportView.html | 4 +- uSync8.Site/App_Plugins/uSync8/usync.css | 8 ++ 9 files changed, 159 insertions(+), 103 deletions(-) diff --git a/uSync8.BackOffice/App_Plugins/uSync8/changeDialog.html b/uSync8.BackOffice/App_Plugins/uSync8/changeDialog.html index ab9dc5f2..0c5b5dd3 100644 --- a/uSync8.BackOffice/App_Plugins/uSync8/changeDialog.html +++ b/uSync8.BackOffice/App_Plugins/uSync8/changeDialog.html @@ -7,57 +7,60 @@ hide-description="true"> - - - uSync Beta We are working on making the change report better, for now you might see blank change reports. - - + description="{{vm.getTypeName(vm.item.ItemType)}} {{vm.item.Message}}"> -

- {{vm.item.Message}} -

- -
-
-
-
-
-
Action
-
Item
-
Old Value
-
New Value
-
-
-
-
-
- - - - -
-
- {{detail.Change}} +
+
Detected changes
+
+
+
+
+
+
Action
+
Item
+
Old Value
+
New Value
-
- {{detail.Name}} -
-
- {{detail.OldValue}} -
-
- {{detail.NewValue}} +
+
+
+
+ + + + +
+
+ {{detail.Change}} +
+
+ {{detail.Name}} +
+
+ {{detail.OldValue}} +
+
+ {{detail.NewValue}} +
+ +
+

No Changes detected

+

+ It is possible that the .config file is diffrent, because it contains extra information + (such as xml comments) but no properties or values on this item will change when the file + is processed. +

+
@@ -65,7 +68,7 @@ diff --git a/uSync8.BackOffice/App_Plugins/uSync8/components/uSyncReportView.html b/uSync8.BackOffice/App_Plugins/uSync8/components/uSyncReportView.html index e3109918..82a335bd 100644 --- a/uSync8.BackOffice/App_Plugins/uSync8/components/uSyncReportView.html +++ b/uSync8.BackOffice/App_Plugins/uSync8/components/uSyncReportView.html @@ -30,7 +30,7 @@
-
+
@@ -56,7 +56,7 @@
{{result.Message}}
-
+