Skip to content

Migrate Firehydrant Plugin From MUI to BUI - #10148

Open
AmbrishRamachandiran wants to merge 12 commits into
backstage:mainfrom
AmbrishRamachandiran:firehydrant-migration
Open

AmbrishRamachandiran wants to merge 12 commits into
backstage:mainfrom
AmbrishRamachandiran:firehydrant-migration

Conversation

@AmbrishRamachandiran

@AmbrishRamachandiran AmbrishRamachandiran commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Part of #7869 (migration of community-maintainer-owned plugins from MUI to BUI).

Screenshots

Service card – light theme (half, one-third and full width)

Service card – light theme (half, one-third and full width)

Service card – dark theme

Service card – dark theme

Service not in FireHydrant – light theme

Service not in FireHydrant – light theme

Service not in FireHydrant – dark theme

Service not in FireHydrant – dark theme

@backstage-goalie

backstage-goalie Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

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

@AmbrishRamachandiran
AmbrishRamachandiran marked this pull request as ready for review August 27, 2026 09:50
@AmbrishRamachandiran
AmbrishRamachandiran requested a review from a team as a code owner August 27, 2026 09:50
@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

@hopehadfield can you please take a look when you get time TIA

@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 follow up @AmbrishRamachandiran, more changes needed though.

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

Thanks for the follow up @AmbrishRamachandiran, more changes needed though.

@awanlin thanks for the review i have updated the changes please take a look

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

Commenting to avoid stale

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

Sorry for the delayed review! I've left a few comments to be addressed.

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

Sorry for the delayed review! I've left a few comments to be addressed.

@hopehadfield thanks for review can you take a look i have resolved the review comments

@hopehadfield

Copy link
Copy Markdown
Contributor

One last thing, could we update the react and react-dom peer and dev dependency ranges to ^18.2.0, and react-router-dom to ^6.30.2? The new BUI and Remixicon dependencies require those versions, but the plugin still advertises support for older ones. We should also narrow @types/react to ^18.0.0.

Once that is done and the merge conflict is resolved, this should be good to go!

Signed-off-by: AmbrishRamachandiran <[email protected]>
Signed-off-by: AmbrishRamachandiran <[email protected]>
Signed-off-by: AmbrishRamachandiran <[email protected]>
Signed-off-by: AmbrishRamachandiran <[email protected]>
Signed-off-by: AmbrishRamachandiran <[email protected]>
Signed-off-by: AmbrishRamachandiran <[email protected]>
@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

One last thing, could we update the react and react-dom peer and dev dependency ranges to ^18.2.0, and react-router-dom to ^6.30.2? The new BUI and Remixicon dependencies require those versions, but the plugin still advertises support for older ones. We should also narrow @types/react to ^18.0.0.

Once that is done and the merge conflict is resolved, this should be good to go!

changes done @hopehadfield can you take a look now

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

On item that still needs to be addressed.

Signed-off-by: AmbrishRamachandiran <[email protected]>
@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

@hopehadfield @awanlin can we merge this?

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

can we merge this team?

@hopehadfield

Copy link
Copy Markdown
Contributor

@awanlin I think this still needs your approval to merge

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

@awanlin sorry to ping can we merge this so that I can open other migration PRs as we have a limit to 3

@hopehadfield

Copy link
Copy Markdown
Contributor

Noting that this is related to #7869. @AmbrishRamachandiran can you please link this issue in any other MUI to BUI migration PRs you have up for maintainer-owned workspaces?

Signed-off-by: AmbrishRamachandiran <[email protected]>
@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

@awanlin I believe all the requested changes are addressed now (all review threads are resolved), and I've linked #7869 in the description as Hope asked. Could you take another look when you have a moment? Thanks!

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

The UI changes introduce unreadable warning text in dark mode and non-wrapping buttons that overflow narrower entity cards.

2 open issues
What changed in this PR

Updates the FireHydrant plugin for the Material UI to Backstage UI migration tracked in #7869.

Changes:

  • Replaces service-details layout, typography, buttons, and icons with BUI and Remix equivalents.
  • Moves service-details and analytics styling from makeStyles into CSS modules.
  • Updates dependencies and peer requirements, with a major changeset documenting the BUI requirement.
File Description
workspaces/​firehydrant/​yarn.lock Updates resolved UI, React, and routing dependencies.
workspaces/​firehydrant/​plugins/​firehydrant/​src/​components/​ServiceDetailsCard/​ServiceDetailsCard.tsx Migrates service-details controls and layout to BUI.
workspaces/​firehydrant/​plugins/​firehydrant/​src/​components/​ServiceDetailsCard/​ServiceDetailsCard.module.css Adds extracted service-details styles.
workspaces/​firehydrant/​plugins/​firehydrant/​src/​components/​ServiceAnalytics/​ServiceAnalytics.tsx Replaces makeStyles with a CSS module; retains the existing table.
workspaces/​firehydrant/​plugins/​firehydrant/​src/​components/​ServiceAnalytics/​ServiceAnalytics.module.css Preserves analytics overflow and column-width styling.
workspaces/​firehydrant/​plugins/​firehydrant/​package.json Replaces direct MUI dependencies and updates peer requirements.
workspaces/​firehydrant/​.changeset/​smooth-rats-build.md Documents the breaking BUI requirement and links installation guidance.

Review effort: Balanced

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

Hi @AmbrishRamachandiran, there's a merge conflict and new comments from Copilot that need to be addressed.

Signed-off-by: AmbrishRamachandiran <[email protected]>

# Conflicts:
#	workspaces/firehydrant/plugins/firehydrant/package.json
#	workspaces/firehydrant/plugins/firehydrant/src/components/ServiceDetailsCard/ServiceDetailsCard.tsx
#	workspaces/firehydrant/yarn.lock
- Use the BUI Alert for the missing-service message so its colours follow
  the theme (the custom banner was unreadable in dark mode)
- Let the action buttons and the header row wrap in narrow entity cards
- Replace hard-coded colours and spacing in the card styles with BUI
  tokens, and use the BUI Link styling for incident links
- Use iconStart for ButtonLink icons and BUI spacing props instead of
  inline styles

Signed-off-by: AmbrishRamachandiran <[email protected]>
@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

Thanks @awanlin changes are completed please check latest screens (PDF): updated screens

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.

🟢 Approval recommended

No active review issues remain for the FireHydrant UI migration.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

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

Alright, Copilot is happy and once I see the images I'm likely happy to approve. Putting them in a PDF file is not acceptable @AmbrishRamachandiran.

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

@awanlin resolved also updated screenshot in description please review

@AmbrishRamachandiran

Copy link
Copy Markdown
Contributor Author

Thanks @awanlin, the screenshots (light and dark theme, different card widths) are now in the PR description.

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.

6 participants