Repository navigation
Migrate todo plugin from MUI to BUI - #10276
jaisuriyaNatarajan wants to merge 4 commits into
Conversation
Replace the Material Table with BUI Card/Table/useTable, remove @material-ui/icons in favor of Remix icons, and document the BUI requirement. Signed-off-by: jaisuriyaNatarajan <[email protected]> Co-authored-by: Cursor <[email protected]>
Changed Packages
|
95e6877 to
93e4cd5
Compare
awanlin
left a comment
There was a problem hiding this comment.
Thanks for the contribution @jaisuriyaNatarajan, couple of visual concerns. The search bar take a lot of space, can you have it match what we have for the GitHub actions table here: https://demo.backstage.io/catalog/default/component/backstage-demo/github-actions. Also the title seems pretty large, can you also follow the same as the GitHub actions for that as well, please. 🙏
Signed-off-by: jaisuriyaNatarajan <[email protected]>
Signed-off-by: jaisuriyaNatarajan <[email protected]>
Signed-off-by: jaisuriyaNatarajan <[email protected]>
|
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! |
There was a problem hiding this comment.
🟡 Changes recommended
The change removes file and author filtering, clears filter and sort state when page size changes, and advertises React peer versions incompatible with its new dependencies.
3 open issues
What changed in this PR
Migrates the Todo plugin’s entity-page interface from the legacy Material UI table to Backstage UI, with changes scoped to the todo workspace.
Changes:
- Introduces a BUI table with server-side text filtering, sorting, and offset pagination.
- Adds BUI styling and Remix icons, and updates React dependency ranges.
- Expands component tests and documents the migration requirements.
| File | Description |
|---|---|
workspaces/todo/yarn.lock |
Records UI/icon dependencies and updated React resolutions. |
workspaces/todo/tsconfig.json |
Includes CLI asset declarations for CSS imports. |
workspaces/todo/plugins/todo/src/components/TodoList/TodoList.tsx |
Replaces the legacy table with BUI components and pagination handling. |
workspaces/todo/plugins/todo/src/components/TodoList/TodoList.test.tsx |
Tests entity requests, text filtering, and sorting. |
workspaces/todo/plugins/todo/README.md |
Documents the BUI requirement and setup resources. |
workspaces/todo/plugins/todo/package.json |
Adds BUI and Remix icons and removes React 16 support. |
workspaces/todo/plugins/todo/dev/index.tsx |
Loads BUI styles and replaces MUI icons. |
workspaces/todo/.changeset/migrate-todo-mui-to-bui.md |
Declares a major release and explains the styling requirement. |
Review effort: Balanced
| "react": "^17.0.0 || ^18.0.0", | ||
| "react-dom": "^17.0.0 || ^18.0.0", |
| const filters: NonNullable<TodoListOptions['filters']> = []; | ||
| const text = activeFilter?.text?.trim(); | ||
| if (text) { | ||
| filters.push({ field: 'text', value: `*${text}*` }); | ||
| } |
| // cached page of rows after the page-size dropdown changes. | ||
| return ( | ||
| <TodoListTable | ||
| key={pageSize} |
awanlin
left a comment
There was a problem hiding this comment.
Hi @jaisuriyaNatarajan, thanks for the contribution, there's a merge conflict and comments from Copilot to address. Can you also include before images side by side with the after, for changes like this we really need to have that as it makes reviews much easier 🙏

Hey, I just made a Pull Request!
Migrated
@backstage-community/plugin-todofrom Material UI /@backstage/core-componentsTable to Backstage UI (@backstage/ui.Checklist
Signed-off-byline in the message.screenshot
TODOs table showing the first page with “Show 10 results” (1–10 of 35).
Navigating to the next page shows items 11–20 of 35.
Changing the page size to “Show 20 results” loads 20 rows on the first page (1–20 of 35).
Filtering TODOs by text (also supports file and author filters) updates the table from the server.
Summary
@material-ui/icons; use Remix icons + BUI CSS in the plugin dev app@types/react/ peers; major breaking changesetTest plan