From 790040db4da2ed3749d1a797c3e0a2e49211b009 Mon Sep 17 00:00:00 2001 From: Mateusz Zan Date: Tue, 21 Apr 2026 10:08:23 +0100 Subject: [PATCH] minor changes in logbook ui: add a new text field for filtering based on logger prefix name, add a button to show/hide additioonal options and move the logger prefix, date and num of lines as these additional search options --- ui-modules/utils/logbook/logbook.js | 5 ++- .../utils/logbook/logbook.template.html | 41 ++++++++++++------- 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/ui-modules/utils/logbook/logbook.js b/ui-modules/utils/logbook/logbook.js index b9a14067c..8c1a6c489 100644 --- a/ui-modules/utils/logbook/logbook.js +++ b/ui-modules/utils/logbook/logbook.js @@ -68,6 +68,7 @@ export function logbook() { $scope.waitingResponse = false; $scope.logtext = ''; $scope.wordwrap = true; + $scope.showOptions = false; $scope.logEntries = []; $scope.minNumberOfItems = 1; $scope.maxNumberOfItems = 10000; @@ -86,7 +87,8 @@ export function logbook() { dateTimeFrom: null, dateTimeTo: null, numberOfItems: 1000, - phrase: '' + phrase: '', + loggerName: '' }; // Define search result filters. @@ -237,6 +239,7 @@ export function logbook() { tail: $scope.search.latest, recursive: $scope.search.recursive, searchPhrase: $scope.search.phrase, + loggerName: $scope.search.loggerName, taskId: $scope.taskId, entityId: $scope.entityId, numberOfItems: $scope.search.numberOfItems, diff --git a/ui-modules/utils/logbook/logbook.template.html b/ui-modules/utils/logbook/logbook.template.html index 3f4b36931..2f2116a28 100644 --- a/ui-modules/utils/logbook/logbook.template.html +++ b/ui-modules/utils/logbook/logbook.template.html @@ -19,22 +19,11 @@
-
- - -
-
- - -
-
- - -
-
+
- +
@@ -81,10 +70,34 @@
+
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+