Skip to content
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

[Security Solution][Investigations] Fix incorrect height of alert table #122542

Closed

Conversation

janmonschke
Copy link
Contributor

Summary

There was an issue where when going from a full page to a page with only one item, the height of the table was not tall enough. That meant the single row was hidden. (#122111)

I tried out several ways to prevent this issue but most of them were rather brittle. In the end I decided to add an extra row's height to the hacked height when the actual data is less than the page size.

Keep in mind that the module that contains the change is likely to be retired in 8.1. That version will contain a new version of EUI data grid which makes the height hack obsolete. (#122386)

Screen.Recording.2022-01-10.at.14.47.55.mov

There was an issue where when going from a full page to a page with only one item, the height of the table was not tall enough. That meant the single row was hidden.
@janmonschke janmonschke added bug Fixes for quality problems that affect the customer experience v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. auto-backport Deprecated - use backport:version if exact versions are needed Team:Threat Hunting:Investigations Security Solution Investigations Team v7.17.0 labels Jan 10, 2022
@janmonschke janmonschke requested a review from a team as a code owner January 10, 2022 14:14
@janmonschke janmonschke self-assigned this Jan 10, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@janmonschke janmonschke changed the title fix: add more height by default [Security Solution][Investigations] Fix incorrect height of alert table Jan 10, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
timelines 225.2KB 225.2KB +4.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @janmonschke

@janmonschke janmonschke changed the base branch from main to 8.0 January 12, 2022 13:32
@janmonschke janmonschke changed the base branch from 8.0 to main January 12, 2022 13:32
@janmonschke
Copy link
Contributor Author

Closing this PR in favor of #122781 and #122755

@spalger spalger deleted the security/fix-row-rendering-issue-in-alert-table branch May 8, 2022 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Investigations Security Solution Investigations Team v7.17.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants