-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SIEM] [Case] All cases page design updates #59248
[SIEM] [Case] All cases page design updates #59248
Conversation
Pinging @elastic/siem (Team:SIEM) |
@elasticmachine merge upstream |
closePopover: () => void; | ||
// dispatch: Dispatch<Action>; | ||
// dispatchToaster: Dispatch<ActionToaster>; | ||
// reFetchCases: (refreshPrePackagedCase?: boolean) => void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to leave these comments in, I want to remember what was here. following up in a future PR soon
x-pack/legacy/plugins/siem/public/components/filter_popover/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/filter_popover/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/components/filter_popover/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/case/use_get_cases.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/case/use_get_cases.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/case/use_get_cases.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/case/use_get_cases.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/case/components/all_cases/actions.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/case/components/all_cases/index.tsx
Outdated
Show resolved
Hide resolved
}), | ||
[selectedCases] | ||
); | ||
const isCasesLoading = useMemo( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing the isLoading will simplify this logic, but we still need an initLoading
state to show the initial loading design and then we can have the night rider's kibana loading so people can still play with the table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ill fix in a follow up so you can get your PR merged tho @XavierM
x-pack/legacy/plugins/siem/public/pages/case/components/bulk_actions/index.tsx
Outdated
Show resolved
Hide resolved
…bana into all-cases-design-updates
didCancel = true; | ||
}; | ||
}, | ||
[filterQuery, state.filterOptions] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@XavierM this is weird, if I dont include these dependencies, when i call fetchCases()
from this function it calls it with initialState filterOptions, not updated. i wouldnt expect this since fetchCases
has filterOptions as a dependency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think that I have a fix in my PR for it, so let's move one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look at this commit in my pr coming ff92b62
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking care of the comments, we can resolve the UX loading just after my PR get merged. I/We will make sure that the API get smarter for the UI to stay in the concept of KISS
Good work for moving forward!!! Thank you @stephmilovic
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Co-authored-by: Elastic Machine <[email protected]>
Summary
This PR implements design updates to the All Cases page. Including:
closed_at
time field)Before:

After:

Open/closed filters:

Tags filter:

Reporter filter (WIP):

Bulk actions (WIP):

Column actions (WIP):
