Skip to content

[APM] Add TransactionsTable, ActionsMenu, and Sparkline in @kbn/apm-ui-shared#272090

Open
iblancof wants to merge 20 commits into
elastic:mainfrom
iblancof:271310-apm-decouple-transactionstable-from-apm
Open

[APM] Add TransactionsTable, ActionsMenu, and Sparkline in @kbn/apm-ui-shared#272090
iblancof wants to merge 20 commits into
elastic:mainfrom
iblancof:271310-apm-decouple-transactionstable-from-apm

Conversation

@iblancof
Copy link
Copy Markdown
Contributor

@iblancof iblancof commented Jun 1, 2026

Summary

Closes #271310

Adds three new shared components to @kbn/apm-ui-shared: TransactionsTable, ActionsMenu, and Sparkline.

Screenshot 2026-06-01 at 11 41 46

These components are being extracted now to support an upcoming service flyout, which needs a transactions table that can be embedded outside the existing APM page context.

No new functionality has been introduced: the shared component covers exactly the same feature set as the existing APM transactions table.

Note

Migrating the existing APM transactions table to use this shared component is tracked as a follow-up:

How to test

Start Storybook for kbn-apm-ui-shared:

yarn storybook kbn-apm-ui-shared
  • Open shared/TransactionsTable and verify all stories render: Default, Loading, Empty, MaxCountExceeded (shows cardinality warning and triggers onSearchQueryChange on search), WithHeaderActions, and Complete (sparklines, comparison bars, alerts badge, and actions menu).
  • Open shared/ActionsMenu and verify FlatActions, GroupedActions, and WithSubPanel: the menu opens on click, navigates to the sub-panel, and closes after selecting an action.
  • Open shared/Sparkline and verify line and bar variants, loading state, and the null-gap dotted-line rendering.

@iblancof iblancof self-assigned this Jun 1, 2026
@iblancof iblancof requested review from a team as code owners June 1, 2026 10:03
@iblancof iblancof added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:obs-exploration Observability Exploration team v9.5.0 labels Jun 1, 2026
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

Pinging @elastic/obs-exploration-team (Team:obs-exploration)

@kibanamachine
Copy link
Copy Markdown
Contributor

kibanamachine commented Jun 1, 2026

💔 Build Failed

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 2265 2271 +6
unifiedDocViewer 985 991 +6
total +12

Async chunks

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

id before after diff
apm 2.8MB 2.8MB +323.0B
unifiedDocViewer 686.2KB 686.5KB +315.0B
total +638.0B

History

cc @iblancof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:obs-exploration Observability Exploration team v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[APM] Decouple TransactionsTable from APM

2 participants