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] Fixes rendering issue of last element of a task list when empty #122242

Merged

Conversation

janmonschke
Copy link
Contributor

Summary

#121986 describes an issue where the last element of a task list does not render properly.

I compared the implementation of the note editor with the one of the comment editor of the cases plugin. The one significant difference I saw was that in the timeline comment editor we trim the note's content. Removing the triming fixes the issue. It should be noted that the original issue only occurs for empty tasks.

Screen.Recording.2022-01-04.at.12.34.10.mov

Checklist

@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 v8.1.0 Team:Threat Hunting:Investigations Security Solution Investigations Team labels Jan 4, 2022
@janmonschke janmonschke self-assigned this Jan 4, 2022
@janmonschke janmonschke requested a review from a team as a code owner January 4, 2022 11:38
@elasticmachine
Copy link
Contributor

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

@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
securitySolution 4.6MB 4.6MB -7.0B

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

cc @janmonschke

Copy link
Contributor

@michaelolo24 michaelolo24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the change, looks good! LGTM!

@janmonschke janmonschke merged commit 96a4cd1 into main Jan 4, 2022
@janmonschke janmonschke deleted the secutiry/fix-glitch-with-last-element-of-task-list branch January 4, 2022 15:30
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 4, 2022
…ment of a task list when empty (elastic#122242)

* fix: fixes the issue where the last element of a task list would not render properly

* test: update test
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0

This backport PR will be merged automatically after passing CI.

janmonschke added a commit that referenced this pull request Jan 4, 2022
…ment of a task list when empty (#122242) (#122266)

* fix: fixes the issue where the last element of a task list would not render properly

* test: update test

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
gbamparop pushed a commit to gbamparop/kibana that referenced this pull request Jan 12, 2022
…ment of a task list when empty (elastic#122242)

* fix: fixes the issue where the last element of a task list would not render properly

* test: update test
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 v8.0.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants