You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2021/10/20 17:34:24 UTC

[isis] branch master updated: ISIS-2348 Replay User Events: addUserAction missed

This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ec9f7d  ISIS-2348 Replay User Events: addUserAction missed
9ec9f7d is described below

commit 9ec9f7d96e2131f0d74ba637e1e67c48013f5914
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Wed Oct 20 19:34:08 2021 +0200

    ISIS-2348 Replay User Events: addUserAction missed
---
 incubator/clients/kroviz/adoc/modules/kroviz/pages/UsersGuide.adoc  | 6 +++---
 .../org/apache/isis/client/kroviz/core/event/ResourceProxy.kt       | 1 +
 .../main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt  | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/incubator/clients/kroviz/adoc/modules/kroviz/pages/UsersGuide.adoc b/incubator/clients/kroviz/adoc/modules/kroviz/pages/UsersGuide.adoc
index e32b07b..37d2299 100644
--- a/incubator/clients/kroviz/adoc/modules/kroviz/pages/UsersGuide.adoc
+++ b/incubator/clients/kroviz/adoc/modules/kroviz/pages/UsersGuide.adoc
@@ -64,7 +64,7 @@ Which renderers should be provided for what data?
 
 One approach to identifying applicable renderers is https://en.wikipedia.org/wiki/Duck_typing[duck typing].
 This means resorting to behavior / properties of an object. If eg. an object has two properties of type date, labeled "start" and "end"
-it is reasonable to render it as horizontal bar on a timeline. If there is a list of such objects, they can form a gantt chart. 
+it is reasonable to render it as horizontal bar on a timeline. If there is a list of such objects, they can form a gantt chart.
 
 The number of renderers included with kroviz is limited and there isn't yet an example of selecting one of possibly many applicale renderers, but there is room for impovement and creativity.
 Such renderes should as well have links leading back to 'plain old object' renderings.
@@ -76,8 +76,8 @@ include::partial$design/uml-renderer.adoc[]
 * Burger Menu -&gt; Connect, OK
 * Primitives -&gt; Temporals
 * Primitives -&gt; Blob
-* _Burger Menu -&gt; History_:
+* _Burger Menu -&gt; Event Log_:
 ** Sort,
 ** Move Column,
 ** Filter
-* History -&gt; Details Menu, Visualize
\ No newline at end of file
+* Event Log -&gt; Details Menu, Visualize
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/ResourceProxy.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/ResourceProxy.kt
index c3ad519..5254e05 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/ResourceProxy.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/core/event/ResourceProxy.kt
@@ -49,6 +49,7 @@ class ResourceProxy {
         if (le != null) {
             le.addAggregator(aggregator)
             aggregator.update(le, le.subType)
+            EventStore.addUserAction(aggregator, tObject)
         }
     }
 
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt
index 228ad69..c5903da 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/core/RoMenuBar.kt
@@ -87,7 +87,7 @@ class RoMenuBar : SimplePanel() {
         )
 
         mainMenu.add(
-            buildMenuEntry("History", "History", { UiManager.add("Log Entries", EventLogTable(EventStore.log)) })
+            buildMenuEntry("Event Log", "History", { UiManager.add("Event Log", EventLogTable(EventStore.log)) })
         )
 
         val chartTitle = "Sample Chart"