Add coverage prettification and sorting functionality

- Introduced `prettify.css` for syntax highlighting in coverage reports.
- Added `prettify.js` to handle code formatting and highlighting.
- Included `sort-arrow-sprite.png` for sort indicators in the coverage table.
- Implemented `sorter.js` to enable sorting and filtering of coverage summary tables.
- Added a search box for filtering table rows based on user input.
This commit is contained in:
catlog22
2026-02-07 22:21:05 +08:00
parent 6073627ff2
commit ece02ab32a
40 changed files with 2828 additions and 728 deletions

View File

@@ -26,14 +26,21 @@
},
"cliTools": {
"title": "CLI Tools",
"description": "Configure CLI tool settings",
"description": "Configure CLI tool settings. Current default: ",
"enabled": "Enabled",
"disabled": "Disabled",
"default": "Default",
"setDefault": "Set as Default",
"primaryModel": "Primary Model",
"secondaryModel": "Secondary Model",
"expand": "Expand for details"
"expand": "Expand for details",
"envFile": "Environment File (.env)",
"envFilePlaceholder": "e.g., ~/.gemini/.env",
"envFileHint": "Path to .env file loaded before CLI execution for API keys and environment variables",
"saveToConfig": "Save to Config",
"saving": "Saving...",
"configSaved": "Configuration saved to ~/.claude/cli-tools.json",
"configSaveError": "Failed to save configuration"
},
"display": {
"title": "Display Settings",

View File

@@ -26,14 +26,21 @@
},
"cliTools": {
"title": "CLI 工具",
"description": "配置 CLI 工具设置",
"description": "配置 CLI 工具设置,当前默认工具:",
"enabled": "已启用",
"disabled": "已禁用",
"default": "默认",
"setDefault": "设为默认",
"primaryModel": "主模型",
"secondaryModel": "辅助模型",
"expand": "展开详情"
"expand": "展开详情",
"envFile": "环境变量文件 (.env)",
"envFilePlaceholder": "例如:~/.gemini/.env",
"envFileHint": "CLI 执行前加载的 .env 文件路径,用于设置 API Key 等环境变量",
"saveToConfig": "保存到配置文件",
"saving": "保存中...",
"configSaved": "配置已保存到 ~/.claude/cli-tools.json",
"configSaveError": "保存配置失败"
},
"display": {
"title": "显示设置",