fix(selection-polish): macOS 選區潤色預覽窗 rebase 後內容左收/半渲染修復(Seg-1) - #1073
Open
leonoxo wants to merge 2 commits into
Open
fix(selection-polish): macOS 選區潤色預覽窗 rebase 後內容左收/半渲染修復(Seg-1)#1073leonoxo wants to merge 2 commits into
leonoxo wants to merge 2 commits into
Conversation
…g echo strip Rebased onto origin/beta (c4e8e88); scoped to the confirmation/apply path only, decoupled from the user-envelope prompt redesign (Open-Less#1045 segment 2). - macOS preview window: non-activating NSPanel, first-click key guard (windowNumber + fixed title), resign key before reactivating the target app, pre-insert front-most revalidation. - SelectionPolishPreview: reset busy/error on re-show (window reuse). - selection_service: settle_confirm_failure keeps transient platform failures retryable (no cancel, preview stays). - scaffolding: strip_echoed_scaffolding conservative echo removal + selection_user_prompt (selected_text envelope), contract tests. Verified: openless-core 805 tests + integration suites green, tsc --noEmit clean, cargo check clean.
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.
變更範圍(Seg-1,8 檔、0 UE 重疊)
rebase 至 upstream beta 新 base
c4e8e887(UI 2.0 改版後),收口 macOS 選區潤色預覽窗:<main>全寬修補(c21d8205):flex:1 1 auto + width:100%,修復重 base 後預覽窗內容左收/半渲染。根因:#root為 row flex,<main>缺寬度行為 → 內容收縮至內容寬靠左;新 base 改版後此路徑被放大。修復嚴格封閉於SelectionPolishPreview.tsx(+2 行)檔案
本地驗證(macOS aarch64,2026-09-13)
tsc --noEmit+ release build EXIT=0附註