-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve UI performance when displaying large logs #5537
Conversation
[test] |
a3a0629
to
3b4ba03
Compare
[test] |
<alerts alerts="alerts"></alerts> | ||
<div ng-if="largeLog" class="log-size-warning"> | ||
<span class="pficon pficon-info"></span> | ||
Only the previous {{options.tailLines || 1000}} log lines and new log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we only limiting the log on the pod logs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's both. Default options are set in logViewer.js
, but not visible to the view because I didn't want to change the value passed in to the directive.
Just the one comment, otherwise LGTM |
Thanks @jwforres. I made the change. [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3883/) (Image: devenv-rhel7_2615) |
@jwforres one other minor change to set |
[merge] |
[test] |
Evaluated for origin test up to 2d8cc03 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6505/) |
Evaluated for origin merge up to 2d8cc03 |
Merged by openshift-bot
Changes:
ng-repeat
for better performance streaming large log files.Fixes #5474
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1276212
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1276003 (removes the link)
Tested in Chrome, Firefox, IE, and Safari.