kibana/packages/kbn-securitysolution-exception-list-components
2022-09-29 09:48:49 -07:00
..
src [eslint/imports/no-boundary-crossing] don't allow package tests to import outside of packages (#142166) 2022-09-29 09:48:49 -07:00
BUILD.bazel Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
index.ts Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
jest.config.js Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
kibana.jsonc Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
package.json Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
README.md Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
setup_test.ts Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00
tsconfig.json Exceptions List component (#140985) 2022-09-28 20:36:05 +02:00

@kbn/securitysolution-exception-list-components

This is where the building UI components of the Exception-List live Most of the components here are imported from x-pack/plugins/security_solutions/public/detection_engine

Aim

TODO

Pattern used

component
    index.tsx
    index.styles.ts <-- to hold styles if the component has many custom styles
    use_component.ts <-- for logic if the Presentational Component has logic
    index.test.tsx
    use_component.test.tsx

Next

  • Now the ExceptionItems, ExceptionItemCard and ExceptionItemCardMetaInfo receive securityLinkAnchorComponent, exceptionsUtilityComponent , and exceptionsUtilityComponent as props to avoid moving all the common components under the x-pack at once, later we should move all building blocks to this kbn-package