Commit Graph

16 Commits

Author SHA1 Message Date
Zhengchao An 85f5465088 refactor: harden task management and TypeScript safety (#162) 2026-07-11 13:26:01 +08:00
nakrovati 5ed5e558ee Update dependencies, migrate to ESM, and update PNPM to 10.28.2 (#86) 2026-03-23 07:50:47 +08:00
cxymds 9e2df5cb04 fix: sync nav config 2026-03-19 20:59:53 +08:00
overtrue b1636ea3f5 fix: theme 2026-03-16 23:11:04 +08:00
安正超 d993a9c799 refactor: remove redundant config theme manifest (#80)
* refactor: remove generated theme-manifest config file

* fix: align active theme manifest resolution
2026-03-16 22:34:17 +08:00
安正超 5cd22b33f2 feat: extract theme module with build-time overrides (#79)
* feat: extract theme module with build-time overrides

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: address theme module review feedback

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-15 14:03:50 +08:00
马登山 5bc8b1c85b remove: auto-fix flow 2026-02-27 18:57:38 +08:00
马登山 42f2a5a98e fix: json parse 2026-02-27 16:44:34 +08:00
马登山 28a5b1b4c1 fix:flow 2026-02-27 16:13:21 +08:00
马登山 a2eb7355f9 feat:auto-fix workflow 2026-02-27 15:35:05 +08:00
overtrue 18f9b48890 fix: make static export work under php base path 2026-02-09 16:03:06 +08:00
安正超 6f1193f6e4 chore: replace codebase with Next.js version (console-new) (#46)
* chore: replace codebase with Next.js version (console-new)

- Migrate from Nuxt/Vue to Next.js/React
- Same repo, dev-pr branch has shared history with main for PR

* chore: wip

* ci: pin pnpm to latest in workflows, packageManager 10.19.0

* ci: use pnpm version from package.json only (fix version mismatch)

* fix: CI - add root page redirect, fix TS types and lint (api-client, aws4fetch, upload-task, hooks)

* fix(ci): add type-check script for TypeScript Check job

* fix(ci): resolve Code Formatting job - ESLint errors (setState-in-effect, refs, static-components, preserve-memoization)

* fix(ci): add lint:fix script for quality workflow Auto-fix step

* fix(ci): add SVG module type declaration for TypeScript Check
2026-02-01 21:23:31 +08:00
安正超 6b40c2bc16 feat: Add 7 new language packs (DE, ES, IT, JA, KO, PT-BR, RU) and refactor language switcher (#29)
* feat: 补充任务状态和操作相关的翻译键

- 添加小写版本的状态翻译键:waiting, in progress, success, failed, paused, canceled
- 添加 Upload 翻译键
- 更新任务状态显示使用新的翻译键
- 统一翻译键命名规范

* feat: 为法语语言包补充任务状态和操作相关的翻译键

- 添加小写版本的状态翻译键:waiting, in progress, success, failed, paused, canceled
- 添加 Upload 翻译键
- 修复 In Progress 参数名(deleting -> processing)
- 更新 Success Status 和 Failed Status 翻译

* fix: 对齐所有语言包的翻译键

- 为法语语言包添加 Processing (with count) 键
- 为土耳其语语言包添加 success 和 Success Status 键
- 为中文和英文语言包添加 Success Status 键
- 确保所有语言包(中文、英文、土耳其语、法语)的键完全对齐
- 所有语言包现在都有 880 个键

* feat: 添加国际主流语言支持

新增语言包:
- 日语 (ja-JP) - 日本語
- 韩语 (ko-KR) - 한국어
- 德语 (de-DE) - Deutsch
- 西班牙语 (es-ES) - Español
- 俄语 (ru-RU) - Русский
- 葡萄牙语 (pt-BR) - Português
- 意大利语 (it-IT) - Italiano

更新内容:
- 更新 nuxt.config.ts 添加新语言配置
- 更新 language-switcher.vue 组件添加新语言选项
- 所有新语言包包含 880 个翻译键(目前使用英文作为占位符)

现在支持共 11 种语言:英语、中文、日语、韩语、德语、法语、西班牙语、葡萄牙语、意大利语、俄语、土耳其语

* fix: 暂时隐藏未翻译的语言选项

- 从语言选择器中移除尚未翻译的语言(日语、韩语、德语、西班牙语、葡萄牙语、意大利语、俄语)
- 只保留已完整翻译的语言:英语、中文、法语、土耳其语
- 未翻译的语言配置已注释,待翻译完成后可重新启用

这些语言包文件已创建但内容为英文占位符,切换后会显示英文内容

* feat: 完成德语和日语语言包翻译

- 将德语文件 (de-DE.json) 中的所有英文值翻译为德语
- 将日语文件 (ja-JP.json) 中的所有英文值翻译为日语
- 技术术语(如 API、KMS、IAM、MQTT 等)保持英文或使用适当的本地化形式
- 遵循德语和日语的本地化习惯和语言环境

* feat: 完成意大利语、韩语、巴西葡萄牙语和俄语翻译

* feat: 完成西班牙语翻译

* refactor: remove duplicate language options in language-switcher

- Generate options array dynamically from languageConfig
- Eliminate redundant language definitions
- Maintain single source of truth for language data

* fix: input shadow
2025-12-05 22:02:45 +08:00
overtrue 5dd3019194 chore: enforce lockfile sync check and update documentation
- Add mandatory lockfile sync check to AGENTS.md
- Update pre-commit hook to enforce lockfile sync before commit
- Fix pnpm-lock.yaml sync issue (node-forge specifier consistency)
- Ensure CI will pass by requiring lockfile sync before commit
2025-11-29 23:55:22 +08:00
overtrue 1f63abf0ac chore: add mandatory code quality checks and update pre-commit hook
- Add mandatory TypeScript type check (vue-tsc --noEmit) and Prettier format check (prettier --check) as required checks in AGENTS.md
- Update pre-commit-check.sh to explicitly run these checks before lint
- Update node-forge to 1.3.2 to fix security vulnerabilities
- Add node-forge override in package.json to ensure secure version
2025-11-29 23:52:10 +08:00
overtrue 3950df148f feat: add pre-commit check script to catch issues before commit
- Add scripts/pre-commit-check.sh for comprehensive pre-commit validation
- Add 'check' script (lint, type-check, tests, build)
- Add 'pre-commit' script (includes security audit)
- Update README with pre-commit instructions
- Fix pnpm-lock.yaml formatting
2025-11-01 00:45:33 +08:00