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
Bug 1907660: Render pod list cell height correctly when pod names are long #7821
Bug 1907660: Render pod list cell height correctly when pod names are long #7821
Conversation
@debsmita1: This pull request references Bugzilla bug 1907660, which is invalid:
Comment In 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/test-infra repository. |
/kind bug |
/bugzilla refresh |
@debsmita1: This pull request references Bugzilla bug 1907660, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In 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/test-infra repository. |
/cc @jerolimov |
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.
WOW. Impressed that this solves this issue, but it works great. Small request to keep the old default value.
const [tableColumns, , loaded] = useUserSettingsCompatibility( | ||
COLUMN_MANAGEMENT_CONFIGMAP_KEY, | ||
COLUMN_MANAGEMENT_LOCAL_STORAGE_KEY, | ||
null, |
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.
Please keep the default as undefined so that this value are not stored in user settings configmap until the user changes the table config.
undefined, | ||
null, |
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.
Please keep the default as undefined so that this value are not stored in user settings configmap until the user changes the table config.
frontend/public/components/pod.tsx
Outdated
const [tableColumns, , loaded] = useUserSettingsCompatibility( | ||
COLUMN_MANAGEMENT_CONFIGMAP_KEY, | ||
COLUMN_MANAGEMENT_LOCAL_STORAGE_KEY, | ||
null, |
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.
Please keep the default as undefined so that this value are not stored in user settings configmap until the user changes the table config.
undefined, | ||
null, |
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.
Please keep the default as undefined so that this value are not stored in user settings configmap until the user changes the table config.
52f498d
to
29af40e
Compare
29af40e
to
fa5ae5f
Compare
/retest |
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.
Works fine. Tested resizing the window, changing the columns and switching between pages. Doesn't see the rendering-height-lag anymore. 👍
/lgtm
/assign @rhamilto @christianvogt |
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.
LGTM, but will wait on Christian for final approval.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, debsmita1, jerolimov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@debsmita1: All pull requests linked via external trackers have merged: Bugzilla bug 1907660 has been moved to the MODIFIED state. In 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/test-infra repository. |
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1907660
Solution Description:
withUserSettingsCompatibility
HOC with theuseUserSettingsCompatibility
hookGIF:
Browser conformance: