Repository navigation
Migrate Firehydrant Plugin From MUI to BUI - #10148
AmbrishRamachandiran wants to merge 12 commits into
Conversation
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
|
@hopehadfield can you please take a look when you get time TIA |
awanlin
left a comment
There was a problem hiding this comment.
Thanks for the follow up @AmbrishRamachandiran, more changes needed though.
@awanlin thanks for the review i have updated the changes please take a look |
|
Commenting to avoid stale |
hopehadfield
left a comment
There was a problem hiding this comment.
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 |
|
One last thing, could we update the 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]>
Signed-off-by: AmbrishRamachandiran <[email protected]>
…y ranges Signed-off-by: AmbrishRamachandiran <[email protected]>
changes done @hopehadfield can you take a look now |
awanlin
left a comment
There was a problem hiding this comment.
On item that still needs to be addressed.
Signed-off-by: AmbrishRamachandiran <[email protected]>
|
@hopehadfield @awanlin can we merge this? |
|
can we merge this team? |
|
@awanlin I think this still needs your approval to merge |
|
@awanlin sorry to ping can we merge this so that I can open other migration PRs as we have a limit to 3 |
|
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]>
There was a problem hiding this comment.
🟡 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
makeStylesinto 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
left a comment
There was a problem hiding this comment.
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]>
|
Thanks @awanlin changes are completed please check latest screens (PDF): updated screens |
awanlin
left a comment
There was a problem hiding this comment.
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.
|
@awanlin resolved also updated screenshot in description please review |
|
Thanks @awanlin, the screenshots (light and dark theme, different card widths) are now in the PR description. |

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 – dark theme
Service not in FireHydrant – light theme
Service not in FireHydrant – dark theme