Skip to content

puppetdb migration from MUI to BUI - #10948

Open
AdityaK60 wants to merge 1 commit into
backstage:mainfrom
AdityaK60:aditya/migrate-puppetdb-mui-to-bui
Open

AdityaK60 wants to merge 1 commit into
backstage:mainfrom
AdityaK60:aditya/migrate-puppetdb-mui-to-bui

Conversation

@AdityaK60

Copy link
Copy Markdown
Contributor

Hey, I just made a Pull Request!

Migrated the PuppetDB plugin from Material UI (MUI) to Backstage UI (BUI).

This updates the report tables and report details tabs to use Backstage UI components and CSS modules, while preserving the existing user-facing layout and behavior.

Screenshots

Before

puppetdb_dark_before puppetdb_light_before

After

puppetdb_light_after puppetdb_dark_after

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@backstage-goalie

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-puppetdb workspaces/puppetdb/plugins/puppetdb major v0.22.0

@AdityaK60
AdityaK60 marked this pull request as ready for review October 6, 2026 03:53
@AdityaK60
AdityaK60 requested a review from a team as a code owner October 6, 2026 03:53
@AdityaK60
AdityaK60 requested a review from Parsifal-M October 6, 2026 03:53
@Parsifal-M
Parsifal-M requested a balanced review from Copilot October 7, 2026 06:27

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.

Copilot review overview

🟡 Changes recommended

Invalid BUI tokens, a missing dev stylesheet import, and insufficient tab regression coverage remain unresolved.

Review effort: Balanced
Findings: 2 Medium severity · 1 Low severity

Open (3)
What changed in this PR

Migrates PuppetDB report views from MUI to Backstage UI while retaining existing functionality.

Changes:

  • Replaces MUI typography, cards, and tabs with BUI components.
  • Moves styling to CSS modules and updates dependencies.
  • Adds a breaking-change changeset.
File Description
workspaces/​puppetdb/​yarn.lock Updates locked BUI dependency metadata.
ReportsTable.tsx Migrates report table text to BUI.
ReportsTable.module.css Styles empty report states.
ReportDetailsPage.tsx Migrates cards and tabs to BUI.
ReportDetailsPage.module.css Defines report-detail layout and tab styles.
ReportDetailsLogsTable.tsx Migrates log text and status colors.
ReportDetailsLogsTable.module.css Styles empty log states.
ReportDetailsEventsTable.tsx Migrates event table text to BUI.
ReportDetailsEventsTable.module.css Styles empty event states.
package.json Replaces MUI with the BUI dependency.
.changeset/​puppetdb-mui-to-bui.md Documents the breaking migration.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +24 to +25
border-bottom: 1px solid var(--bui-border);
background-color: var(--bui-bg-surface-0);
Comment on lines +22 to +25
Card,
CardBody,
Flex,
Tab,
Comment on lines +54 to +58
<Tabs>
<TabList className={styles.tabs}>
<Tab id="events" className={styles.tab}>
Events
</Tab>
@github-actions

Copy link
Copy Markdown
Contributor

This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution!

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.

🟡 Changes recommended

BUI Text overrides report-link colors, making navigation look like ordinary table text, while unsupported CSS tokens remove the report-details tabs’ intended divider and background.

4 open issues

Review effort: Balanced

Comment on lines +63 to +65
<Text truncate>{rowData.configuration_version}</Text>
) : (
<Typography noWrap>
<Text truncate>

@awanlin awanlin 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.

Thanks for the contribution @AdityaK60, there's a merge conflict and Copilot left some comments that need to be addressed.

@awanlin awanlin self-assigned this Nov 27, 2026

This branch has not been deployed

No deployments
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