coder / coder/backstage-plugins

Update Coder plugin to work in isolated dev mode

未关闭
#7 0 条评论 0 个 reaction 已指派 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 摘要。