Add a dashboard flow to run and understand setup checks

未关闭
#158 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
54/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
postgresql, typescript

调研方向

Start by reading the existing dashboard patterns and the shared backend check API and result shape referenced in the issue. Trace how checks run in both Cloudflare Workers and Node/Docker deployments, then identify the dashboard entry point and relevant tests. Done means an operator can manually run checks, distinguish all result states, see next steps for failures, and the tests and listed checks pass.

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue help wanted

Goal

Give operators a clear dashboard action to run the setup checks from #157 and understand what each result means.

What to build

  • Add a clearly named action such as Run setup checks.
  • Show each dependency as passed, failed, or unavailable.
  • Show a short explanation and a useful next step for failed checks.
  • Make it clear that PostgreSQL is checked only after the operator starts the check. Do not add background polling from the dashboard.
  • Avoid showing credentials or other secrets in the page.

Implementation guidance

Use the shared API and result shape from the backend checks. Keep the interface consistent with Codra's existing dashboard patterns. The check results must work with both Cloudflare Workers and Node/Docker deployments. If a backend change is needed for the dashboard flow, implement it for both runtimes.

Done when

  • An operator can start the checks manually and see results as they complete.
  • Passed, failed, and unavailable states are easy to distinguish.
  • Failed checks include a useful next step.
  • The page does not poll PostgreSQL or expose secrets.
  • Tests cover loading, success, failure, unavailable, and error states.
  • npm run typecheck, npm test, and npm run lint all pass.
主要语言
TypeScript
星标
125
派生
23
平均合并
2 天 13 小时
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

devarshishimpi/codra 的其他 Issue

查看 devarshishimpi/codra 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。