coder / coder/backstage-plugins

Update Coder plugin to work in isolated dev mode

オープン
#7 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
67
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Coder frontend plugin の API 呼び出しから始め、その isolated-dev setup と不足している backend proxy を比較します。pull request #2 で参照されている API-factory アプローチを評価し、plugin を単独でテストします。完了とは、Backstage の完全なデプロイなしでコンポーネントにデータが表示されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
api, backend, frontend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。