Skip to content

Redesigned Tech Radar - #7939

Closed
evanlankveld wants to merge 0 commit into
backstage:mainfrom
evanlankveld:main
Closed

evanlankveld wants to merge 0 commit into
backstage:mainfrom
evanlankveld:main

Conversation

@evanlankveld

Copy link
Copy Markdown
Contributor

Hey, I just made a Pull Request!

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.

Since the frontend of our own Backstage installation runs on Tailwind, the code does not use BUI's layout containers (e.g. Flex, Grid). To prevent the effort of having to implement the radar twice, we chose to simply include a pre-built CSS file with Tailwind's output in the tech-radar plugin. This can be generated by future contributors by running yarn dev:build-css in this workspace.

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:

1 2 3

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

@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 @evanlankveld, I've left a comment about the use of Tailwind, that's a non-starter and needs to be addressed. I really think there must be a way to do this without needing to have/use Tailwind.

I have not reviewed this in detail, wanted to clear this hurdle first.

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, but this is a non-starter for us. The Design System for Backstage is either Material UI (MUI) for the time being and Backstage UI (BUI) for the long term. The goal of this repo is to reflect plugins that follow the Backstage patterns and conventions. Using Tailwind is not an option here, sorry, I did make an effort to mention this during the SIG where this was presented.

There must be a way to migrate this to work without having Tailwind?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hey, that is fair. We thought it could perhaps be fine since the plugin does not rely on Tailwind, it's just a mechanism to generate custom CSS. It currently has properties like the following:

className="[&_.bui-SearchFieldInputWrapper]:h-10 max-w-80"

We use Tailwind to generate vanilla CSS from this, which is included in the plugin. I didn't find clear guidelines in BUI's documentation for how custom CSS should be included, is there a convention defined somewhere?

We are willing to work on adjustments to adhere to Backstage patterns, though to what extent is this needed?

  1. We can get rid of all Tailwind dependencies / references in the plugin. They only exist now to help future contributors generate the (static) custom CSS, but removing it will have no impact.
  2. If that is not enough, we can replace all layout-related custom CSS with BUI's layout containers (e.g. Box, Flex).
  3. For other custom CSS in the code, it depends on whether Backstage has a clear convention for how that should be structured. For example, in plugins/tech-radar/src/components/RadarBlip/RadarBlip.tsx we add custom classes to SVG elements which in turn applies some styles from the custom CSS file. If there is no convention, perhaps it doesn't matter how the CSS was originally generated? (read: by Tailwind)

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.

Having Tailwind be a part of this creates confusion and gives the impression that it's something the Backstage framework supports when it doesn't and has no plans to.

But I think there is a path forward on this. I need to take a close look at the code to see what can be done. I only did an initial look and wanted to share the feedback I did so you have time to make changes sooner as that would impact a full review.

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.

Oh, one other quick note is that we are using CSS modules for custom CSS at a component level.

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.

Found some time now to give things another look and Tailwind is encoded in all of the components as best I can tell, you really aren't using Backstage UI all that much. Again, I don't think it's impossible to remove all of that but it's what's required for this PR to move forward.

I would expect that there would be no references like this className="hidden h-5 w-5 group-fullscreen:block" or like this className={cn('flex flex-col gap-2')}. I'd also expect that custom CSS would be scoped to the component using CSS modules and there would be no need to generate these styles. Sadly this looks like there's a lot more work needed to get this into a state that would be mergeable.

@clanghout clanghout Mar 11, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for the review and the path forward! We will work on using BUI and CSS modules in the coming weeks.

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

Just leavening these comments as it was part of my review before I stopped as I think we need to address all the encoded Tailwind aspects first.

Comment thread workspaces/tech-radar/package.json Outdated
{
"name": "@internal/tech-radar",
"version": "1.0.0",
"version": "2.0.0",

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.

This doesn't get published and it won't necessarily align with the package versions so we can leave it as is.

Comment thread workspaces/tech-radar/package.json Resolved

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.

Found some time now to give things another look and Tailwind is encoded in all of the components as best I can tell, you really aren't using Backstage UI all that much. Again, I don't think it's impossible to remove all of that but it's what's required for this PR to move forward.

I would expect that there would be no references like this className="hidden h-5 w-5 group-fullscreen:block" or like this className={cn('flex flex-col gap-2')}. I'd also expect that custom CSS would be scoped to the component using CSS modules and there would be no need to generate these styles. Sadly this looks like there's a lot more work needed to get this into a state that would be mergeable.

@backstage-goalie

Copy link
Copy Markdown
Contributor

Thanks for the contribution!
All commits need to be DCO signed before they are reviewed. Please refer to the the DCO section in CONTRIBUTING.md or the DCO status for more info.

@awanlin

awanlin commented Mar 21, 2026

Copy link
Copy Markdown
Contributor

Hi @evanlankveld and @clanghout, can you let me know when this is ready for review? Looks like you've made some changes but I also see a conflict so not sure if I should begin reviewing again or not. 🙏

@clanghout

Copy link
Copy Markdown

Hi @evanlankveld and @clanghout, can you let me know when this is ready for review? Looks like you've made some changes but I also see a conflict so not sure if I should begin reviewing again or not. 🙏

Will do! @evanlankveld you need to either rebase, and maybe squash my commits (and sign), or give me access and I can sign them. Also we need to fix the conflicts and give it a final internal review

@github-actions

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!

@github-actions github-actions Bot added the stale label Apr 23, 2026
@awanlin

awanlin commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Hi! 👋

Looks like the DCO is failing and there are conflicts. Also, is this ready for me to review?

@github-actions github-actions Bot removed the stale label Apr 25, 2026
Copilot AI review requested due to automatic review settings April 28, 2026 08:40
@backstage-goalie

backstage-goalie Bot commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
app workspaces/tech-radar/packages/app none v0.0.3
@backstage-community/plugin-tech-radar workspaces/tech-radar/plugins/tech-radar major v1.18.0

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.

Pull request overview

Implements the redesigned Tech Radar UI (per RFC #634) by replacing the legacy MUI-based radar implementation with new Backstage UI–based components, new filtering/selection state management, and updated plugin exports.

Changes:

  • Replaces the previous radar rendering/legend/components with a new Radar plot + accordion layout and ring/quadrant filtering.
  • Introduces new shared types, filtering utilities, and polyfills to support the new rendering and tests.
  • Updates plugin entrypoints/exports, docs, dependency metadata, and adds/updates unit tests for the new UI building blocks.

Reviewed changes

Copilot reviewed 86 out of 89 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
workspaces/tech-radar/plugins/tech-radar/src/utils/types.ts Removed legacy radar types (superseded by new src/types.ts).
workspaces/tech-radar/plugins/tech-radar/src/utils/segment.js Removed legacy segment placement implementation (replaced by TS version).
workspaces/tech-radar/plugins/tech-radar/src/utils/components.tsx Removed legacy link helper utilities used by old MUI components.
workspaces/tech-radar/plugins/tech-radar/src/util/polyfills/getBBox.ts Adds getBBox polyfill for Jest/JSDOM rendering of SVG.
workspaces/tech-radar/plugins/tech-radar/src/util/filterTechRadarBlips.ts Adds new blip visibility 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 cn helper based on clsx.
workspaces/tech-radar/plugins/tech-radar/src/types.ts Introduces new processed entry/blip/ring/quadrant types for the redesigned UI.
workspaces/tech-radar/plugins/tech-radar/src/plugin.ts Updates routable extension to new page and adds component extension export.
workspaces/tech-radar/plugins/tech-radar/src/index.ts Updates exports (adds TechRadarComponent, removes legacy component exports).
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 New hook for loading radar data via API.
workspaces/tech-radar/plugins/tech-radar/src/components/hooks/useComponents.ts Adds component context to allow overriding Backstage UI primitives.
workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarPage.tsx New page wrapper around the redesigned radar component.
workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarContent.tsx New main layout (search, filter dropdown, fullscreen, plot + accordion).
workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarContent.module.css Styling for the new page layout/fullscreen mode.
workspaces/tech-radar/plugins/tech-radar/src/components/TechRadarComponent.tsx New main component that loads/processes data and provides contexts.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarTimeline/index.ts Removes legacy timeline component barrel.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarTimeline/RadarTimeline.tsx Removes legacy MUI table-based timeline UI.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarTimeline/RadarTimeline.test.tsx Removes legacy timeline tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/segment.ts New TS segment logic for deterministic blip placement.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/radarPlotUtils.ts New utilities to process loader data, place blips, and size rings/quadrants.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/radarArcUtil.ts Adds SVG arc/path helpers for ring/quadrant 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 plot composition (grid/legend/footer/bubble/entries).
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/RadarPlot.test.tsx Removes legacy RadarPlot tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/Radar.tsx New SVG radar renderer + blip/label layer for the redesigned UI.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/Radar.test.tsx Adds tests for new radar SVG rendering and label/blip layer.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPlot/Radar.module.css Styling for new radar SVG, labels, and states.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPage.tsx Removes legacy MUI-based page implementation.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarPage.test.tsx Removes legacy page tests.
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 RadarLegend barrel export.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegendRing.tsx Removes legacy legend ring rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegendQuadrant.tsx Removes legacy legend quadrant rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegendLink.tsx Removes legacy legend entry link/details logic.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegend.tsx Removes legacy legend component.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarLegend/RadarLegend.test.tsx Removes legacy legend tests.
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 rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarGrid/RadarGrid.test.tsx Removes legacy grid tests.
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 rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarFooter/RadarFooter.test.tsx Removes legacy footer tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilterContext.tsx Adds new context for search/filter/focus/selection state + analytics capture.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilter/TechRadarFilter.tsx Adds new filter dropdown (ring/quadrant) built on Backstage UI menu components.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilter/TechRadarFilter.test.tsx Adds tests for filter trigger text and selection behavior.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarFilter/TechRadarFilter.module.css Styling for the filter dropdown/trigger.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarEntry/RadarEntry.tsx Removes legacy MUI-based blip/description modal entry rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarEntry/RadarEntry.test.tsx Removes legacy RadarEntry tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarDescription/index.ts Removes legacy description modal barrel export.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarDescription/RadarDescription.tsx Removes legacy MUI dialog description UI.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarDescription/RadarDescription.test.tsx Removes legacy RadarDescription tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarComponent.tsx Removes legacy “advanced” component implementation.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarComponent.test.tsx Removes legacy RadarComponent tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBubble/index.ts Removes legacy bubble barrel export.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBubble/RadarBubble.tsx Removes legacy hover bubble rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBubble/RadarBubble.test.tsx Removes legacy bubble tests.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlipDetails/RadarBlipDetails.tsx Adds new details dialog for a selected blip, including timeline table.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlipDetails/RadarBlipDetails.test.tsx Adds tests for details dialog open/close and timeline rendering.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlipDetails/RadarBlipDetails.module.css Styling for details dialog content/table.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlip/RadarBlip.tsx Adds new blip SVG rendering (circle/triangle, muted/invisible/selected states).
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlip/RadarBlip.test.tsx Adds tests for blip shape rendering based on moved state.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarBlip/RadarBlip.module.css Styling for blip visibility/mute/selection states and label text.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.tsx Adds accordion list grouped by ring with legend dialog and details modal.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.test.tsx Adds tests for accordion rendering, selection, and scroll behavior.
workspaces/tech-radar/plugins/tech-radar/src/components/RadarAccordion/RadarAccordion.module.css Styling for accordion list and ring headers.
workspaces/tech-radar/plugins/tech-radar/src/components/Radar/utils.ts Removes legacy layout sizing and entry placement utilities.
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 composition component.
workspaces/tech-radar/plugins/tech-radar/src/components/Radar/Radar.test.tsx Removes legacy radar tests.
workspaces/tech-radar/plugins/tech-radar/src/components/QuadrantFilter/QuadrantFilterButtons.tsx Adds quadrant focus control rendered as 4 overlay buttons.
workspaces/tech-radar/plugins/tech-radar/src/components/QuadrantFilter/QuadrantFilterButtons.test.tsx Adds tests for quadrant focus selection callbacks.
workspaces/tech-radar/plugins/tech-radar/src/components/QuadrantFilter/QuadrantFilterButtons.module.css Styling for quadrant focus control.
workspaces/tech-radar/plugins/tech-radar/src/components/Legend/TrendLegend.tsx Adds trend legend (new/trend up/trend down) with tooltips.
workspaces/tech-radar/plugins/tech-radar/src/components/Legend/TrendLegend.test.tsx Adds tests for trend legend items.
workspaces/tech-radar/plugins/tech-radar/src/components/Legend/TrendLegend.module.css Styling for trend legend.
workspaces/tech-radar/plugins/tech-radar/src/components/Legend/RingLegend.tsx Adds ring legend list with per-ring radar preview and descriptions.
workspaces/tech-radar/plugins/tech-radar/src/components/Legend/RingLegend.test.tsx Adds tests for ring legend ordering/highlight behavior.
workspaces/tech-radar/plugins/tech-radar/src/components/Legend/RingLegend.module.css Styling for ring legend items and highlight state.
workspaces/tech-radar/plugins/tech-radar/src/alpha.tsx Updates alpha page loader to new TechRadarPage implementation.
workspaces/tech-radar/plugins/tech-radar/package.json Bumps major version, adds Backstage UI deps, adjusts CSS side effects handling.
workspaces/tech-radar/plugins/tech-radar/README.md Updates docs for new component/page props and testing guidance.
workspaces/tech-radar/packages/app/src/index.tsx Imports Backstage UI global CSS in the example app.
workspaces/tech-radar/packages/app/package.json Adds @backstage/ui dependency to the example app.
workspaces/tech-radar/package.json Adds workspace-level dependency on @backstage/ui.
workspaces/tech-radar/.changeset/lazy-icons-walk.md Adds changeset describing the major redesign and new UI dependency requirement.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@evanlankveld evanlankveld mentioned this pull request Apr 28, 2026
5 tasks done
@evanlankveld

evanlankveld commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor Author

@awanlin opened a new PR here: #8922

It's ready for a review now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owner/area-maintainers workspace/acr workspace/acs workspace/adr workspace/agent-forge workspace/airbrake workspace/allure workspace/amplication workspace/analytics workspace/announcements Used to tag announcements workspace isses and pull requests workspace/apache-airflow workspace/apiiro workspace/apollo-explorer workspace/argocd workspace/azure-devops workspace/azure-resources workspace/azure-sites workspace/azure-storage-explorer workspace/badges workspace/bazaar workspace/bitbucket-pull-requests workspace/bitrise workspace/blackduck workspace/bookmarks workspace/catalog workspace/cicd-statistics workspace/cloudbuild workspace/code-climate workspace/code-coverage workspace/codescene workspace/confluence workspace/copilot workspace/cost-insights workspace/dynatrace workspace/entity-feedback workspace/entity-validation workspace/explore workspace/fairwinds-insights workspace/feedback workspace/firehydrant workspace/flux workspace/fossa workspace/gcalendar workspace/gcp-projects workspace/git-release-manager workspace/github workspace/gitops-profiles workspace/gocd workspace/grafana workspace/graphiql workspace/graphql-voyager workspace/growthbook-flags workspace/ilert workspace/jaeger workspace/jenkins workspace/jfrog-artifactory workspace/kafka workspace/keycloak workspace/kiali workspace/lighthouse workspace/linguist workspace/linkerd workspace/manage workspace/mcp-chat workspace/mend workspace/microsoft-calendar workspace/mta workspace/multi-source-security-viewer workspace/n8n workspace/newrelic workspace/nexus-repository-manager workspace/nomad workspace/npm workspace/ocm workspace/octopus-deploy workspace/opencost workspace/periskop workspace/pingidentity workspace/playlist workspace/puppetdb workspace/quay workspace/rbac workspace/report-portal workspace/rollbar workspace/scaffolder-backend-module-annotator workspace/scaffolder-backend-module-kubernetes workspace/scaffolder-backend-module-regex workspace/scaffolder-backend-module-servicenow workspace/scaffolder-backend-module-sonarqube workspace/scaffolder-relation-processor workspace/sentry workspace/servicenow workspace/shortcuts workspace/sonarqube workspace/splunk workspace/stack-overflow workspace/stackstorm workspace/tech-insights Used to tag tech-insights workspace issues and pull requests workspace/tech-radar workspace/3scale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants