Skip to content

Let a click on the sheet drawing choose the first free Avery cell. - #96

Merged
loeffelandi merged 1 commit into
mainfrom
feature/sheet-start-picker
Oct 28, 2026
Merged

loeffelandi merged 1 commit into
mainfrom
feature/sheet-start-picker

Conversation

@loeffelandi

Copy link
Copy Markdown
Owner

Summary

  • Draw the Avery sheet under First label, with a number in each cell from 1 at the top left, row by row.
  • A click on the first free cell sets the start. The spin box stays the source of truth, and cells before the start look used.
  • On a CD label the number sits in the centre hole and stays readable when that ring is chosen. The OpenSpec change sheet-start-picker records the behavior.

Test plan

  • Set the target to Label sheet, click a cell on the drawing, and confirm the spin box and the highlight show that number.
  • Change First label with the spin box and confirm the drawing follows.
  • Switch to a template with fewer cells and confirm the start clamps to the last cell.
  • Open Zweckform 3654 and confirm the chosen number stays visible in the hole.
  • Switch back to Brother QL and confirm the drawing hides with the sheet panel.

Made with Cursor

Counting cells on a partly used sheet is easy to get wrong. The drawing under First label shows each number and stays in step with the spin box.

Co-authored-by: Cursor <cursoragent@cursor.com>
@loeffelandi
loeffelandi merged commit dec73e4 into main Oct 28, 2026
4 checks passed
@loeffelandi
loeffelandi deleted the feature/sheet-start-picker branch October 28, 2026 22:42
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.

1 participant