Skip to content

feat: 增加导出到 cph - #40

Merged
Transparent-fish merged 1 commit into
mainfrom
dev
Aug 6, 2026
Merged

feat: 增加导出到 cph#40
Transparent-fish merged 1 commit into
mainfrom
dev

Conversation

@Transparent-fish

@Transparent-fish Transparent-fish commented Aug 5, 2026

Copy link
Copy Markdown
Owner

关联 Issue

#21

变更概述

变更类型

  • fix Bug
  • Feature
  • UI / Style
  • Refactor
  • Documentation

涉及文件

  • 前端
packages/webview/src/types.ts — WebviewMessage.command 加 'sendCph',新增 success?/message? 字段
packages/webview/src/WebviewApp.tsx — 「导出 CPH」按钮 + doExportToCph + cphExportResult 消息处理
  • 后端
 apps/vscode-extension/src/atcoder.ts — 解析 Time/Memory Limit
- apps/vscode-extension/src/tools/cph.ts — buildCphProblem + sendToCph + CphNotRunningError(新增)
- apps/vscode-extension/src/tools/command.ts — problemCommands + case "sendCph"
- apps/vscode-extension/src/extension.ts — handleExportToCph

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

PR 审查报告

检查结果

检查项 状态
pnpm build
pnpm lint
pnpm test
函数 <= 130 行

未通过的检查

全部通过,无需修改。


自动生成 by PR Review workflow

@Transparent-fish
Transparent-fish merged commit a5aa4b3 into main Aug 6, 2026
1 check passed
@Transparent-fish Transparent-fish added Test Pass enhancement New feature or request and removed Waiting for test labels Aug 6, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Phase 1 Aug 6, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Phase 1 Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Test Pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant