Commit Graph
7 Commits
Author SHA1 Message Date
whatever-industries 1343ffa127 #2726: sync with main and label the menu Lined Script 2026-11-26 09:11:45 -08:00
whatever-industriesandCodex a95247e4ab Script: paste plain text and finish click-away editing
Paste external text into new scripts, after selected rows, or at a row's
Unicode caret and selection. Split logical rows without replacing later IDs
or annotations, validate hostile input atomically, and retain preceding
typing when the paste is undone.

Close row and label editors on outside clicks even when they no longer own
keyboard focus. Wrap toolbar controls instead of scrolling them, keep Scene
and Page menus together, and align help with compact search-row spacing.
Update the Script behavior notes to match drops and recovery.

Validate with cargo xtask ci, 46 Script UI tests, Script engine Undo and
save/reopen regressions, native click-away testing, and responsive wgpu
screenshots. An initial unrelated eyedropper test failure passed in isolation
and in the unchanged full rerun; retain its evidence for follow-up.

Co-authored-by: Codex <[email protected]>
2026-10-23 23:48:32 -07:00
whatever-industriesandCodex d227fe1ad6 Script: anchor drops to full-width row selections
Select and Shift-select rows past both text margins. Keep Project clip drop previews and new candles anchored to the selected range, even over another row or a floating object. Preserve direct thumbnail additions and candle relinks when no rows are selected.

cargo xtask ci passes with all 28 Script UI tests. Native checks cover full-width selection, selection-anchored drops over four kinds of targets, preserved existing slates, and Undo.

Co-authored-by: Codex <[email protected]>
2026-10-23 18:46:16 -07:00
whatever-industriesandCodex 1b0752d26d Script: accept clip drops across the full canvas
Use the full canvas to preview and accept Project clip drops onto a line or selected range, including open space between floating setups. Keep thumbnail additions and candle rebinds ahead of the canvas fallback, and use drag-aware target hit testing.

Validate List, Icon, and Freeform views, selected-range coverage, Undo, hover without edits, Escape cancellation, and explicit targets. cargo xtask ci passes with all 26 Script UI tests; native left, middle, and right drops and Undo were also verified.

Co-authored-by: Codex <[email protected]>
2026-10-23 18:25:03 -07:00
whatever-industriesandCodex c1573a50e7 Script: add Backspace deletion and harden review edge cases
Delete selected marks, candles, or thumbnail setups with Backspace and forward Delete, preserve script focus, and support Undo. Keep automatic relinking moving when Script review is needed, retain document caches across unrelated edits, and guard stale drag targets after Undo.

Validated with cargo xtask ci, 23 Script UI tests, and native keyboard deletion and Undo checks.

Co-authored-by: Codex <[email protected]>
2026-10-23 17:52:49 -07:00
whatever-industriesandCodex af71194e47 Script: integrate main and preserve trimmed candle annotations
Keep hidden marks, row colors, and off-screen passages when coverage shrinks. Restore them on expansion, retain repeated navigation labels, equalize gray candle caps, and clear active candles and thumbnails when clicking elsewhere in the script.

Preserve both Script validation and project ID repair when loading. Adapt integration tests to current main, isolate process-sensitive tests, and allow proxy jobs to finish under parallel test load.

Validated with cargo xtask ci on Rust 1.95 and native control-channel screenshots.

Co-authored-by: Codex <[email protected]>
2026-10-23 17:04:00 -07:00
whatever-industries 9fe7e122d7 Script: refine takes, marks, and script navigation 2026-10-21 15:29:00 -07:00