[Security Solution][Notes] - limit visible text from note content on notes management page#195296
Conversation
|
Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations) |
830a8d9 to
4c85e3a
Compare
There was a problem hiding this comment.
code looks good to me. some desk testing findings:
-
if the content goes beyond the space of the tooltip, the position changes and hides come texts

I was going to suggest clipping the text instead, but it seems currently there is no way to access the notes in note list? -
nit: when adding a new note with the notes page in the background. the note first show up at the bottom, and upon refresh goes to the top
Screen.Recording.2024-10-09.at.10.40.43.AM.mov
…notes management page
4c85e3a to
f2a2fcf
Compare
good point, this second commit makes sure that the popover width and height will never be more than 50% of the screen, which I think look nice. The popover has now it's content scrollable.
I will take a look at that separately! |
christineweng
left a comment
There was a problem hiding this comment.
New UI looks great! 🚀🚀
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
History
|
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11264815716 |
…notes management page (elastic#195296) (cherry picked from commit 69ff471)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…nt on notes management page (#195296) (#195692) # Backport This will backport the following commits from `main` to `8.x`: - [[Security Solution][Notes] - limit visible text from note content on notes management page (#195296)](#195296) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Philippe Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2024-10-09T23:49:36Z","message":"[Security Solution][Notes] - limit visible text from note content on notes management page (#195296)","sha":"69ff471983a543c3052923e6b05385460079e45e","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat Hunting:Investigations","v8.16.0"],"title":"[Security Solution][Notes] - limit visible text from note content on notes management page","number":195296,"url":"https://github.com/elastic/kibana/pull/195296","mergeCommit":{"message":"[Security Solution][Notes] - limit visible text from note content on notes management page (#195296)","sha":"69ff471983a543c3052923e6b05385460079e45e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195296","number":195296,"mergeCommit":{"message":"[Security Solution][Notes] - limit visible text from note content on notes management page (#195296)","sha":"69ff471983a543c3052923e6b05385460079e45e"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
Summary
This PR makes a small modification to the Notes management page, to truncate the note content in the table, and allow users to click on the text to reveal the entire content in a popover.
Screen.Recording.2024-10-09.at.5.03.29.PM.mov
Checklist
#193090