Skip to content

feat(ui): 打磨现有面板交互并接通直接运行命令 - #49

Draft
AliceJump wants to merge 4 commits into
fix/audit-bugs-and-upstream-alignmentfrom
feat/ui-p0-foundations
Draft

AliceJump wants to merge 4 commits into
fix/audit-bugs-and-upstream-alignmentfrom
feat/ui-p0-foundations

Conversation

@AliceJump

Copy link
Copy Markdown
Owner

为什么拆出这一阶段

#41 同时修改已有面板、新活动栏结构和资源发布流程,三部分可以分别验证与回滚。本 PR 承接已有面板与直接命令的改进;后续 PR 分别处理 Run/Params/Resources 结构及引用查找、发布预览。

改动

  • 统一现有面板的样式、空状态、键盘手势与资源选择行为,保留当前 Split/Packed 数据来源和现有编辑入口。
  • 启动执行器、运行任务等命令直接执行对应动作;首次使用命令也先读取项目配置模块、持久化参数和触发任务状态,并防止重复启动与切换项目后的过期选择。
  • 修复图片交换撤销的状态比较,核对项目、图片、尺寸和当前标注后才恢复,避免覆盖后续编辑。
  • 修复角色管理脚本语法错误,以及键盘切换截图后选中卡片与大图不同步的问题。
  • 项目检测支持自定义配置模块、配置包及三个 Python 入口;工作区外项目也会在配置创建、编辑和删除后更新命令可见性。

验证

  • 完整 npm test 通过;新增入口检测修改经过编译、命令契约、真实冷启动和外部目录 watcher 回归。
  • npm run package 通过:VSIX 179 个文件,14 个 Python 脚本与源码逐字节一致,不含 Agent 指令、测试或开发脚本。
  • 第二轮独立检查覆盖撤销、Split 来源身份、键盘预览和 Python 配置入口语法。

依赖与合并顺序

暂以 #48 分支为 base,保持本 PR 的 88 个文件只反映这一阶段。待 #48 合并后同步最新 main,再确认当前 HEAD 的 CI 与 CodeRabbit 覆盖。版本保持 1.28.0,统一发版在所有阶段完成后处理。

Part of #41.

Port the independently usable P0 layer of #41 onto current resource and audit fixes. Preserve Split source identity and previews, add consistent card gestures and actionable empty states, and fix swap undo by comparing canonical saved snapshots while rejecting changed image identity or geometry.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

2 participants