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][Exceptions] - Create/ refactor Exception-List common's components in @kbn/securitysolution-exception-list-components #143363

Merged
merged 20 commits into from
Oct 19, 2022

Conversation

WafaaNasr
Copy link
Contributor

@WafaaNasr WafaaNasr commented Oct 14, 2022

Exception List component in @kbn/securitysolution-exception-list-components package's changes summary

Continuing from #140985

1. List Header

image

2. Edit Modal

image

3. Header Menu

image, image, image

4. Search Bar

image

5. Exception Item Card

image

6. Exception Items

image

7. Pagination

image

8. EmptyViewerState

a. Empty Search

image

b. Empty

image

c. Error

image

Checklist

@WafaaNasr WafaaNasr self-assigned this Oct 14, 2022
@WafaaNasr WafaaNasr added release_note:feature Makes this part of the condensed release notes refactoring labels Oct 14, 2022
@WafaaNasr WafaaNasr marked this pull request as ready for review October 18, 2022 14:59
@WafaaNasr WafaaNasr requested a review from a team as a code owner October 18, 2022 14:59
@WafaaNasr
Copy link
Contributor Author

@elasticmachine merge upstream

@WafaaNasr WafaaNasr changed the title [Security Solution][Exceptions] -Add Exception List common component to the new package [Security Solution][Exceptions] -Add Exception List common component to @kbn/securitysolution-exception-list-components Oct 18, 2022
@WafaaNasr WafaaNasr changed the title [Security Solution][Exceptions] -Add Exception List common component to @kbn/securitysolution-exception-list-components [Security Solution][Exceptions] -Create/ refactor Exception-List common's components in @kbn/securitysolution-exception-list-components Oct 18, 2022
@WafaaNasr WafaaNasr changed the title [Security Solution][Exceptions] -Create/ refactor Exception-List common's components in @kbn/securitysolution-exception-list-components [Security Solution][Exceptions] - Create/ refactor Exception-List common's components in @kbn/securitysolution-exception-list-components Oct 18, 2022
securityLinkAnchorComponent: ElementType; // This property needs to be removed to avoid the Prop Drilling, once we move all the common components from x-pack/security-solution/common
}

export const generateLinedRulesMenuItems = ({
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
export const generateLinedRulesMenuItems = ({
export const generateLinkedRulesMenuItems = ({

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks [f015511]

Copy link
Contributor

@dhurley14 dhurley14 left a comment

Choose a reason for hiding this comment

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

overall looks good to me. Preference is to merge this after yara's PR #143127 if that's okay!

@WafaaNasr
Copy link
Contributor Author

WafaaNasr commented Oct 19, 2022

overall looks good to me. Preference is to merge this after Yara's PR #143127 if that's okay!

We decided to merge this PR as it is not related to Yara-PR's files

@WafaaNasr
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/securitysolution-exception-list-components 67 78 +11
Unknown metric groups

API count

id before after diff
@kbn/securitysolution-exception-list-components 76 89 +13

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @WafaaNasr

@WafaaNasr WafaaNasr merged commit 348ed23 into elastic:main Oct 19, 2022
@WafaaNasr WafaaNasr deleted the common-list-components-pkg branch October 19, 2022 17:33
@kibanamachine kibanamachine added v8.6.0 backport:skip This commit does not require backporting labels Oct 19, 2022
kc13greiner pushed a commit to kc13greiner/kibana that referenced this pull request Oct 19, 2022
…mon's components in @kbn/securitysolution-exception-list-components (elastic#143363)

* feat: add list header components + refactoring

* add tests for comments and conditions components

* remove unused var

* complete tests for exception_item_card, excpetion_items, empty_viewer_state

* add test for useExceptionItemCard hook

* add tests for generateLinedRulesMenuItems

* add readme and index.md

* Update index.md

* remove unused file

* remove unused file

* add tests for Header_menu

* extract security mocks to a file

* test for header

* add missing tests

* fix tests

* fix text_with_edit dataTestSubj

* apply rewview comment

Co-authored-by: Kibana Machine <[email protected]>
@KOTungseth KOTungseth added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Nov 17, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting refactoring release_note:feature Makes this part of the condensed release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants