Repository navigation
fix(native): anchor scoped sidebar range selections - #330
Conversation
|
Exact-head independent source/context review is complete for Theme, parity-intake, conformance and diff checks passed. Core/client tests are running. Strict Clippy, normal/snapshot builds and exact compiler-selected runtime checks still must pass before final artifact review or merge.
|
|
Candidate |
|
PR #330 merged with |
|
Fresh merged proof is green: snapshot build, seven exact core cases (one pass each, 1,249 filtered) and six exact native cases (one pass each, 123 filtered), including the complete scoped selection case and five paging controls. Each native case used a separate empty owned sandbox home. Merged source/ledger hashes match the reviewed candidate and main is clean. Independent fresh artifact review is pending; no whole-row acceptance is claimed. |
|
Finite scoped-click anchor fix #328 / PR #330 is accepted after matched merge Tests first reproduced modifier-add then Shift selecting one key instead of all six composite visible scoped keys. The complete existing actual GPUI case now passes in both normal/folder modes, including clear/no-anchor/missing-anchor/route checks and original Undo/keyboard/drag/no-RPC controls. Fresh merged seven core cases and six native cases all selected one test and passed. Each native run used a separate empty owned sandbox home. No assertion/count/date or constants changed. SB-SELECT remains partial; sidebar acceptance stays 9/16. Controller scope/reveal/remove anchor lifecycle, action-specific bulk subsets/clear semantics, and integrated row/Escape/menu/focus proof remain. No physical AppKit/AX/input, live-provider, restart or performance claim. |
Problem
Scoped sidebar modifier-click did not set the range anchor. Shift-click without a usable anchor selected nothing, and explicit selection clear left the scoped anchor behind.
Fix
Match the current web selection store in the existing scoped click consumer: additions anchor, removals keep the anchor, an unavailable anchor falls back to the target, and explicit clear removes both selection and anchor. Preserve the existing selection-clear return value and local selection behavior.
Extend the existing actual GPUI scoped-order/Undo test. It uses the current composite visible order, including equal raw ids in separate environments, and preserves the original folder/reorder/route/no-RPC assertions.
Closes #328. Parent #242. SB-SELECT remains partial; sidebar acceptance remains 9/16. Controller scope/remove lifecycle, action-specific bulk subsets/clear behavior, and whole interaction proof are separate follow-ups. No server, protocol, permission, constants, or layout changes.
Evidence
thread_menu_tests.rs:863: one selected scoped key versus all six visible scoped keys. One failed test, 125 filtered. Independent exact-source and intended-failure/artifact-custody reviews completed.10c0d68d11bf6d81b19c13b39e92f7fafb12f638. All 1,356 core/client tests, strict workspace/all-target Clippy, normal build, theme/intake/conformance and diff checks passed. Snapshot build and compiler-selected candidate runtime checks passed: seven focused core cases (each one passed, 1,249 filtered) and six native cases including selection and paging (each one passed, 123 filtered). Each native case used a separate empty owned sandbox home. Source/ledger hashes are stable and the checkout is clean. Independent candidate final review passed (6734d375). Matched-head merge is05960f319d50a2b8c27b40cb26393776e97ed6fbwith the exact reviewed tree. Fresh merged snapshot build, seven core cases and six native cases passed again; independent merged final review (a735384b) confirmed all three exact artifacts present before the next build. This finite fix is accepted; whole SB-SELECT stays partial.check:changedfailed before checks: the existing desktop task config cannot be parsed (also reproduced on unchanged main). Direct invocation cannot resolve installed@effect/platform-node. No dependency install or unrelated tooling edits were made. These failures are not reported as green.Model/harness: GPT-5.3 Codex via Prime Agent; independent Sol/Codex review.