Skip to content

Conversation

camilaibs
Copy link

@camilaibs camilaibs commented Sep 15, 2025

Description

This pull request migrates the Coder frontend plugin to support the new Backstage frontend system.

  • The migrated plugin is available at a new "alpha" subpath, to ensure the legacy plugin exports remain unchanged;
  • The Backstage Yarn Plugin was used to help in managing dependencies versions and ensure compatibility with the new frontend system;
  • Added documentation on how to install and configure the plugin for Backstage applications that support the new frontend system;
  • The app for local testing was also updated to run the new alpha version of the plugin. No visual changes are expected, here's how the plugin looks in the dev app.
Entity Card
image

After merging this pull request it would be nice to:

  • Monitor alpha usage and gather feedback
  • Plan deprecation timeline for legacy exports
  • Update documentation with migration guide
  • Consider promoting alpha to stable in future release

Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
@camilaibs camilaibs changed the title Migrate Coder Plugin to Support NFS Migrate the Frontend Coder Plugin to NFS Sep 15, 2025
Copy link
Author

@camilaibs camilaibs Sep 15, 2025

Choose a reason for hiding this comment

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

This file is used by "msw" to intercept requests that should be mocked by the Backstage dev app, such as requests to Coder Proxy API. The mock service worker needs to be in this "public" folder so that the Backstage CLI can find it and serve it at localhost:3000/mockServiceWorker.js.

factory(originalFactory, context) {
const { defaultQueryFilter, readEntityData } = context.config;
return originalFactory({
filter: { kind: 'component' },
Copy link
Author

@camilaibs camilaibs Sep 15, 2025

Choose a reason for hiding this comment

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

This filter specifies that the card should be displayed for all entities of the component kind. Is there any specific entity spec that must also be present in the entity data for the card to be displayed?

Signed-off-by: Camila Belo <camilaibs@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant