coder / coder/backstage-plugins

Update Coder plugin to work in isolated dev mode

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
67
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.