Skip to content

Fill-enclosed nudge + v0.5.1 - #15

Merged
kurenn merged 1 commit into
mainfrom
feat/fill-nudge
Jun 6, 2026
Merged

kurenn merged 1 commit into
mainfrom
feat/fill-nudge

Conversation

@kurenn

@kurenn kurenn commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Prevents the "white parts print hollow" surprise: logos whose blank interiors (letter shapes, outlined marks) match the background need Fill enclosed areas, but that toggle is off by default and easy to miss.

Now detection reports how much of the design is enclosed blank area, and when it's significant (≥5%) the GUI shows a nudge right by the toggle — "This logo has large blank areas inside it (~36%). Turn this on to paint them — otherwise they'll print hollow." — with a one-click Turn on.

  • service.detect_from_path returns enclosedPct.
  • app.jsx renders the nudge when !fillHoles && enclosedPct >= 5%.
  • Tests for enclosedPct. Full suite: 69 passing.

Verified live in a headless browser on the real logo: nudge shows "~36%", clicking Turn on enables fill (White appears) and dismisses the nudge; no console errors. Ships as v0.5.1 (also rolls up the buy-me-a-coffee link). Auto-deploys on merge.

🤖 Generated with Claude Code

Logos whose blank interiors (letter shapes, outlined marks) match the background
print hollow unless "Fill enclosed areas" is on — but that toggle is off by
default and easy to miss. Now detection reports the enclosed-area percentage, and
when it's significant (>=5%) the GUI shows a nudge right by the toggle
("...otherwise they'll print hollow") with a one-click "Turn on".

- service.detect_from_path returns enclosedPct.
- app.jsx shows the nudge when !fillHoles && enclosedPct >= 5%.
- tests for enclosedPct (69 tests total).

Release prep: bump to 0.5.1 and finalize the CHANGELOG (also rolls up the
buy-me-a-coffee link merged earlier).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kurenn
kurenn merged commit da3cf1b into main Jun 6, 2026
2 checks passed
@kurenn
kurenn deleted the feat/fill-nudge branch June 6, 2026 01:57
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