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

[ResponseOps][Alerts] Move the alerts table to a dedicated package #207878

Merged
merged 17 commits into from
Feb 12, 2025

Conversation

umbopepato
Copy link
Member

@umbopepato umbopepato commented Jan 22, 2025

Summary

This PR turns the AlertsTable into a standalone component, making it independent from the TriggersActionsUI plugin.

Removes the alerts table registry

All configuration is now managed through the AlertsTable component props. Shared configurations are handled by giving consumers the ability to directly provide alerts table wrapper components (see for example the renderAlertsTable prop of getCases).

Moves the alerts table to dedicated package(s)

Following the feature-driven structure we're introducing for ResponseOps (alerting) client-side packages:

  • @kbn/response-ops-alerts-table
  • @kbn/response-ops-alerts-apis
  • @kbn/response-ops-alerts-fields-browser

Initial work on improving composition and organization

  • Reorganizes the table code into a by-entity-type folder structure (components/, hooks/, ...)
  • Simplifies some components and breaks into smaller units when possible

To verify

For consumers of the alerts table:

  • Check that all your tables have the same behavior as before (columns, sort, row actions, bulk actions, etc.)
  • Check that your "shared" tables (i.e. cases alerts view in O11y and Security) have the expected configuration and behavior

Warning

This PR moves a lot of files. Git might not always recognize the correct delete/add file pairs. If you see weird diffs feel free to reach out for help!

Checklist

Identify risks

Risk Description Severity Mitigation
Table misconfigurations Some table configurations might slightly differ from the previous AlertsTableRegistry-backed version Low Quick fix

References

Closes #195180

@umbopepato umbopepato force-pushed the alerts-table-refactor branch from 99c6d4d to 72b83e5 Compare January 22, 2025 17:44
@umbopepato umbopepato added release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Jan 23, 2025
@umbopepato umbopepato force-pushed the alerts-table-refactor branch from 72b83e5 to 002f502 Compare January 23, 2025 09:47
@umbopepato umbopepato marked this pull request as ready for review January 23, 2025 10:18
@umbopepato umbopepato requested review from a team as code owners January 23, 2025 10:18
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@umbopepato umbopepato requested review from a team as code owners January 23, 2025 10:18
@darnautov darnautov self-requested a review January 23, 2025 12:08
@jennypavlova jennypavlova self-requested a review January 23, 2025 14:01
Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

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

ObsUx Infra and Services changes LGTM

@umbopepato umbopepato force-pushed the alerts-table-refactor branch from 444e9cd to 2fa4664 Compare February 12, 2025 08:28
@umbopepato umbopepato enabled auto-merge (squash) February 12, 2025 09:32
@umbopepato umbopepato merged commit a74066d into main Feb 12, 2025
11 checks passed
@umbopepato umbopepato deleted the alerts-table-refactor branch February 12, 2025 10:07
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.0

https://github.com/elastic/kibana/actions/runs/13282881962

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
alerting 230 229 -1
cases 842 1032 +190
ml 2224 2448 +224
observability 1349 1444 +95
securitySolution 6707 6790 +83
slo 994 993 -1
threatIntelligence 139 177 +38
triggersActionsUi 946 930 -16
total +612

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/alerting-types 241 248 +7
@kbn/alerts-ui-shared 287 282 -5
@kbn/response-ops-alerts-fields-browser - 6 +6
@kbn/response-ops-alerts-table - 6 +6
observability 690 699 +9
ruleRegistry 222 221 -1
triggersActionsUi 570 543 -27
total -5

Async chunks

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

id before after diff
apm 4.0MB 4.0MB -452.0B
cases 540.9KB 1.3MB ⚠️ +805.2KB
cloudSecurityPosture 538.0KB 538.0KB +15.0B
discover 847.6KB 847.6KB +15.0B
infra 1.2MB 1.2MB -335.0B
ml 4.7MB 5.5MB ⚠️ +798.9KB
observability 1.3MB 1.3MB +88.7KB
securitySolution 24.9MB 22.3MB -2.6MB
slo 878.4KB 878.5KB +168.0B
synthetics 919.0KB 918.7KB -226.0B
threatIntelligence 57.6KB 758.0KB ⚠️ +700.3KB
triggersActionsUi 1.7MB 1.6MB -39.1KB
total -296.6KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
@kbn/response-ops-alerts-apis - 1 +1
@kbn/response-ops-alerts-fields-browser - 2 +2
@kbn/response-ops-alerts-table - 13 +13
@kbn/securitysolution-data-table 6 10 +4
triggersActionsUi 51 40 -11
total +9

Page load bundle

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

id before after diff
cases 162.6KB 164.0KB +1.4KB
esqlDataGrid 9.3KB 9.3KB +15.0B
ml 78.1KB 79.4KB +1.4KB
observability 102.4KB 102.5KB +108.0B
securitySolution 92.6KB 92.1KB -511.0B
threatIntelligence 12.7KB 12.8KB +102.0B
triggersActionsUi 130.9KB 119.5KB -11.4KB
total -8.9KB
Unknown metric groups

API count

id before after diff
@kbn/alerting-types 244 252 +8
@kbn/alerts-ui-shared 303 298 -5
@kbn/response-ops-alerts-fields-browser - 15 +15
@kbn/response-ops-alerts-table - 8 +8
observability 698 707 +9
triggersActionsUi 596 561 -35
total -0

async chunk count

id before after diff
cases 32 34 +2
ml 110 111 +1
observability 21 24 +3
securitySolution 110 111 +1
triggersActionsUi 65 58 -7
total -0

ESLint disabled in files

id before after diff
@kbn/response-ops-alerts-apis - 1 +1
@kbn/response-ops-alerts-table - 2 +2
total +3

ESLint disabled line counts

id before after diff
@kbn/response-ops-alerts-fields-browser - 1 +1
@kbn/response-ops-alerts-table - 8 +8
cases 64 65 +1
observability 42 46 +4
triggersActionsUi 130 120 -10
total +4

miscellaneous assets size

id before after diff
cases 0.0B 126.3KB +126.3KB
ml 211.1KB 337.5KB +126.3KB
total +252.6KB

References to deprecated APIs

id before after diff
@kbn/response-ops-alerts-table - 15 +15
triggersActionsUi 27 10 -17
total -2

Total ESLint disabled count

id before after diff
@kbn/response-ops-alerts-apis - 1 +1
@kbn/response-ops-alerts-fields-browser - 1 +1
@kbn/response-ops-alerts-table - 10 +10
cases 82 83 +1
observability 43 47 +4
triggersActionsUi 135 125 -10
total +7

History

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
9.0 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 207878

Questions ?

Please refer to the Backport tool documentation

@umbopepato
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

umbopepato added a commit to umbopepato/kibana that referenced this pull request Feb 12, 2025
…lastic#207878)

## Summary

This PR turns the AlertsTable into a standalone component, making it
independent from the `TriggersActionsUI` plugin.

#### Removes the alerts table registry

All configuration is now managed through the AlertsTable component
props. Shared configurations are handled by giving consumers the ability
to directly provide alerts table wrapper components (see for example the
`renderAlertsTable` prop of `getCases`).

#### Moves the alerts table to dedicated package(s)

Following the feature-driven structure we're introducing for ResponseOps
(alerting) client-side packages:
- `@kbn/response-ops-alerts-table`
- `@kbn/response-ops-alerts-apis`
- `@kbn/response-ops-alerts-fields-browser`

#### Initial work on improving composition and organization

- Reorganizes the table code into a by-entity-type folder structure
(`components/`, `hooks/`, ...)
- Simplifies some components and breaks into smaller units when possible

## To verify

For consumers of the alerts table:
- Check that all your tables have the same behavior as before (columns,
sort, row actions, bulk actions, etc.)
- Check that your "shared" tables (i.e. cases alerts view in O11y and
Security) have the expected configuration and behavior

> [!WARNING]
> This PR moves a lot of files. Git might not always recognize the
correct delete/add file pairs. If you see weird diffs feel free to reach
out for help!

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

### Identify risks

| Risk | Description | Severity | Mitigation |
|---|---|---|---|
| Table misconfigurations | Some table configurations might slightly
differ from the previous AlertsTableRegistry-backed version | Low |
Quick fix |

## References

Closes elastic#195180

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christos Nasikas <xristosnasikas@gmail.com>
(cherry picked from commit a74066d)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/index.tsx
#	x-pack/solutions/security/plugins/security_solution/public/detections/configurations/security_solution_detections/render_cell_value.tsx
#	x-pack/solutions/security/plugins/security_solution/public/timelines/components/timeline/body/renderers/user_profile_renderer.tsx
@cnasikas cnasikas removed the v9.0.0 label Feb 12, 2025
@umbopepato umbopepato added backport:prev-major Backport to (8.x, 8.18, 8.17, 8.16) the previous major branch and other branches in development and removed backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) labels Feb 12, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.17, 8.18, 8.x

https://github.com/elastic/kibana/actions/runs/13289964975

@umbopepato umbopepato removed the backport:prev-major Backport to (8.x, 8.18, 8.17, 8.16) the previous major branch and other branches in development label Feb 12, 2025
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Feb 12, 2025
@umbopepato umbopepato added backport:version Backport to applied version labels v8.19.0 and removed backport:skip This commit does not require backporting labels Feb 12, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13290018872

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13290018850

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)

Manual backport

To create the backport manually run:

node scripts/backport --pr 207878

Questions ?

Please refer to the Backport tool documentation

1 similar comment
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [scout] adding test helper @kbn/scout-oblt package and uptate onboarding tests (#209761)

Manual backport

To create the backport manually run:

node scripts/backport --pr 207878

Questions ?

Please refer to the Backport tool documentation

@umbopepato
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

umbopepato added a commit to umbopepato/kibana that referenced this pull request Feb 12, 2025
…lastic#207878)

## Summary

This PR turns the AlertsTable into a standalone component, making it
independent from the `TriggersActionsUI` plugin.

#### Removes the alerts table registry

All configuration is now managed through the AlertsTable component
props. Shared configurations are handled by giving consumers the ability
to directly provide alerts table wrapper components (see for example the
`renderAlertsTable` prop of `getCases`).

#### Moves the alerts table to dedicated package(s)

Following the feature-driven structure we're introducing for ResponseOps
(alerting) client-side packages:
- `@kbn/response-ops-alerts-table`
- `@kbn/response-ops-alerts-apis`
- `@kbn/response-ops-alerts-fields-browser`

#### Initial work on improving composition and organization

- Reorganizes the table code into a by-entity-type folder structure
(`components/`, `hooks/`, ...)
- Simplifies some components and breaks into smaller units when possible

## To verify

For consumers of the alerts table:
- Check that all your tables have the same behavior as before (columns,
sort, row actions, bulk actions, etc.)
- Check that your "shared" tables (i.e. cases alerts view in O11y and
Security) have the expected configuration and behavior

> [!WARNING]
> This PR moves a lot of files. Git might not always recognize the
correct delete/add file pairs. If you see weird diffs feel free to reach
out for help!

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

### Identify risks

| Risk | Description | Severity | Mitigation |
|---|---|---|---|
| Table misconfigurations | Some table configurations might slightly
differ from the previous AlertsTableRegistry-backed version | Low |
Quick fix |

## References

Closes elastic#195180

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Christos Nasikas <xristosnasikas@gmail.com>
(cherry picked from commit a74066d)

# Conflicts:
#	.github/CODEOWNERS
#	packages/response-ops/alerts_table/components/alert_lifecycle_status_cell.tsx
#	src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_fields_table/index.tsx
#	x-pack/platform/plugins/private/translations/translations/zh-CN.json
#	x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_kpis/severity_level_panel/severity_level_chart.tsx
#	x-pack/solutions/security/plugins/security_solution/public/detections/components/alerts_table/index.tsx
#	x-pack/solutions/security/plugins/security_solution/public/detections/hooks/trigger_actions_alert_table/use_persistent_controls.tsx
#	x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts
umbopepato added a commit that referenced this pull request Feb 13, 2025
…age (#207878) (#210895)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ResponseOps][Alerts] Move the alerts table to a dedicated package
(#207878)](#207878)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-12T10:07:55Z","message":"[ResponseOps][Alerts]
Move the alerts table to a dedicated package (#207878)\n\n##
Summary\r\n\r\nThis PR turns the AlertsTable into a standalone
component, making it\r\nindependent from the `TriggersActionsUI`
plugin.\r\n\r\n#### Removes the alerts table registry\r\n\r\nAll
configuration is now managed through the AlertsTable component\r\nprops.
Shared configurations are handled by giving consumers the ability\r\nto
directly provide alerts table wrapper components (see for example
the\r\n`renderAlertsTable` prop of `getCases`).\r\n\r\n#### Moves the
alerts table to dedicated package(s)\r\n\r\nFollowing the feature-driven
structure we're introducing for ResponseOps\r\n(alerting) client-side
packages:\r\n- `@kbn/response-ops-alerts-table`\r\n-
`@kbn/response-ops-alerts-apis`\r\n-
`@kbn/response-ops-alerts-fields-browser`\r\n\r\n#### Initial work on
improving composition and organization\r\n\r\n- Reorganizes the table
code into a by-entity-type folder structure\r\n(`components/`, `hooks/`,
...)\r\n- Simplifies some components and breaks into smaller units when
possible\r\n\r\n## To verify\r\n\r\nFor consumers of the alerts
table:\r\n- Check that all your tables have the same behavior as before
(columns,\r\nsort, row actions, bulk actions, etc.)\r\n- Check that your
\"shared\" tables (i.e. cases alerts view in O11y and\r\nSecurity) have
the expected configuration and behavior\r\n\r\n> [!WARNING]\r\n> This PR
moves a lot of files. Git might not always recognize the\r\ncorrect
delete/add file pairs. If you see weird diffs feel free to reach\r\nout
for help!\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n### Identify risks\r\n\r\n| Risk
| Description | Severity | Mitigation |\r\n|---|---|---|---|\r\n| Table
misconfigurations | Some table configurations might slightly\r\ndiffer
from the previous AlertsTableRegistry-backed version | Low |\r\nQuick
fix |\r\n\r\n## References\r\n\r\nCloses
#195180\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Christos Nasikas
<xristosnasikas@gmail.com>","sha":"a74066d6f83fc38feaa4d7e7b1cf7d3afd53c6f7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport:version","v9.1.0","v8.19.0"],"title":"[ResponseOps][Alerts]
Move the alerts table to a dedicated
package","number":207878,"url":"https://github.com/elastic/kibana/pull/207878","mergeCommit":{"message":"[ResponseOps][Alerts]
Move the alerts table to a dedicated package (#207878)\n\n##
Summary\r\n\r\nThis PR turns the AlertsTable into a standalone
component, making it\r\nindependent from the `TriggersActionsUI`
plugin.\r\n\r\n#### Removes the alerts table registry\r\n\r\nAll
configuration is now managed through the AlertsTable component\r\nprops.
Shared configurations are handled by giving consumers the ability\r\nto
directly provide alerts table wrapper components (see for example
the\r\n`renderAlertsTable` prop of `getCases`).\r\n\r\n#### Moves the
alerts table to dedicated package(s)\r\n\r\nFollowing the feature-driven
structure we're introducing for ResponseOps\r\n(alerting) client-side
packages:\r\n- `@kbn/response-ops-alerts-table`\r\n-
`@kbn/response-ops-alerts-apis`\r\n-
`@kbn/response-ops-alerts-fields-browser`\r\n\r\n#### Initial work on
improving composition and organization\r\n\r\n- Reorganizes the table
code into a by-entity-type folder structure\r\n(`components/`, `hooks/`,
...)\r\n- Simplifies some components and breaks into smaller units when
possible\r\n\r\n## To verify\r\n\r\nFor consumers of the alerts
table:\r\n- Check that all your tables have the same behavior as before
(columns,\r\nsort, row actions, bulk actions, etc.)\r\n- Check that your
\"shared\" tables (i.e. cases alerts view in O11y and\r\nSecurity) have
the expected configuration and behavior\r\n\r\n> [!WARNING]\r\n> This PR
moves a lot of files. Git might not always recognize the\r\ncorrect
delete/add file pairs. If you see weird diffs feel free to reach\r\nout
for help!\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n### Identify risks\r\n\r\n| Risk
| Description | Severity | Mitigation |\r\n|---|---|---|---|\r\n| Table
misconfigurations | Some table configurations might slightly\r\ndiffer
from the previous AlertsTableRegistry-backed version | Low |\r\nQuick
fix |\r\n\r\n## References\r\n\r\nCloses
#195180\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Christos Nasikas
<xristosnasikas@gmail.com>","sha":"a74066d6f83fc38feaa4d7e7b1cf7d3afd53c6f7"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/207878","number":207878,"mergeCommit":{"message":"[ResponseOps][Alerts]
Move the alerts table to a dedicated package (#207878)\n\n##
Summary\r\n\r\nThis PR turns the AlertsTable into a standalone
component, making it\r\nindependent from the `TriggersActionsUI`
plugin.\r\n\r\n#### Removes the alerts table registry\r\n\r\nAll
configuration is now managed through the AlertsTable component\r\nprops.
Shared configurations are handled by giving consumers the ability\r\nto
directly provide alerts table wrapper components (see for example
the\r\n`renderAlertsTable` prop of `getCases`).\r\n\r\n#### Moves the
alerts table to dedicated package(s)\r\n\r\nFollowing the feature-driven
structure we're introducing for ResponseOps\r\n(alerting) client-side
packages:\r\n- `@kbn/response-ops-alerts-table`\r\n-
`@kbn/response-ops-alerts-apis`\r\n-
`@kbn/response-ops-alerts-fields-browser`\r\n\r\n#### Initial work on
improving composition and organization\r\n\r\n- Reorganizes the table
code into a by-entity-type folder structure\r\n(`components/`, `hooks/`,
...)\r\n- Simplifies some components and breaks into smaller units when
possible\r\n\r\n## To verify\r\n\r\nFor consumers of the alerts
table:\r\n- Check that all your tables have the same behavior as before
(columns,\r\nsort, row actions, bulk actions, etc.)\r\n- Check that your
\"shared\" tables (i.e. cases alerts view in O11y and\r\nSecurity) have
the expected configuration and behavior\r\n\r\n> [!WARNING]\r\n> This PR
moves a lot of files. Git might not always recognize the\r\ncorrect
delete/add file pairs. If you see weird diffs feel free to reach\r\nout
for help!\r\n\r\n### Checklist\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n### Identify risks\r\n\r\n| Risk
| Description | Severity | Mitigation |\r\n|---|---|---|---|\r\n| Table
misconfigurations | Some table configurations might slightly\r\ndiffer
from the previous AlertsTableRegistry-backed version | Low |\r\nQuick
fix |\r\n\r\n## References\r\n\r\nCloses
#195180\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Christos Nasikas
<xristosnasikas@gmail.com>","sha":"a74066d6f83fc38feaa4d7e7b1cf7d3afd53c6f7"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@gsoldevila
Copy link
Contributor

Too bad I just discovered this. Packages should no longer go into /packages folder at the root. ❗
If your packages are platform, shared, they should have been located under src/platform/packages/shared. 😭

@umbopepato
Copy link
Member Author

Apologies @gsoldevila, I was 100% sure we coordinated with you to postpone the move after this PR was merged because of its massive size and the fact that git was already struggling to recognize the moved+changed file pairs. I'll tackle this myself asap (have been busy with fixes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ResponseOps][Alerts] Move the alerts table into a dedicated package