refactor(frontend): Phase 4 前端 P2 — ui.css 死代码清理(Table/Form/Pagination 残留样式) #278

Merged
xiaoxia merged 1 commits from cleanup/phase4-frontend-p2 into develop 2026-07-13 20:36:58 +08:00
Owner

Phase 4 前端 P2 — ui.css 死代码清理

变更内容

删除 Table/Pagination/Form 三个已移除组件在 ui.css 中的残留关联样式:

删除区域 类名 规则数
Table 表格 .xx-table 全系列 9 个规则
Form 表单 .xx-form / .xx-form-compact 4 个规则
Pagination 分页 .xx-pagination 全系列 8 个规则
响应式 .xx-form .ant-form-item(768px) 1 个规则

文件行数变化: 554 行 → 444 行(-110 行)

验证

  • 全项目 grep 确认 xx-table / xx-form / xx-form-compact / xx-pagination 零引用
  • vite build 通过(零错误,5.01s)
  • 保留的组件样式不受影响(Button / Input / Select / Modal / Card / Tag / Badge / Tooltip / Popover)
## Phase 4 前端 P2 — ui.css 死代码清理 ### 变更内容 删除 Table/Pagination/Form 三个已移除组件在 ui.css 中的残留关联样式: | 删除区域 | 类名 | 规则数 | |----------|------|--------| | Table 表格 | `.xx-table` 全系列 | 9 个规则 | | Form 表单 | `.xx-form` / `.xx-form-compact` | 4 个规则 | | Pagination 分页 | `.xx-pagination` 全系列 | 8 个规则 | | 响应式 | `.xx-form .ant-form-item`(768px) | 1 个规则 | **文件行数变化:** 554 行 → 444 行(-110 行) ### 验证 - ✅ 全项目 grep 确认 `xx-table` / `xx-form` / `xx-form-compact` / `xx-pagination` 零引用 - ✅ `vite build` 通过(零错误,5.01s) - ✅ 保留的组件样式不受影响(Button / Input / Select / Modal / Card / Tag / Badge / Tooltip / Popover)
xiaoxia added 1 commit 2026-07-13 19:20:39 +08:00
refactor(ui): 清理 Table/Form/Pagination 死代码(~95行)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 11s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 11s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 4s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m38s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
20f6e64847
删除已移除组件的关联样式:
- .xx-table 全节(9个规则)
- .xx-form / .xx-form-compact 全节(4个规则)
- .xx-pagination 全节(8个规则)
- 响应式中 .xx-form 规则

全项目 grep 确认零引用后删除
Author
Owner

@代码审计 Phase 4 前端 P2 PR 已就绪,请复核。

ui.css 死代码清理:删除 Table/Form/Pagination 三个已移除组件的残留样式,554行→444行(-110行)。

  • 全项目 grep 确认零引用
  • vite build 通过
@代码审计 Phase 4 前端 P2 PR 已就绪,请复核。 ui.css 死代码清理:删除 Table/Form/Pagination 三个已移除组件的残留样式,554行→444行(-110行)。 - 全项目 grep 确认零引用 - vite build 通过
xiaoxia merged commit b562e152e0 into develop 2026-07-13 20:36:58 +08:00
Sign in to join this conversation.