coder / coder/backstage-plugins
Update Coder plugin to work in isolated dev mode
- Dominant language
- TypeScript
- Stars
- 67
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
One of the big points that Backstages stresses in their docs is that plugins should be able to be spun up in isolation. You shouldn't need to bring in a whole Backstage deployment to test component changes.
The Coder plugin is a frontend plugin that relies on a proxied endpoint to the main Coder API. It can be spun up in isolation, but because it's missing a backend proxy, the component will never populate with data.
[As mentioned here](https://github.com/coder/backstage-plugins/pull/2#pullrequestreview-1883966805), API factories might do the trick, but they're not as well-documented, and they still require testing. Depending on how much needs to change, we might need to revamp our plugin's API calls, too.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Coder frontend plugin's API calls and compare its isolated-dev setup with the missing backend proxy. Evaluate the API-factory approach referenced in pull request #2 and test the plugin in isolation; done means the component populates with data without a full Backstage deployment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100