Skip to content

[Security Solution][Notes] - add button to add note from flyout note header block#193903

Merged
PhilippeOberti merged 1 commit intoelastic:mainfrom
PhilippeOberti:add-note-from-flyout-collapsed
Sep 25, 2024
Merged

[Security Solution][Notes] - add button to add note from flyout note header block#193903
PhilippeOberti merged 1 commit intoelastic:mainfrom
PhilippeOberti:add-note-from-flyout-collapsed

Conversation

@PhilippeOberti
Copy link
Copy Markdown
Contributor

@PhilippeOberti PhilippeOberti commented Sep 24, 2024

Summary

This PR makes an addition to the work done in this previous PR that was adding a new block to the header of the alert details flyout. Since that PR was merged, the mocks changed a but and we now have to add a button to allow users to add new notes.

Here are the 2 states from the mocks:
Screenshot 2024-09-24 at 12 14 25 PM

The PR adds the Add note EuiButton when no notes are present, as well as the EuiButtonIcon when some notes have already been added to the document.

Screen.Recording.2024-09-24.at.11.52.39.AM.mov

The PR also makes a small change to the translations keys as I was starting to have conflict with the translations for notes in Timeline.

Checklist

#193342

@PhilippeOberti PhilippeOberti added backport This PR is a backport of another PR release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v8.16.0 labels Sep 24, 2024
@PhilippeOberti PhilippeOberti requested a review from a team as a code owner September 24, 2024 17:16
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@kibana-ci
Copy link
Copy Markdown

💚 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 20.4MB 20.4MB +3.3KB

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

Copy link
Copy Markdown
Contributor

@christineweng christineweng left a comment

Choose a reason for hiding this comment

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

LGTM!

@PhilippeOberti PhilippeOberti merged commit faeca17 into elastic:main Sep 25, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 25, 2024
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 25, 2024
… note header block (#193903) (#194033)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution][Notes] - add button to add note from flyout note
header block (#193903)](#193903)

<!--- 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-09-25T15:29:33Z","message":"[Security
Solution][Notes] - add button to add note from flyout note header block
(#193903)","sha":"faeca17d2bc28720a812cbcf357a7f947b6225b7","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] -
add button to add note from flyout note header
block","number":193903,"url":"https://github.com/elastic/kibana/pull/193903","mergeCommit":{"message":"[Security
Solution][Notes] - add button to add note from flyout note header block
(#193903)","sha":"faeca17d2bc28720a812cbcf357a7f947b6225b7"}},"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/193903","number":193903,"mergeCommit":{"message":"[Security
Solution][Notes] - add button to add note from flyout note header block
(#193903)","sha":"faeca17d2bc28720a812cbcf357a7f947b6225b7"}},{"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>
@PhilippeOberti PhilippeOberti deleted the add-note-from-flyout-collapsed branch November 14, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v8.16.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants