Repository navigation
Redesigned Tech Radar - #8922
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
|
There was a problem hiding this comment.
Pull request overview
Implements the redesigned Tech Radar UI using Backstage UI (BUI) components, adding quadrant/ring filtering and a new radar rendering implementation while removing the legacy MUI-based components.
Changes:
- Replaces the legacy Tech Radar page/component and radar rendering pipeline with a new BUI-based implementation (new Radar plot, blips, accordion, legends, and filter context).
- Adds filtering utilities and UI (search + ring/quadrant filters + quadrant focus/zoom interactions) with associated tests.
- Updates dependencies, workspace/app setup, and docs/changeset to reflect the move to
@backstage/uiand CSS side effects.
Reviewed changes
Copilot reviewed 86 out of 89 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| workspaces/tech-radar/yarn.lock | Adds/updates locked dependencies for BUI, react-aria, luxon, lucide, clsx, etc. |
| workspaces/tech-radar/plugins/tech-radar/src/utils/types.ts | Removes legacy type definitions tied to the old implementation. |
| workspaces/tech-radar/plugins/tech-radar/src/utils/segment.js | Removes legacy JS Segment implementation used for blip placement. |
| workspaces/tech-radar/plugins/tech-radar/src/utils/components.tsx | Removes legacy link/helpers used by the old UI. |
| workspaces/tech-radar/plugins/tech-radar/src/util/polyfills/getBBox.ts | Adds a Jest/JSDOM getBBox polyfill for SVG-related tests. |
| workspaces/tech-radar/plugins/tech-radar/src/util/filterTechRadarBlips.ts | Adds the core blip filtering logic (search + ring/quadrant filters). |
| workspaces/tech-radar/plugins/tech-radar/src/util/filterTechRadarBlips.test.ts | Adds unit tests for blip filtering behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/util/cn.ts | Replaces prior export with a clsx-based className helper. |
| workspaces/tech-radar/plugins/tech-radar/src/types.ts | Introduces new shared types (Blip, ProcessedEntry, Ring, Quadrant, snapshots) for the redesign. |
| workspaces/tech-radar/plugins/tech-radar/src/plugin.ts | Switches routable extension to TechRadarPage and adds a TechRadarComponent component extension. |
| workspaces/tech-radar/plugins/tech-radar/src/index.ts | Updates public exports to the new extension-based API; removes deprecated Router export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/index.ts | Removes legacy component barrel exports. |
| workspaces/tech-radar/plugins/tech-radar/src/components/hooks/useTechRadarLoader.ts | Adds a loader hook for fetching the radar file data and posting errors. |
| workspaces/tech-radar/plugins/tech-radar/src/components/hooks/useComponents.ts | Adds a component-context wrapper over @backstage/ui components to allow customization. |
| workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarPage.tsx | Adds the new top-level page that wraps the main component in Backstage Page/Header/Content. |
| workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarContent.tsx | Adds the new main layout: search, filter dropdown, fullscreen toggle, quadrant controls, radar + accordion. |
| workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarContent.module.css | Adds styles for the new layout and fullscreen/sticky behaviors. |
| workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarComponent.tsx | Adds the new main component: loads data, processes rings/quadrants/entries, places blips, wires contexts. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarTimeline/index.ts | Removes legacy “timeline” barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarTimeline/RadarTimeline.tsx | Removes the legacy MUI table timeline component. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarTimeline/RadarTimeline.test.tsx | Removes tests for the legacy timeline component. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/segment.ts | Adds a new typed Segment implementation used for deterministic point generation/clipping. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/radarPlotUtils.ts | Adds new processing and blip placement utilities (force simulation, ring/quadrant adjustment). |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/radarArcUtil.ts | Adds utilities for describing ring/quadrant arcs and label paths for SVG rendering. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/index.ts | Removes legacy RadarPlot barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/RadarPlot.tsx | Removes legacy radar plot renderer. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/RadarPlot.test.tsx | Removes legacy radar plot tests. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/Radar.tsx | Adds the new SVG radar renderer and the blips/labels overlay. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/Radar.test.tsx | Adds tests for the new radar renderer and label/blip rendering. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/Radar.module.css | Adds styles for the new radar SVG, labels, and focusable blips. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPage.tsx | Removes the legacy page implementation (MUI layout + filter input). |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarPage.test.tsx | Removes tests for the legacy page implementation. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/utils.ts | Removes legacy legend segmentation utilities. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/index.ts | Removes legacy legend barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegendRing.tsx | Removes legacy ring legend component. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegendQuadrant.tsx | Removes legacy quadrant legend component. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegendLink.tsx | Removes legacy legend link/details behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegend.tsx | Removes legacy SVG foreignObject-based legend implementation. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegend.test.tsx | Removes tests for the legacy legend. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarGrid/index.ts | Removes legacy grid barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarGrid/RadarGrid.tsx | Removes legacy grid (rings/axes) component. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarGrid/RadarGrid.test.tsx | Removes tests for the legacy grid. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFooter/index.ts | Removes legacy footer barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFooter/RadarFooter.tsx | Removes legacy footer component. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFooter/RadarFooter.test.tsx | Removes tests for the legacy footer. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilterContext.tsx | Adds filter/search/quadrant-focus context for coordinating UI and analytics. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilter/TechRadarFilter.tsx | Adds ring/quadrant multi-select dropdown filter UI (BUI MenuAutocompleteListbox). |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilter/TechRadarFilter.test.tsx | Adds tests for filter placeholder/selection behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilter/TechRadarFilter.module.css | Adds styles for the new filter dropdown/button. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarEntry/RadarEntry.tsx | Removes legacy blip/entry renderer and description dialog trigger behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarEntry/RadarEntry.test.tsx | Removes tests for legacy entry renderer. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarDescription/index.ts | Removes legacy description barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarDescription/RadarDescription.tsx | Removes legacy MUI Dialog-based blip description/details. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarDescription/RadarDescription.test.tsx | Removes tests for legacy description dialog. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarComponent.tsx | Removes legacy “RadarComponent” implementation and its prop surface (id/width/height/svgProps/searchText). |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBubble/index.ts | Removes legacy hover bubble barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBubble/RadarBubble.tsx | Removes legacy hover bubble implementation. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBubble/RadarBubble.test.tsx | Removes tests for the legacy hover bubble. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlipDetails/RadarBlipDetails.tsx | Adds a BUI Dialog that shows a blip’s timeline history and a “Learn more” link. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlipDetails/RadarBlipDetails.test.tsx | Adds tests for the details dialog rendering and close behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlipDetails/RadarBlipDetails.module.css | Adds table/dialog styling for the details dialog. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlip/RadarBlip.tsx | Adds the new blip SVG rendering (circle/triangle, selection ring, optional label text). |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlip/RadarBlip.test.tsx | Adds tests ensuring blip shape varies based on “moved” state. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlip/RadarBlip.module.css | Adds styles for blip visibility/muting/selection and label text. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.tsx | Adds the new ring-grouped accordion list with legend modal and details modal integration. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.test.tsx | Adds tests for accordion rendering, selection behavior, and scroll-into-view behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.module.css | Adds styles for the ring headers and accordion list. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Radar/utils.ts | Removes legacy utilities for quadrant/entry/ring adjustment and legend sizing. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Radar/index.ts | Removes legacy Radar barrel export. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Radar/Radar.tsx | Removes legacy radar wrapper that depended on the old plot/legend pipeline. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Radar/Radar.test.tsx | Removes tests for the legacy radar wrapper. |
| workspaces/tech-radar/plugins/tech-radar/src/components/QuadrantFilter/QuadrantFilterButtons.tsx | Adds quadrant focus control UI (clickable quadrant overlay). |
| workspaces/tech-radar/plugins/tech-radar/src/components/QuadrantFilter/QuadrantFilterButtons.test.tsx | Adds tests for quadrant focus button behavior. |
| workspaces/tech-radar/plugins/tech-radar/src/components/QuadrantFilter/QuadrantFilterButtons.module.css | Adds styles for the quadrant selector control. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Legend/TrendLegend.tsx | Adds a trend legend (new/up/down) with tooltips. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Legend/TrendLegend.test.tsx | Updates/adds tests ensuring trend legend items render. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Legend/TrendLegend.module.css | Adds styles for the trend legend. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Legend/RingLegend.tsx | Adds ring legend content that previews highlighted ring segments and shows ring descriptions. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Legend/RingLegend.test.tsx | Adds tests for ring legend rendering. |
| workspaces/tech-radar/plugins/tech-radar/src/components/Legend/RingLegend.module.css | Adds styles for ring legend items and preview layout. |
| workspaces/tech-radar/plugins/tech-radar/src/alpha.tsx | Updates alpha page loader to use TechRadarPage and retains nav icon wiring. |
| workspaces/tech-radar/plugins/tech-radar/package.json | Bumps major version, adds BUI/react-aria/luxon/lucide deps, and updates CSS sideEffects config. |
| workspaces/tech-radar/plugins/tech-radar/README.md | Updates usage/docs to match the new page/component API and testing approach. |
| workspaces/tech-radar/packages/app/src/index.tsx | Imports BUI global CSS styles into the example app. |
| workspaces/tech-radar/packages/app/src/App.tsx | Updates app route usage to TechRadarPage without width/height props. |
| workspaces/tech-radar/packages/app/package.json | Adds @backstage/ui dependency to the example app. |
| workspaces/tech-radar/package.json | Adds @backstage/ui dependency at the workspace root. |
| workspaces/tech-radar/.changeset/lazy-icons-walk.md | Adds changeset describing the major/redesign change and required BUI setup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 86 out of 89 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Hi @evanlankveld, could you look into fixing the CI errors? |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 87 out of 90 changed files in this pull request and generated 5 comments.
Comments suppressed due to low confidence (3)
workspaces/tech-radar/plugins/tech-radar/src/util/cn.ts:20
clsxis typically the default export of theclsxpackage; importing it as a named export ({ clsx }) is likely to beundefinedat runtime / fail type-checking. Consider switching to a default import (and keepClassValueas a type import) socn()works as intended.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.tsx:237blip.timeline[0].descriptionwill throw iftimelineis empty (the schema permits empty arrays). Please guard for missing timeline entries (or ensure timelines are validated as non-empty before this component renders).
)}
</Flex>
<div>{blip.timeline[0].description}</div>
<Link
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/radarPlotUtils.ts:100
- The error construction here uses
entry.quadrant.name/entry.ring.name, butquadrant/ringcan beundefinedif the lookup fails, which would throw aTypeErrorwhile building the error message (masking the real issue). Consider using ids/strings in the message (or optional chaining) so invalid data produces a deterministic, helpful error.
sorry for the delay, they are fixed now! |
|
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! |
|
Hi @evanlankveld, really sorry this isn't getting the review it needs to move things forward. Can you rebase to resolve the conflicts. I'm going to review it as is that way you get feedback a bit sooner 👍 |
awanlin
left a comment
There was a problem hiding this comment.
Thanks for the contribution @evanlankveld! This is a really solid redesign. A few issues I'd like to see addressed before merging:
1. Duplicate SVG clipPath IDs — RadarBlip.tsx generates clip-${ring.id} for the clip path, but multiple blips share the same ring. This produces duplicate IDs in the SVG DOM, causing incorrect clipping. Should use blip.id or similar to ensure uniqueness.
2. largeArcFlag compares radians to 180 — In radarArcUtil.ts (~lines 37 and 86), endAngle - startAngle <= 180 is used, but the angles are in radians (from Math.PI). Should compare against Math.PI instead. This will produce wrong SVG arc paths for certain configurations.
3. In-place sort mutation during render — RadarAccordion.tsx:179 calls blip.timeline?.sort(...) which mutates context state in-place. Should sort a copy instead ([...blip.timeline].sort(...)).
4. blip.timeline[0] access without guard — Multiple places (radarPlotUtils.ts:42,93, RadarAccordion.tsx:237) access timeline[0] without checking for empty arrays. The schema permits empty timelines, so this can throw.
5. @material-ui/core still in dependencies — The diff removes all MUI core imports but leaves @material-ui/core in package.json dependencies. It's only needed transitively via @material-ui/icons (used in alpha.tsx). Should either remove it or migrate the remaining icon usage.
6. Removed Router export — The current index.ts exports Router as a deprecated alias. The new code drops it entirely. Since this is a major bump it's technically fine, but worth mentioning in the changeset so consumers using Router know about it.
7. handleSelectedBlip(undefined) clears search — In RadarFilterContext.tsx:82, deselecting a blip (undefined) triggers clearing the search term because !blip?.visible evaluates to true for undefined. Should guard with if (blip && !blip.visible).
|
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! |
|
Sorry for the delay on my side too, the feedback has been processed. |
awanlin
left a comment
There was a problem hiding this comment.
Thanks for the follow up @evanlankveld, did another deep dive and left various comments. We also need to address the Copilot comments. Finally the CI is failing so we need to fix that up too.
Once this is done then I feel like we should be able to merge and then iterate on things from there. 👍
| } | ||
|
|
||
| .ringTitle { | ||
| text-transform: capitalize; |
There was a problem hiding this comment.
Think this needs a CSS class.
There was a problem hiding this comment.
Not sure what you mean here. All other comments should be resolved 👍
|
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! |
|
Hi @evanlankveld, sorry I missed that you had made updates to this PR and it never got another review. If you can rebase and get the CI green we can probably merge this. |
|
Rebased now! 👍 |
awanlin
left a comment
There was a problem hiding this comment.
Thanks for working through all the earlier feedback @evanlankveld, everything from the last round looks resolved 🎉 A few last things before we merge:
1. Changeset needs more detail for a major bump
Since this is a breaking change, adopters need to know what to update. Could you expand the changeset to cover:
- The
RouterandRadarPageexports have been removed. UseTechRadarPageinstead. - The
width,height,svgPropsandsearchTextprops have been removed fromTechRadarPageandTechRadarComponent. Thewidthandheightconfig options on the new frontend system page extension have also been removed. - Apps using the legacy frontend system need to import
@backstage/ui/css/styles.css, for example inpackages/app/src/index.tsx, or the radar won't be styled. Please add this to the README too.
2. customComponents and defaultComponents in the public API
Exporting these makes about 18 @backstage/ui prop types part of this plugin's public API (see report.api.md). BUI is still pre-1.0 and changes often, so any breaking BUI change would also be a breaking change here. Could we either mark these @alpha or leave them out for now and add them later if there's demand? Once they ship as public, they're hard to take back.
3. Dependencies
- We're using both
lucide-reactand@remixicon/react. Please switch thelucide-reacticons over to Remix Icon and droplucide-react, so we stay consistent with BUI. luxonlooks like it's only used for date formatting. If that can be done withIntl.DateTimeFormatortoLocaleDateString, we can drop the dependency (and@types/luxon).
Once these are sorted and the merge conflicts are resolved, I think we're good to merge and iterate from there 👍
Redesign the Tech Radar plugin on top of Backstage UI, replacing the Material UI implementation, and add filtering by quadrant and ring. Rebased onto main and finished off review feedback: - Expanded the changeset and README with migration steps - Kept customComponents/defaultComponents out of the public API - Switched icons from lucide-react to Remix Icon, dropped luxon - Ported main's coreApis.error, external link and BUI header changes - Rendered entry and timeline descriptions as Markdown again - Added local mock data to the dev app Signed-off-by: Emiel van Lankveld <[email protected]> Co-authored-by: Andre Wanlin <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Andre Wanlin <[email protected]>
|
Hi @evanlankveld, apologies again for how long this one has taken. I wanted to get it over the line, so I've pushed the remaining changes to your branch myself:
Thanks for the great work on this redesign! 🎉 |
- Avoid a duplicate page header in the new frontend system by letting the app render it, and drop the now unused subtitle config option - Clarify that any app must import the Backstage UI styles, not only legacy ones, and add the import to the app-next dev app - Replace the deprecated appThemeApiRef with coreApis.appTheme - Share the same mock data between the legacy and app-next dev apps Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Andre Wanlin <[email protected]>
|
@awanlin thanks for getting it over the line! I haven't exactly been quick to respond myself so no worries! 👍 |

Hey, I just made a Pull Request!
Made a big mess of the code signing in #7939, so decided to open a new PR.
Implemented the new Tech Radar design as proposed in this RFC. The filter dropdown allows filtering on quadrant and ring, other advanced filters are not included at this time.
Aside from using BUI components instead of MUI, it has no breaking changes. Users can upgrade and keep using their same JSON source file.
Screenshots:
✔️ Checklist
Signed-off-byline in the message. (more info)