对话:挂上聊天大纲,并修好新建对话的循环引用 - #373
Merged
Merged
Conversation
nicechencs
marked this pull request as ready for review
September 20, 2026 15:57
设置打开、对话面板够宽、至少两条用户消息时,原先在消息未齐时量宽失败后不再重绑,轨道一直不出现。改为量对话舞台宽度、量宽节点始终挂上,并补上挂载回归。 Co-authored-by: NiceChen <nicechencs@gmail.com>
主按钮把点击事件当成文件夹传给创建会话,JSON.stringify 遇到循环引用后会话建不出来。点击不再传事件,路径只接受字符串或空,并补上回归。 Co-authored-by: NiceChen <nicechencs@gmail.com>
探针确认宽面板里轨道没挂上、也点不了。量宽为 0 时不再当成已量到,空测量层不能冒充轨道;回归要求出现可点的 tab 刻度。 Co-authored-by: NiceChen <nicechencs@gmail.com>
#372 按旧实现要求一条用户消息时整段空 DOM。产品侧设置打开时要挂着量宽层,轨道仍隐藏。门槛用例改成认量宽层,不认空壳当轨道。 Co-authored-by: NiceChen <nicechencs@gmail.com>
cursor
Bot
force-pushed
the
cursor/tw-chat-outline-cyclic-3a4f
branch
from
September 20, 2026 15:59
df1a6af to
4bd45ae
Compare
This was referenced Sep 20, 2026
Merged
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.
做了什么
真窗 QA 包
TW-CHAT-PACK-b5eda8e4里的两处产品问题,单独开到dev(不并进测试-only #372)。已 rebase 到最新
origin/dev(370bff34,含 #372 squash-merge)。Tip:
4bd45ae3ced48414799da127c99f32aed1264271探针(
b5eda8e4,shot 07)结论:宽面板 + 大纲打开 + ≥2 条用户消息时,左侧大纲 没挂上 / 不可点,不是太细看不见。本 PR 挂的是带 tick、可跳转的真实轨道,零宽测量层不算已挂上。P0 — 聊天大纲轨道没挂上
量
[data-chat-stage]、设置打开时保持量宽节点、0不算已量到。三条门都满足时挂tablist+ 可点 tick。P1 — 新建对话循环引用
主按钮
onClick={() => onNewChat()}(#372 已有同样点击包装;本 PR 再在路径 / API / Tauri 边丢掉非字符串,避免事件对象进JSON.stringify)。Rebase / 冲突
ChatSessionRail.test.ts。两边用例都留:测试:补齐 #367–#371 对话能力的单元/集成覆盖 #372 的工作目录分组 + 本 PR 的「主按钮不传点击事件」。df1a6afe无 diff。验证
116 个相关用例通过。冲突解决没有改大纲 / 新建对话的产品行为,不需要因此再跑 Test-bot。
范围
产品修复 + 最小回归。不并进 #372。请勿合并(除非你要合)。