fix: 修复前端审计问题 (#26-28) #50

Merged
xiaoxia merged 6 commits from fix/audit-frontend-p2 into develop 2026-06-27 17:19:51 +08:00
Owner

修复内容

#26 - console.log 残留清理 (P2)

  • 删除了 Plans.tsx 中的调试 console.log
  • 删除了 ProjectGeneration.tsx 中的调试 console.log
  • 保留了 console.error 用于错误日志

#27 - TypeScript 严格模式 (P2)

  • 验证了 tsconfig.json 中 strict: true 已开启
  • TypeScript 编译检查通过

#28 - 重复路由清理 (P2)

  • 删除了重复的 profile/settings 路由配置
  • 保留了单一的 profile 路由

所有修改均保守进行,无不必要的重构。

## 修复内容 ### #26 - console.log 残留清理 (P2) - 删除了 Plans.tsx 中的调试 console.log - 删除了 ProjectGeneration.tsx 中的调试 console.log - 保留了 console.error 用于错误日志 ### #27 - TypeScript 严格模式 (P2) - 验证了 tsconfig.json 中 strict: true 已开启 - TypeScript 编译检查通过 ### #28 - 重复路由清理 (P2) - 删除了重复的 profile/settings 路由配置 - 保留了单一的 profile 路由 --- 所有修改均保守进行,无不必要的重构。
xiaoxia added 6 commits 2026-06-27 17:01:46 +08:00
Merge pull request 'fix(web): disable noUnusedLocals/noUnusedParameters' (#7) from develop into main
Deploy / Deploy Staging (push) Successful in 1m33s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / lint (push) Has been cancelled
f510e044dd
Merge pull request 'fix: 统一编辑模式枚举名并删除重复workflow' (#32) from develop into main
Deploy / Deploy Staging (push) Successful in 1m25s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
e68aa5f759
Merge pull request 'Merge develop to main - Release PR' (#37) from develop into main
Deploy / Deploy Staging (push) Failing after 1m28s
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
c72675a594
Merge pull request 'refactor: sync workspace removal to main' (#40) from develop into main
Auto Merge PRs / auto-merge (push) Failing after 0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
f9675f95df
Issue #26: Clean up console.log debug statements in production code

- Removed debug console.log from Plans.tsx (subscription page)
- Removed debug console.log from ProjectGeneration.tsx (workspace page)
- Kept console.error for error logging
fix: remove duplicate route configuration
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
c41406b4da
Issue #28: Clean up duplicate routes

- Removed duplicate 'profile/settings' route that pointed to same Settings component
- 'profile' route is now the single route for settings page
xiaoxia merged commit 1cbf8ce042 into develop 2026-06-27 17:19:51 +08:00
Sign in to join this conversation.