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][Alert Details] Remove alert type charts feature flag #189437

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

christineweng
Copy link
Contributor

@christineweng christineweng commented Jul 29, 2024

Summary

Removing an unused feature flag called alertTypeEnabled. The feature was added in 8.7 (#152872) but was never enabled.

This PR removed unused components and renamed directory from alert_by_type_panel to alerts_by_rule_panel.

Checklist

@christineweng christineweng added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Investigations Security Solution Investigations Team v8.16.0 labels Jul 29, 2024
@christineweng christineweng self-assigned this Jul 29, 2024
@christineweng
Copy link
Contributor Author

/ci

@christineweng
Copy link
Contributor Author

/ci

@christineweng christineweng marked this pull request as ready for review July 30, 2024 20:44
@christineweng christineweng requested review from a team as code owners July 30, 2024 20:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

LGTM, left a couple of minor comments

Comment on lines 71 to 81
const sorting: { sort: { field: keyof AlertsByRuleData; direction: SortOrder } } = {
sort: {
field: 'value',
direction: 'desc',
},
};

const pagination: {} = {
pageSize: 25,
showPerPageOptions: false,
};
Copy link
Contributor

Choose a reason for hiding this comment

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

couldn't these 2 be moved to constants outside of the component? It would avoid creating new objects every time to pass to the child component

@christineweng christineweng enabled auto-merge (squash) July 31, 2024 20:59
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 5622 5621 -1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 20.5MB 20.5MB -3.4KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
securitySolution 86.2KB 86.2KB -20.0B

History

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

cc @christineweng

@christineweng christineweng merged commit 5fd6a48 into elastic:main Jul 31, 2024
39 checks passed
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 release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Investigations Security Solution Investigations Team Team:Threat Hunting Security Solution Threat Hunting Team v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants