[Security Solution][Detections] Add assignees UI into alert's details flyout component (#7662)#168467
Conversation
… flyout component (elastic#7662)
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
…eature/alert-user-assignment-7662
PhilippeOberti
left a comment
There was a problem hiding this comment.
thanks for implementing this @e40pud!
First question is how am I supposed to test this locally? Are there any easy steps I can do to get data to show in the assignee popover dropdown?
I see that the feature was only added to the new alert details flyout (the one using the expandable flyout). Users can still revert to the old flyout using the advanced settings. Are we ok with not adding this new feature to the old flyout as well?
I don't know if UIUX was involved here, but on smaller screens (like Macbook Pro), the header gets even more crowded than it was, and it's easy to get in a state where things aren't really readable anymore

x-pack/plugins/security_solution/public/flyout/right/components/assignees.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/assignees.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/assignees.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/assignees_popover.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/assignees_popover.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/assignees_popover.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/assignees_popover.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/security_solution/public/flyout/right/components/header_title.tsx
Show resolved
Hide resolved
...olution/public/timelines/components/side_panel/event_details/flyout/use_refetch_by_scope.tsx
Show resolved
Hide resolved
...olution/public/timelines/components/side_panel/event_details/flyout/use_refetch_by_scope.tsx
Show resolved
Hide resolved
|
Thanks for the review @PhilippeOberti !!
You need to add users (and login with those users at least once) to be able to see those in the User Profiles dropdown menu.
I will double check with design and product about this.
Good point! I will check this with design team. |
…eature/alert-user-assignment-7662
@e40pud is there anything else that I need to do? As you can see in the video below, I've added 4 users with some roles, logged in with each of them (and verify I can see data), but still can't see them in the Assignee dropdown. I'm getting an error finding users Screen.Recording.2023-10-13.at.10.38.59.AM.mov |
…eature/alert-user-assignment-7662 # Conflicts: # x-pack/plugins/security_solution/public/flyout/document_details/right/components/assignees.tsx # x-pack/plugins/security_solution/public/flyout/document_details/right/components/assignees_popover.tsx # x-pack/plugins/security_solution/public/flyout/document_details/right/components/header_title.test.tsx # x-pack/plugins/security_solution/public/flyout/document_details/right/components/header_title.tsx
Ok with a fresh install of ES and Kibana I got it to work, not sure what I did last week. Will resume reviewing the PR shortly :) |
|
@PhilippeOberti thanks for testing! You are right about misalignment with the mockups. Those we discussed and are ok to go with as of right now. I will be looking into those little improvements in a separate PR (borders and overlaps). Also, which link do you use for mockups? It looks like the one you are looking at are slightly different from what I'm using :-) Here is what I see for the 3+ users in the mockups here:
|
…eature/alert-user-assignment-7662
…eature/alert-user-assignment-7662
…eature/alert-user-assignment-7662
|
Replaced by #169508 |
… flyout component (#7662) (#169508) ## Summary Closes elastic/security-team#7662 This PR adds Alert user assignment UI within alert's details flyout component. https://github.com/elastic/kibana/assets/2700761/b84299d7-5d65-4e9a-8836-807f51c0bbc7 This PR is a replacement to #168467 since I broke that one with wrong merges from main. cc @PhilippeOberti










Summary
Closes https://github.com/elastic/security-team/issues/7662
This PR adds Alert user assignment UI within alert's details flyout component.
Screen.Recording.2023-10-10.at.14.48.10.mov