Skip to content

Reuse the Skylight section's own spelling for new grocery items - #31

Merged
mgilardi merged 1 commit into
mainfrom
skylight-section-spelling
Nov 16, 2026
Merged

mgilardi merged 1 commit into
mainfrom
skylight-section-spelling

Conversation

@mgilardi

Copy link
Copy Markdown
Collaborator

A live test of the Skylight sync on 2026-11-16 added a test item from the Fry’s Reminders list (curly apostrophe) to Skylight. It landed in a new Fry’s section beside the existing Fry's (straight). Matching ignores that difference, but writing used the Reminders list's spelling.

section_for now reuses a section already on the Skylight list when it matches the store, spelled as it is there. A section set in grocery_store_sections still wins.

Tested: python3 -m unittest tests.test_skylight_sync, with two new tests. Not tested: a live pass with the fix, which reaches the installed engine only when it's updated.

🤖 Generated with Claude Code

A live test on 2026-11-16 added an item from the Fry’s Reminders list
(curly apostrophe) to Skylight in a new Fry’s section, beside the
existing Fry's (straight). Matching ignored the difference, but writing
didn't. New items now use the section already on the list.

Tested: unit tests. Not tested: a live pass with the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 1a71aaa into main Nov 16, 2026
3 checks passed
@mgilardi
mgilardi deleted the skylight-section-spelling branch November 16, 2026 23:07
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