Commit Graph

8 Commits

Author SHA1 Message Date
xiaoxia afcfcf45ee fix(frontend): #1896 删除侵权华康字体修复PreviewPlayer字体映射 (#1908)
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 2s
CI/CD Pipeline / Check push changed paths (push) Successful in 19s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 13s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 14s
CI/CD Pipeline / Build Staging API Image (push) Successful in 46s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 1m39s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m19s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1m50s
CI/CD Pipeline / Validate - Style (push) Has been cancelled
CI/CD Pipeline / Validate - Security (push) Has been cancelled
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / ACR Image Cleanup (push) Has been cancelled
CI/CD Pipeline / Canary Release to Production (push) Has been cancelled
CI/CD Pipeline / CI Gate (push) Has been cancelled
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 43h10m14s
CI/CD Pipeline / PR Build Web Image (push) Failing after 43h11m24s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 43h10m56s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 43h9m45s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 43h10m55s
CI/CD Pipeline / PR Build API Image (push) Failing after 43h10m55s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 43h9m45s
CI/CD Pipeline / Frontend Lint (push) Failing after 43h10m50s
fix(frontend): #1896 删除侵权华康字体修复PreviewPlayer字体映射

问题:
1. "华康俪金黑"@font-face字体文件缺失(404)且有版权风险
2. PreviewPlayer直接用中文font_preset/font作为fontFamily,浏览器不识别

修改:
- 删除"华康俪金黑"字体选项(FONT_OPTIONS+FONT_FAMILY_MAP)和@font-face声明
- 统一 editing-planner/constants/clipProperties.ts 和 subtitleStyle.ts 从 generate/constants 重新导出 FONT_OPTIONS,避免多处维护
- PreviewPlayer.tsx 标题/字幕 fontFamily 通过 getFontFamily() 映射为浏览器可识别字体栈
- FrontendPreviewPlayer.tsx 标题 fontFamily 同样通过 getFontFamily() 映射
- TitleStylePanel/PanelTitleConfig/SubtitleStylePanel 等组件因复用统一常量自动生效
- 最终保留5个字体:思源黑体、思源宋体、苹方、微软雅黑、楷体
- PingFang 别名保留在 FONT_FAMILY_MAP 中以兼容旧数据,但不在 UI 选项中显示

Refs #1896
2026-09-14 20:12:21 +08:00
xiaoxia a728951490 style: prettier格式化修复css文件格式 (#544)
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 41s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 7m27s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1432h10m31s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1432h10m32s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1432h10m31s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1432h20m13s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1432h20m14s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1432h20m15s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1432h20m15s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1432h21m20s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1432h20m15s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-18 23:08:15 +08:00
xiaoxia 0fcb77b991 ci: Prettier纳入两层防御体系 (#520)
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 2m50s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1437h19m24s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1437h19m26s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1437h19m25s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1437h19m26s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1437h21m16s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1437h51m29s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-18 18:08:19 +08:00
灵应 1c83122711 feat: 添加华康俪金黑字体支持
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (push) Failing after 62h9m37s
CI/CD Pipeline / Frontend Lint (push) Failing after 62h10m12s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 62h10m58s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1720h44m38s
- index.css 添加 @font-face 声明加载 DFLiJinHei-W8.ttf
- ClipPropertiesPanel FONT_OPTIONS 增加「华康俪金黑」选项
- 标题预设「黑金质感」默认字体改为华康俪金黑

注:字体文件需手动放置到 apps/web/public/fonts/DFLiJinHei-W8.ttf
2026-07-06 22:43:07 +08:00
灵应 24f1e47bf5 feat: P0-1 全局CSS变量体系对齐 — radius变量+硬编码清理
Deploy / Staging E2E Tests (push) Failing after 88h31m2s
Deploy / Deploy Staging (push) Failing after 88h33m31s
CI/CD Pipeline / Frontend Lint (push) Failing after 88h33m40s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 88h33m40s
Deploy / Production Browser E2E (push) Failing after 1747h9m2s
Deploy / Deploy Production (push) Failing after 1747h9m4s
Deploy / Build Production Runtime Images (push) Failing after 1747h9m5s
- global.css: radius变量对齐V21 (xs=8, sm=14, md=18, lg=24, xl=28, pill=999)
- main.tsx: Ant Design ConfigProvider borderRadius同步 (14/24/8)
- 全项目19个CSS文件硬编码圆角值替换为CSS变量
- 重点页面: generate/home/Admin/voice-clone/accounts/duplication
- auth页面: Login/Register/ForgotPassword/ResetPassword
- 组件: clone-modal/clone-voice-modal
- 其他: Plans/UpgradeSubscription/MyTemplates/ProfileSettings/index.css
- tsc零错误
2026-07-05 20:19:27 +08:00
xiaoxia 560856cf22 fix: resolve all flake8 errors and apply Prettier formatting (#131)
Deploy / Deploy Staging (push) Failing after 210h26m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 210h27m0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 210h27m7s
Deploy / Production Browser E2E (push) Failing after 1869h1m52s
Deploy / Build Production Runtime Images (push) Failing after 1869h1m56s
Deploy / Deploy Production (push) Failing after 1869h33m15s
2026-06-30 18:26:53 +08:00
CI Test ac5324d860 feat: 全面对齐 V21 设计系统 - Indigo主色/大圆角/毛玻璃/渐变背景 2026-06-26 21:16:21 +08:00
Xiaoxia AI 3338787c00 feat(web): initialize Vite + React + TypeScript project - Phase 6 Task 1/40 2026-06-17 10:22:48 +08:00