Skip to content

Fixes #39051 - Add expandable info to leapp reports#166

Merged
MariaAga merged 1 commit intotheforeman:masterfrom
kmalyjur:job-inv-leapp-info
Feb 16, 2026
Merged

Fixes #39051 - Add expandable info to leapp reports#166
MariaAga merged 1 commit intotheforeman:masterfrom
kmalyjur:job-inv-leapp-info

Conversation

@kmalyjur
Copy link
Contributor

@kmalyjur kmalyjur commented Feb 2, 2026

Adds expanding functionality and expandable information to the new Leapp preupgrade report table on the job invocation detail page.

Before:
image

After:
image

The test was created with the help of AI.

@Lukshio Lukshio self-assigned this Feb 3, 2026
@Lukshio Lukshio removed their assignment Feb 3, 2026
@MariaAga MariaAga self-assigned this Feb 3, 2026
@MariaAga MariaAga requested a review from Copilot February 3, 2026 14:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds row-level expansion (and an expand-all control) to the Leapp preupgrade report table shown on the job invocation detail page, rendering additional per-entry details when expanded.

Changes:

  • Add expandable row rendering for Leapp report entries and manage expanded-row state.
  • Introduce a ReportDetails component to display expanded per-entry metadata (summary/tags/links/remediations).
  • Add/extend RTL tests to cover section expansion, row expansion, expand-all, pagination, and non-Leapp jobs.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
webpack/components/PreupgradeReportsTable/index.js Implements outer section expansion + inner expandable table rows (including expand-all wiring).
webpack/components/PreupgradeReportsTable/tests/PreupgradeReportsTable.test.js Adds tests for expanded content, expand-all, pagination, and rendering conditions.
webpack/components/PreupgradeReportsTable/ReportDetails.js New expanded-row details renderer (description list with labels/links/remediations).
webpack/components/PreupgradeReportsTable/PreupgradeReportsTable.scss Styles to preserve whitespace in expanded detail descriptions.

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

@kmalyjur kmalyjur requested review from MariaAga February 5, 2026 12:05
@kmalyjur kmalyjur force-pushed the job-inv-leapp-info branch 2 times, most recently from f0beee4 to 318fa5a Compare February 5, 2026 13:54
Copy link
Member

@MariaAga MariaAga left a comment

Choose a reason for hiding this comment

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

Thanks! Tested on packing and it works as it should. I think we should wait after feature freeze to get this in, as it looks like a feature

@MariaAga MariaAga merged commit 9daa105 into theforeman:master Feb 16, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants