Skip to content

PMM-15095: adopt percona-ui navigable rows hooks in RTA overview#5506

Open
mattiasimonato wants to merge 9 commits into
mainfrom
PMM-15095-shared-navigable-table-rows
Open

PMM-15095: adopt percona-ui navigable rows hooks in RTA overview#5506
mattiasimonato wants to merge 9 commits into
mainfrom
PMM-15095-shared-navigable-table-rows

Conversation

@mattiasimonato

@mattiasimonato mattiasimonato commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Ticket number: PMM-15095

Feature build: SUBMODULES-4414

  • Replace hand-rolled MRT filter/sort/ref wiring in OverviewTable with useNavigableRows from @percona/percona-ui
  • Replace manual prev/next index logic in RealtimeOverview with useDetailsPaneNavigation from @percona/percona-ui

This refactor keeps the same RTA overview behavior introduced in #5397 (details pane arrows respect table filters and sort order) while removing duplicated glue code now shared upstream in percona-ui.

@mattiasimonato mattiasimonato requested a review from Copilot June 17, 2026 07:28
@mattiasimonato mattiasimonato requested a review from a team as a code owner June 17, 2026 07:28
@mattiasimonato mattiasimonato requested review from fabio-silva and matejkubinec and removed request for a team June 17, 2026 07:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the RTA (Real-Time Analytics) overview page to use shared navigation/table hooks from @percona/percona-ui, removing locally maintained glue code while preserving the existing “details pane arrows follow filtered/sorted table rows” behavior introduced previously.

Changes:

  • Refactors OverviewTable to use useNavigableRows for syncing the navigable (filtered/sorted) row set.
  • Refactors RealtimeOverview to use useDetailsPaneNavigation for prev/next/first/last details-pane navigation state and actions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ui/apps/pmm/src/pages/rta/overview/table/OverviewTable.tsx Replaces hand-rolled MRT state/ref wiring with useNavigableRows, and triggers refresh before selecting a hovered row.
ui/apps/pmm/src/pages/rta/overview/RealtimeOverview.tsx Replaces manual index-based adjacent navigation with useDetailsPaneNavigation and passes its outputs to DetailsPane.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fabio-silva

Copy link
Copy Markdown
Contributor

@mattiasimonato please apply percona-ui@1.0.22, we had a bug after upgrading MRT

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants