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] [Timelines] Notes table links #187868

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

kqualters-elastic
Copy link
Contributor

@kqualters-elastic kqualters-elastic commented Jul 9, 2024

Summary

This pr changes the timeline id cell to be a link to open the saved timeline a note is a part of if timelineId exists, instead of just showing the id as a plain string. Also updates the event column to a link that opens a new timeline containing just the event a note is associated with.
image

Checklist

Delete any items that are not applicable to this PR.

@kqualters-elastic kqualters-elastic added release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team labels Jul 9, 2024
@kqualters-elastic kqualters-elastic requested a review from a team as a code owner July 9, 2024 13:33
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #101 / Actions and Triggers app Maintenance Windows Maintenance windows table should should cancel a running maintenance window
  • [job] [logs] FTR Configs #101 / Actions and Triggers app Maintenance Windows Maintenance windows table should should cancel a running maintenance window

History

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

Code LGTM and very nice functionality! I feel like we should add the same view in timeline functionality to the existing open timeline in the flyout!

@kqualters-elastic kqualters-elastic merged commit 209b0c5 into elastic:main Jul 10, 2024
43 checks passed
@kqualters-elastic kqualters-elastic deleted the notes-table-links branch July 10, 2024 13:55
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 10, 2024
## Summary

This pr changes the timeline id cell to be a link to open the saved
timeline a note is a part of if timelineId exists, instead of just
showing the id as a plain string. Also updates the event column to a
link that opens a new timeline containing just the event a note is
associated with.

![image](https://github.com/elastic/kibana/assets/56408403/e1c577e6-deb6-4daf-8d94-78fcc400c041)

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))

(cherry picked from commit 209b0c5)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.15

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 Jul 10, 2024
…187986)

# Backport

This will backport the following commits from `main` to `8.15`:
- [[Security Solution] [Timelines] Notes table links
(#187868)](#187868)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Qualters","email":"56408403+kqualters-elastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-07-10T13:55:02Z","message":"[Security
Solution] [Timelines] Notes table links (#187868)\n\n##
Summary\r\n\r\nThis pr changes the timeline id cell to be a link to open
the saved\r\ntimeline a note is a part of if timelineId exists, instead
of just\r\nshowing the id as a plain string. Also updates the event
column to a\r\nlink that opens a new timeline containing just the event
a note is\r\nassociated
with.\r\n\r\n![image](https://github.com/elastic/kibana/assets/56408403/e1c577e6-deb6-4daf-8d94-78fcc400c041)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))","sha":"209b0c52cb905cc0b62db9ef9f425d1119cdc549","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat
Hunting:Investigations","v8.15.0","v8.16.0"],"title":"[Security
Solution] [Timelines] Notes table
links","number":187868,"url":"https://github.com/elastic/kibana/pull/187868","mergeCommit":{"message":"[Security
Solution] [Timelines] Notes table links (#187868)\n\n##
Summary\r\n\r\nThis pr changes the timeline id cell to be a link to open
the saved\r\ntimeline a note is a part of if timelineId exists, instead
of just\r\nshowing the id as a plain string. Also updates the event
column to a\r\nlink that opens a new timeline containing just the event
a note is\r\nassociated
with.\r\n\r\n![image](https://github.com/elastic/kibana/assets/56408403/e1c577e6-deb6-4daf-8d94-78fcc400c041)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))","sha":"209b0c52cb905cc0b62db9ef9f425d1119cdc549"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/187868","number":187868,"mergeCommit":{"message":"[Security
Solution] [Timelines] Notes table links (#187868)\n\n##
Summary\r\n\r\nThis pr changes the timeline id cell to be a link to open
the saved\r\ntimeline a note is a part of if timelineId exists, instead
of just\r\nshowing the id as a plain string. Also updates the event
column to a\r\nlink that opens a new timeline containing just the event
a note is\r\nassociated
with.\r\n\r\n![image](https://github.com/elastic/kibana/assets/56408403/e1c577e6-deb6-4daf-8d94-78fcc400c041)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))","sha":"209b0c52cb905cc0b62db9ef9f425d1119cdc549"}}]}]
BACKPORT-->

Co-authored-by: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team v8.15.0 v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants