Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更概述
为 Pi Web 增加面向项目文件的工作区编辑体验,并保持聊天会话状态在布局切换前后连续。
功能范围
提交结构
本 PR 按功能拆分为中文 Conventional Commits:
feat(markdown): 新增 Markdown 文件编辑能力docs(markdown): 补充 Markdown 编辑器需求feat(markdown): 新增工作区 Markdown 编辑器feat(composer): 新增选中文本上下文输入feat(workspace): 新增可切换布局和文件导航docs(workspace): 补充编辑器和工作区说明fix(workspace): 修正文件查看器测试边界fix(composer): 删除未使用的选区偏移函数fix(docs): 清理规格文档尾随空格界面预览
预览图使用 fork 上的临时 Release 资产托管,不进入源码和 PR 分支。
Markdown 预览与选中文本工具栏
工作区与对话布局
Markdown 文件与选区上下文操作
Composer 输入与注释入口
验证
node_modules/.bin/tsc --noEmit:通过。npm run lint:通过;存在 1 条针对公开静态样式表的规则 warning。npm test:1051 通过、12 失败、5 跳过。兼容性与范围