Skip to content

Polish script editor UI#7

Open
YuShanNan wants to merge 6 commits into
sdsds222:mainfrom
YuShanNan:feat/script-editor-ui-polish
Open

Polish script editor UI#7
YuShanNan wants to merge 6 commits into
sdsds222:mainfrom
YuShanNan:feat/script-editor-ui-polish

Conversation

@YuShanNan

Copy link
Copy Markdown

Summary

This PR republishes the previous UI polish changes under the correct YuShanNan commit identity.

What changed

1. Refined selected-state feedback in the script editor

  • Replaced the previous hard-coded selected-state classes in the script list with semantic selected-state classes.
  • Softened dark-mode selected cards so they no longer look overly bright or washed out.
  • Brought the same stronger visual language to light mode so selected dialogue, BGM, and background-image blocks feel more consistent.
  • Kept the green playback ring behavior unchanged.

2. Improved script list loading behavior

  • Changed the previous manual "load more lines" interaction into automatic loading when the user scrolls near the bottom of the list.
  • Added preloading logic so fast scrolling is less likely to outrun the next batch of rendered lines.
  • Preserved the existing incremental rendering strategy for performance.

3. Improved spacing inside inputs and text areas

  • Increased left/internal padding for the inputs that felt too cramped against the left edge.
  • Adjusted role-card inputs and the main script text area so the text has more breathing room.

4. Unified corner radius across the UI

  • Introduced a consistent radius scale for cards, buttons, and form controls.
  • Applied the unified rounding system across the app to make the visual style feel more coherent.

5. Added repository guidance for future Copilot sessions

  • Added .github/copilot-instructions.md with repository-specific notes about project structure, validation approach, and working conventions.

Notes

  • Screenshot files under other/ are intentionally not included in this branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@YuShanNan

Copy link
Copy Markdown
Author

全程使用copilot的gpt5.4写出来的

YuShanNan and others added 5 commits April 23, 2026 22:10
Keep the raw AI output in the script workflow without letting it overlap the sticky character panel on desktop, and tighten the character panel and debug output sizing for narrow screens.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Introduce a lightweight SVG favicon that matches the app's dark audio-workstation aesthetic, wire it into the document head, and keep the recent script workspace refinements in the main delivery path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- FFmpeg 诊断: 注册 log/progress 监听器, runFFmpegTask 错误日志, try/catch 详细报错
- 修复: buildAtempoFilterChain 钳制上限 [0.2,2]→[0.2,6]; ffmpeg.exec 添加 -y 标志
- 全局速度: getProcessedDialogueAsset 接受 globalSpeed 参数, 合并 per-line speed
- 播放: 对白 playbackRate=1 (速度已由 FFmpeg 保调处理到 buffer)
- 导出: globalSpeed 默认 1, 不受播放速度影响
- WASM 崩溃回退: 检测 memory access out of bounds → 重置 FFmpeg → 回退原始音频
- 性能: v-for 添加 v-memo 跳过未变化行重渲染 (200行编辑不再卡顿)
- UI: 亮色模式降低毛玻璃遮罩透明度; 修复 transitiongroup 大小写警告
- 分析音色改为并行执行,不再排队
- 新增批量分析/生成音色按钮(图标化标题栏)
- 清理分析按钮死代码(排队中状态)
- 生成音色排队中保持原色,仅生成中变色
- 队列指示器适配暗色模式
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant