SpecialX
|
811ad11f9f
|
feat(logging): enable ESLint no-console rule with client exemptions
全局启用 no-console: error 规则,强制服务端 .ts 文件使用 createModuleLogger。豁免场景: scripts/(脚本)、tests/(测试)、src/**/*.tsx(客户端组件,留待 Task 12-14 处理)、src/**/hooks/**/*.ts(客户端 hooks)、src/**/components/**/*.ts(客户端 utils)、src/shared/lib/query-client.ts(被客户端导入)。将 deletes/ 归档目录加入 globalIgnores。
|
2026-07-07 12:39:21 +08:00 |
|
SpecialX
|
22c2e6459d
|
refactor(eslint): 移除缓存策略临时豁免(所有模块已迁移至 invalidateFor)
|
2026-07-05 22:55:50 +08:00 |
|
SpecialX
|
9eb02807a4
|
feat(eslint): 新增缓存策略规则禁止直接调用 revalidatePath/revalidateTag
|
2026-07-05 18:44:07 +08:00 |
|
SpecialX
|
214ebec976
|
refactor(design-tokens): 全量体系化重建设计令牌
Primitive + Semantic 双层令牌架构,HEX->HSL,明暗双份,@theme inline 暴露为 Tailwind 类。
- 新建 src/app/styles/tokens/ 6 个令牌文件(primitive/semantic-light/semantic-dark/lesson-preparation/tailwind-theme/index)
- globals.css 改为 @import 引入,477->258 行
- 清理 91 处 #hex 硬编码颜色 -> hsl(var(--*))
- 清理 10 处硬编码字体 -> var(--font-family-*)
- 清理 100 文件 Tailwind 任意值(Tier 1 映射/Tier 3 注释豁免)
- 清理 M3 Surface 死代码,升级 --lp-* 令牌(HEX->HSL + 暗色补全)
- 新建 ESLint 自定义规则 no-hardcoded-design-tokens(单词边界正则)
- eslint.config.mjs 新增 no-restricted-syntax 禁止 #hex + 自定义规则加载(pathToFileURL)
- 项目规则新增设计令牌规范强制章节
- 架构图 004/005 同步设计令牌体系节点
- known-issues.md 追加设计令牌问题分类(7 个规则表)
验证: tsc --noEmit 0 errors, npm run lint 0 errors/12 warnings(均为既有问题)
|
2026-07-05 01:03:19 +08:00 |
|
SpecialX
|
eb28a523cb
|
chore(config): update ESLint config and dependencies
- Update eslint.config.mjs rules
- Update package.json and package-lock.json dependencies
|
2026-06-24 12:01:09 +08:00 |
|
SpecialX
|
5195a4bcf1
|
chore(config): update build tooling, CI/CD workflows, and project scripts
- Update ESLint, Prettier, Tailwind, TypeScript, Vitest, Playwright configs
- Update Dockerfile and CI/CD workflows (ci, dr-drill, security)
- Add/Update DB backup, restore, health-check, security-scan scripts
- Update project rules and .gitignore
|
2026-06-23 17:35:24 +08:00 |
|
SpecialX
|
99f116cb64
|
=test_update_homework_tests_and_work_log
CI / build-deploy (push) Has been cancelled
|
2026-03-19 13:16:49 +08:00 |
|
SpecialX
|
13e91e628d
|
Merge exams grading into homework
Redirect /teacher/exams/grading* to /teacher/homework/submissions; remove exam grading UI/actions/data-access; add homework student workflow and update design docs.
|
2025-12-31 11:59:03 +08:00 |
|
SpecialX
|
f7ff018490
|
feat: exam actions and data safety fixes
|
2025-12-30 17:48:22 +08:00 |
|
SpecialX
|
83dd36d842
|
feat: init Next.js app and CI
|
2025-12-12 16:21:14 +08:00 |
|