Skip to content

migrate mui to bui - #10283

Closed
amitkumar489 wants to merge 11 commits into
backstage:mainfrom
Infosys:ilert_mig_mui_bui
Closed

amitkumar489 wants to merge 11 commits into
backstage:mainfrom
Infosys:ilert_mig_mui_bui

Conversation

@amitkumar489

Copy link
Copy Markdown

Hey, I just made a Pull Request!

migrate ilert from mui to bui

✔️ 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)
ilertnew ilertold

Signed-off-by: amitkumar489 <[email protected]>
@backstage-goalie

backstage-goalie Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-ilert workspaces/ilert/plugins/ilert minor v0.25.0

@amitkumar489
amitkumar489 marked this pull request as ready for review September 14, 2026 21:24
@amitkumar489
amitkumar489 requested a review from a team as a code owner September 14, 2026 21:24
@amitkumar489
amitkumar489 requested a review from 04kash September 14, 2026 21:24
@amitkumar489

Copy link
Copy Markdown
Author

@04kash pls review

@github-actions

github-actions Bot commented Nov 4, 2026

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!

@04kash 04kash left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey, left a few comments. Menus look good. Main gaps are native widgets instead of BUI, a few color tokens, and the changeset not calling out the break.

'@backstage-community/plugin-ilert': minor
---

Migrate plugin from mui to bui

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a breaking change for consumers (they now need Backstage UI). Mind calling that out? Minor is fine since the plugin is still pre-1.0.

Suggested change
Migrate plugin from mui to bui
**BREAKING** Migrated from Material UI (MUI) to Backstage UI (BUI). Backstage UI is now required for this plugin, see the [installation docs](https://ui.backstage.io/get-started/installation).

"@material-ui/lab": "4.0.0-alpha.61",
"@material-ui/pickers": "^3.3.10",
"@backstage/ui": "backstage:^",
"@remixicon/react": "^4.2.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we pin this to >=4.6.0 <4.9.0? 4.9 changed its license, and that's the range the other BUI migrations are using.

*/
@layer components {
.alertInfo {
background-color: var(--bui-bg-surface-2);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

--bui-bg-surface-* is deprecated. Can we use --bui-bg-neutral-* here (and --bui-border-1 / --bui-border-2 for the borders)? Same in the other new css modules.

*/
@layer components {
.resolved {
background-color: #4caf50;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These hardcoded colors won't follow the theme. Tag with the status tokens (--bui-positive-bg, --bui-warning-bg, --bui-negative-bg) would match the other migrations.

<label htmlFor="user-select" className={styles.label}>
User
</label>
<select

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could this be a BUI Combobox, and DatePicker for the start/end fields below, instead of a native select and datetime-local? toISOString().slice(0, 16) also shows UTC in a local input. Same pattern in the assign and create-alert modals.

{/* eslint-disable-next-line react/forbid-elements */}
<div className={styles.selectContainer}>
{/* eslint-disable-next-line react/forbid-elements */}
<button

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The forbid-elements disables are a smell. A BUI Select or Checkbox should cover the status filter without a custom dropdown.

@@ -28,14 +27,6 @@ import { TableTitle } from './TableTitle';
import { Table, TableColumn } from '@backstage/core-components';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is still the core-components table, which is MUI under the hood. Mind switching it to the BUI Table? Same for the services and status page tables.

</Link>
</Typography>
<MenuTrigger>
<ButtonIcon icon={<RiMore2Line size={16} />} variant="secondary" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ButtonIcon needs an aria-label here (the alert menu uses aria-label="more"). Same on the status page actions menu.

<PhoneIcon color="secondary" />
</IconButton>
</Tooltip>
<a href={`tel:${phoneNumber}`} title="Call to user">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A ButtonIcon inside an <a> is a button nested in a link, and it has no accessible name. Could this be a ButtonLink with an aria-label instead of title? Same for the email action below.

@github-actions github-actions Bot closed this Nov 23, 2026
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.

3 participants