-
Notifications
You must be signed in to change notification settings - Fork 27
SRVKP-10035: Preserve whitespace in log viewer with horizontal scrolling #866
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
base: main
Are you sure you want to change the base?
SRVKP-10035: Preserve whitespace in log viewer with horizontal scrolling #866
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anwesha-palit-redhat The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick main_ocp_4.22 |
|
@anwesha-palit-redhat: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@anwesha-palit-redhat: This pull request references SRVKP-10035 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
4c10ab0 to
1a19c45
Compare
|
@anwesha-palit-redhat: This pull request references SRVKP-10035 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@anwesha-palit-redhat: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Fix: Preserve whitespace in log viewer with horizontal scrolling
This PR fixes the log viewer to properly display logs with long lines by enabling horizontal scrolling while preserving whitespace formatting.
Changes:
isTextWrapped={true})white-space: preto preserve formattingThis ensures logs with long lines are readable without text wrapping breaking the original formatting, while still allowing users to scroll horizontally to view full content.
Screen recording before:
Screen.Recording.2026-01-15.at.12.36.23.mov
Screen recording after:
Logs_after.mov
Screen.Recording.2026-01-15.at.12.31.40.mov