Add configurable spacing for wimport layouts - #126
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Let users adjust the space between containers imported from a
.wimportfile 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
VersionPrefixto 1.5.1 and add itsCHANGELOG.mdsection, so merging this releases the change instead of only publishing a Dev build.scripts/release-notes.ps1 -Mode Verify -Version 1.5.1passes.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.