algairim commented on a change in pull request #196:
URL: https://github.com/apache/brooklyn-ui/pull/196#discussion_r613429710
##########
File path: ui-modules/app-inspector/app/components/stream/stream.directive.js
##########
@@ -43,19 +43,51 @@ export function streamDirective() {
$scope.autoUpdate = $scope.autoUpdate !== false;
$scope.tail = $scope.tail !== false;
- let pre = $element.find('pre');
+ // Content filtering features
+ $scope.filteredStream = [];
+ $scope.streamProcessedUpTo = 0;
+ $scope.isDisplayOther = $scope.isDisplayOther !== false;
+ $scope.isDisplayError = $scope.isDisplayError !== false;
+ $scope.isDisplayDebug = $scope.isDisplayDebug !== false;
+ $scope.isDisplayTrace = $scope.isDisplayTrace !== false;
+ $scope.isDisplayWarning = $scope.isDisplayWarning !== false;
+ $scope.isFilterContent = isFilterContent;
+ $scope.isDisplayFormattedItem = isDisplayFormattedItem;
+ $scope.getFormattedItemLogLevel = getFormattedItemLogLevel;
+
+ // CLI XML features
+ $scope.cliXml = false;
+ $scope.cliXmlIdentified = false;
+ $scope.toggleCliXml = toggleCliXml;
+ $scope.isCliXmlSupported = isCliXmlSupported;
+ $scope.cliXmlVerificationRequired = isWinRmStream(); // CLI XML
verification is required only when stream is WinRM
+
+ let autoScrollableElement =
Array.from(document.getElementsByClassName('auto-scrollable'));
Review comment:
Agree, improvement in the new commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]