[Security Solution][Investigations][Tech Debt] - Timeline Data Reducers #124161
Labels
Team:Threat Hunting:Investigations
Security Solution Investigations Team
Team:Threat Hunting
Security Solution Threat Hunting Team
technical debt
Improvement of the software architecture and operational architecture
Background:
We currently use the concept of containers (custom hooks that fetch data) within the security solution to allow data to be fetched and consumed from any component within the application. While this allows for a lot of flexibility, moving this data to a shared reducer would allow other parts of the application to react based on the existing data as well as unify on the one way data flow through redux to make it easier to reason about the application.
Details:
Reducers should be created to match state for each of the data sources below. Actions can then be created to fire off the api requests via middleware with any configurable fields and then stored in the reducer to be fetched via selectors across the application.
The containers for the timelines plugin are all located:
x-pack/plugins/security_solution/public/timelines/containers
x-pack/plugins/timelines/container
Acceptance Criteria:
all/
,details/
,kpis/
,local_storage/
,notes/
,pinned_events/
,api.ts
,index.tsx
source/
,index.tsx
,use_update_alerts
:The text was updated successfully, but these errors were encountered: