feat(P1): #581 标题设置从剪辑编辑器完整迁移到智能剪辑 #590

Merged
auto-approve-bot merged 3 commits from feat/smart-edit-title-migration into develop 2026-07-19 15:25:11 +08:00
Owner

变更内容

智能剪辑(GeneratePage)

  • 「选择标题」步骤新增完整标题样式设置
  • AI自动选择开关
  • 标题库选择 + 手动输入
  • 位置、字体、字号滑块
  • 8种预设样式卡片
  • 粗体/斜体/描边/阴影样式按钮
  • 标题设置随title_config完整传递给后端

剪辑编辑器(EditingPlanner)

  • 移除标题设置UI面板
  • 移除titleSettings state和变更回调
  • 保留titleConfig只读状态(从模板/计划继承,用于预览)

预览组件(PreviewPlayer)

  • titleSettings → titleConfig(直接使用后端结构)

ClipPropertiesPanel

  • 删除标题设置整个区块
  • 删除TITLE_PRESETS、getActivePreset等相关常量

影响文件

  • GeneratePage.tsx: +330行左右
  • generate.css: +200行新样式
  • EditingPlanner.tsx: 简化
  • ClipPropertiesPanel.tsx: 移除大量标题相关代码
  • PreviewPlayer.tsx: 适配titleConfig
## 变更内容 **智能剪辑(GeneratePage)** - 「选择标题」步骤新增完整标题样式设置 - AI自动选择开关 - 标题库选择 + 手动输入 - 位置、字体、字号滑块 - 8种预设样式卡片 - 粗体/斜体/描边/阴影样式按钮 - 标题设置随title_config完整传递给后端 **剪辑编辑器(EditingPlanner)** - 移除标题设置UI面板 - 移除titleSettings state和变更回调 - 保留titleConfig只读状态(从模板/计划继承,用于预览) **预览组件(PreviewPlayer)** - titleSettings → titleConfig(直接使用后端结构) **ClipPropertiesPanel** - 删除标题设置整个区块 - 删除TITLE_PRESETS、getActivePreset等相关常量 ## 影响文件 - GeneratePage.tsx: +330行左右 - generate.css: +200行新样式 - EditingPlanner.tsx: 简化 - ClipPropertiesPanel.tsx: 移除大量标题相关代码 - PreviewPlayer.tsx: 适配titleConfig
xiaoxia added 1 commit 2026-07-19 14:56:51 +08:00
feat(P1): #581 标题设置从剪辑编辑器迁移到智能剪辑
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 11s
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
AI Code Review / AI Code Review (pull_request) Failing after 28s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 56s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 1m15s
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 1m16s
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Unit Tests (pull_request) Has been cancelled
dc2403d695
- 智能剪辑「选择标题」步骤新增完整标题样式设置
  - AI自动选择开关
  - 标题库选择 + 手动输入
  - 位置、字体、字号滑块
  - 8种预设样式卡片
  - 粗体/斜体/描边/阴影样式按钮
- 标题设置随title_config传递给后端
- 剪辑编辑器移除标题设置UI和相关state
- 编辑器保留titleConfig只读状态(从模板/计划继承)
- 预览组件titleSettings → titleConfig
- 新增标题设置相关CSS样式
xiaoxia added 1 commit 2026-07-19 14:59:47 +08:00
fix: 移除any类型,使用TitleConfig类型注解
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 15s
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
AI Code Review / AI Code Review (pull_request) Failing after 40s
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 3m44s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 3m55s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 3m56s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 5m23s
ee7eba0a85
xiaoxia added 1 commit 2026-07-19 15:10:29 +08:00
fix: prettier formatting
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
AI Code Review / AI Code Review (pull_request) Failing after 31s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 7s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 7m10s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 9m56s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 13m33s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 14m41s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 10s
91554623c3
auto-approve-bot approved these changes 2026-07-19 15:24:00 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。
auto-approve-bot approved these changes 2026-07-19 15:24:00 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。
auto-approve-bot merged commit 0a8c287137 into develop 2026-07-19 15:25:11 +08:00
auto-approve-bot deleted branch feat/smart-edit-title-migration 2026-07-19 15:25:11 +08:00

🗑️ 预览环境已清理

PR #590 已关闭或合并,对应的预览环境已被清理。

如有需要,可以重新打开 PR 来重新生成预览环境。

🗑️ **预览环境已清理** PR #590 已关闭或合并,对应的预览环境已被清理。 > 如有需要,可以重新打开 PR 来重新生成预览环境。
Sign in to join this conversation.