#1395
watch 31e3313f..468f284a: slot-gesture hints, press-origin gating, DrawContainerSlot fold
merge ? CI rot GitHub ↗lane1/watch-537-slot-hints · PurpleFuchs · 16 Dateien · +380 −110 · 2026-11-05
Zusammenfassung
Spec-only lane1 pass over watch range 31e3313f..468f284a (versions 528-537): covered inventory slots, slot-gesture hints, action-bar press origins, QuickTransfer extraction, DrawContainerSlot fold, unified machine window sizes.
Pins / repairs
- ActionBar_spec —
CaptureInputpress-origin gating: only presses that start inside the bar drive slots; world-origin holds sweeping over the bar cannot select/unbind; bar-press right-click deselects the active action (drag-tool ownership suppresses both). 35/35. - DrawFilterChoice_spec — rewritten for the callable-table API:
FitSize, CWTabs per-machine tab state, sorted item types/items, ScrollContainer + scroll reset on tab change, viewport culling, fixed 4-row window height + screen slack. 10/10. - DrawSplitterCW_spec + Deep — callable
DrawFilterChoicestub withFitSize; ChooseItem pre-fit; shift-release repinned toLibraries.Inventory.UpdateHandSlotdelegation. 17/17. - HandSlotContainer_spec —
QuickTransferstub; no-special-path test repinned. 20/20. - AreaDragManager_spec — armed AreaDemolish owns L/R presses before tools. 11/11.
- AddItemToSlot_spec —
GLOBAL_ItemDBseed; EnergyDirty gate repaired. 12/12. - DrawComplexWindow_spec — dormant-window screen clamp repin. 9/9.
- DrawMagicEnergyCW_spec —
+1: returns the caller'sWindowData.Size(unified sizing). 8/8. - SlotGestureHint_spec — new: one-frame mailbox —
Set→Getonce, overwrite, nil-clear. 4/4. - DrawContainerSlot (deleted upstream) — removed from
GuiElementsSweep/Gates2/GatePins2;DrawHoverPopcomment updated. - Taxonomy re-pin —
DrawFilterChoice→ RAISES (file-scopeFILE_ItemDB),Libraries.Inventory.QuickTransfer→ RAISES,Objects.Gui.SlotGestureHint→ TABLE_M; SourceSweep 704→711 plus standing drift (MoveUnit,ConveyorPathRouter,ValidateUnitTile,UpdateUnitPositionraises;Freecam,VoidStorageListtable;IsBakeErrorcallable;DrawEnergyTab,ConveyorPathPreview,DrawFolderActions,DrawSaveGameFoldersraises).
Unpinned: DrawContainer click sound (Commands.PlayEffect, UniqueSource=true) — no dedicated spec, delegation covered via HandSlotContainer; QuickTransfer internals (raises headless).
insuite (on 468f284a)
SourceSweep 3/3 GuiElementsSweep 2/2 Gates2 326/326 GatePins2 326/326
syntaxchk: 4064 OK / 0 ERR / 3 SKIPPED
Geänderte Dateien (16)
| UnitTests/TARGETS.md | geändert | +1 −0 |
| UnitTests/spec/ActionBar_spec.lua | geändert | +69 −0 |
| UnitTests/spec/AddItemToSlot_spec.lua | geändert | +32 −2 |
| UnitTests/spec/AreaDragManager_spec.lua | geändert | +19 −1 |
| UnitTests/spec/DrawComplexWindow_spec.lua | geändert | +5 −2 |
| UnitTests/spec/DrawFilterChoice_spec.lua | geändert | +108 −40 |
| UnitTests/spec/DrawHoverPop_spec.lua | geändert | +2 −2 |
| UnitTests/spec/DrawMagicEnergyCW_spec.lua | geändert | +9 −0 |
| UnitTests/spec/DrawSplitterCWDeep_spec.lua | geändert | +20 −18 |
| UnitTests/spec/DrawSplitterCW_spec.lua | geändert | +34 −25 |
| UnitTests/spec/GuiElementsGatePins2_spec.lua | geändert | +1 −7 |
| UnitTests/spec/GuiElementsGates2_spec.lua | geändert | +1 −7 |
| UnitTests/spec/GuiElementsSweep_spec.lua | geändert | +5 −2 |
| UnitTests/spec/HandSlotContainer_spec.lua | geändert | +20 −3 |
| UnitTests/spec/SlotGestureHint_spec.lua | neu | +45 −0 |
| UnitTests/spec/SourceSweep_spec.lua | geändert | +9 −1 |