Merge #640: keep selected PPT template under the opening message (ported to 0.2.0-rc.2) - #645
Merged
Merged
Conversation
发送后选择器会收起,把会话里持久化的模板以图标和标题挂在对话开头,点击标题可分页预览。 Co-authored-by: Cursor <cursoragent@cursor.com>
…2.0-rc.2 #640 edited the 0.1.7-rc.2 patch, which #627 replaced with 0.2.0-rc.2. Its source delta (userMessageFooter slot, footer props through the user bubble and ChatNodeSeat) was extracted by applying the old and new 0.1.7 patches to the pristine package, applied cleanly to the patched 0.2.0 package, and the patch regenerated with patch-package. test/ppt-unbound-mode: anchor the catalog-effect comparison at OfficePptChooser (the new opening-template card has its own effect earlier in the file) and inject OfficePptOpeningTemplateCard into applyStandard, asserting the new userMessageFooter registration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Carries #640 onto current main. The fork branch does not allow maintainer edits; merging this marks #640 as merged.
Conflict resolution
#640 modified
patches/@deepseek-ai+dsh-client-ui-chat+0.1.7-rc.2.patch, but #627 moved main to0.2.0-rc.2. Instead of text-merging the patch:lib/client.js+63/−12,slots.d.ts+17).patches/@deepseek-ai+dsh-client-ui-chat+0.2.0-rc.2.patchwith patch-package and verified it applies from a cleannpm ci.Test fix
#640 broke two cases in
test/ppt-unbound-mode.test.mjs(also on its own branch):OfficePptChooser, because the new opening-template card has an identical first line earlier in the file;applyStandardis built with the newOfficePptOpeningTemplateCardbinding, and the test asserts theconversation.chat.userMessageFooterregistration.Checks
npm ci(postinstall incl. patch-package): oknpm test: 176 files / 1591 tests passednpm run typecheck: passednpm run build: passedgit diff --check: cleanNot verified: real app UI (opening-template card under the first user message, preview dialog).
🤖 Generated with Claude Code