refactor: 合并 PR 描述生成和 AI 代码审查到仓库详情页
Deploy PR-Helper / deploy (push) Successful in 2m9s

- 新增 PR 描述 tab:流式生成 + 双栏实时预览(渲染效果 + Markdown 源码)
- 新增 AI 代码审查 tab:Top-N/并发设置、历史记录、进度条、总结、备注、PDF 导出、内联 Diff
- 保留 Diff 视图中的 AI 评审快捷内联按钮
- Repo handler 传递 TopN/Concurrency 设置
- 删除独立的 generate.html 和 review.html 页面及路由
This commit is contained in:
2026-06-23 21:55:05 +08:00
parent 6dfd01445d
commit 8e8ea6a07d
5 changed files with 625 additions and 983 deletions
-2
View File
@@ -103,8 +103,6 @@ func main() {
// Page routes
r.GET("/", authMw, pages.Index)
r.GET("/repo/:id", authMw, pages.Repo)
r.GET("/repo/:id/generate", authMw, pages.Generate)
r.GET("/repo/:id/review", authMw, pages.Review)
r.GET("/settings", authMw, pages.Settings)
// API routes