Skip to content

Add configurable spacing for wimport layouts - #126

Merged
marcosqlbi merged 2 commits into
mainfrom
codex/import-spacing
Sep 15, 2026
Merged

marcosqlbi merged 2 commits into
mainfrom
codex/import-spacing

Conversation

@Alberto-Ferrari

@Alberto-Ferrari Alberto-Ferrari commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Let users adjust the space between containers imported from a .wimport file without changing the recipe or rearranging the board afterward.

Add Preferences → Import with Horizontal spacing and Vertical spacing sliders. Both retain the existing 32 px default and allow 0–500 px in 1 px steps, measured at 100% zoom. Horizontal spacing separates side-by-side containers; vertical spacing separates rows below their tallest item, including both explicit breaks and automatic wrapping.

The settings persist across sessions and apply to future imports through Open, Import, or drag-and-drop. Existing containers are not repositioned. Older settings files retain the previous layout, and the existing laser-duration sliders keep their values, steps, and seconds labels.

Update the import documentation and add regression coverage for layout, settings persistence and normalization, and the actual WPF preference controls.

Release

Bump VersionPrefix to 1.5.1 and add its CHANGELOG.md section, so merging this releases the change instead of only publishing a Dev build. scripts/release-notes.ps1 -Mode Verify -Version 1.5.1 passes.

Validation

  • dotnet build Whiteboard.sln -c Release — passed with 0 warnings and 0 errors.
  • dotnet run --project tests/SQLBI.Whiteboard.Core.SmokeTests/SQLBI.Whiteboard.Core.SmokeTests.csproj -c Release --no-build — passed.
  • dotnet run --project tests/SQLBI.Whiteboard.SmokeTests/SQLBI.Whiteboard.SmokeTests.csproj -c Release --no-build — passed, including slider callbacks, persistence, category filtering, and laser-control regression checks.
  • git diff --check — passed.

@marcosqlbi
marcosqlbi merged commit 8655988 into main Sep 15, 2026
5 checks passed
@marcosqlbi
marcosqlbi deleted the codex/import-spacing branch September 15, 2026 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants