mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
Conflicts and how each was resolved: - crates/text/src/ui/spelling.rs: upstream463af6d25makes Done the default button (close_on_enter(true)); the port's buttons disable Change All and Add for a repeated word and the dialog can be modeless. Both kept: the port's button list and modeless switch, with upstream's close_on_enter. - crates/ui-canvas/src/canvas/mod.rs: upstream adds Settled::wheel_token (wheel claims, 988e77876/66923d268); the port adds Settled::zoomed. Both fields kept. - crates/ui-canvas/tests/it/canvas/tools.rs: import union (upstream's ToolReadout, the port's ViewFit and ViewRequest). - crates/ui-contract/src/runtime/egui/alt_code.rs: the two sides disagree. The port (c064eb616,8577b382a) let only keypad digits enter a code, so an unclaimed main-row Alt+digit stayed a shortcut. Upstream (744812cbf,9f649dc80,4b1d442bb) keeps top-row digits composing codes and builds the Windows carrier and echo handling on a top_row flag. Took upstream's design and file. An app's Alt+digit shortcut now has to be claimed by the key target (upstream's `claimed` path), as it already is for the keypad. - crates/ui-contract/tests/it/runtime/alt_code.rs: upstream's helpers (keypad(), top_row_code()) replace the port's on_keypad/send_main_row. All of upstream's assertions are kept. The port's assertion that an unclaimed main-row Alt+5 reaches egui became "a claimed top-row Alt+3 reaches egui", which carries the port's shortcut need into upstream's design. The port's assertion that main-row digits type nothing is dropped: it contradicts upstream's "the text after a top-row code is typed as normal" (éй). - crates/ui-contract/src/runtime/focus.rs: each side added a function (the port's text_root, upstream's surrender_stop). Both kept. - crates/ui-widgets/src/list/row/placement.rs: upstream adds TreeIndent (a host's indent step) and ThumbSize::Custom; the port adds the side-menu place row (larger icon, roomy pad, section gap, taller row) and ThumbAspect. Merged: the port's place sizes with upstream's TreeIndent step, and the imports combined. - crates/ui-widgets/src/menu/item.rs: upstream no longer imports level::Row (065818eeb); the port imports ValueMark. Result: {MenuLevel, ValueMark}. - crates/ui-widgets/tests/it/list.rs: both sides added trials after text_rows_are_shorter_than_control_rows. All kept: the port's a_list_in_a_side_menu_has_taller_place_rows, and upstream's three thumbnail-size trials. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>