Skip to content

Start the pattern editor on the Halloween preset (0.6.1) - #23

Merged
andrewfraley merged 2 commits into
mainfrom
starting-pattern-halloween
Sep 26, 2026
Merged

andrewfraley merged 2 commits into
mainfrom
starting-pattern-halloween

Conversation

@andrewfraley

Copy link
Copy Markdown
Owner

The pattern editor's starting pattern, shown when a group has no pattern yet, didn't match the built-in Halloween preset. It still had the old two-color version from before 0.5.1: orange 255,152,0 at 80 and purple at 20. It now matches the preset: orange 255,126,0 at 80, purple at 15 and yellow 255,236,0 at 5.

  • frontend/src/PatternPage.jsx: STARTING_PATTERN now matches default_presets()["Halloween"], with a comment on each side pointing at the other.
  • tests/test_presets.py: test_the_editor_starts_on_the_halloween_preset reads STARTING_PATTERN out of PatternPage.jsx and compares it with the preset. It fails on the old constant, so the two can't drift apart silently again.
  • Release 0.6.1 (patch): version bumped in pyproject.toml, frontend/package.json and the add-on's config.yaml, both locks refreshed, and notes in docs/releases/0.6.1.md. There have been no Dependabot merges since v0.6.0.

Tested: 342 Python tests, the frontend tests and the format checks.

🤖 Generated with Claude Code

andrewfraley and others added 2 commits September 26, 2026 13:07
The editor's STARTING_PATTERN still had the old two-color orange and purple
after 0.5.1 changed the preset. Match the preset, and add a test that reads
the constant out of PatternPage.jsx so the two can't drift apart again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@andrewfraley
andrewfraley merged commit 67631df into main Sep 26, 2026
6 checks passed
@andrewfraley
andrewfraley deleted the starting-pattern-halloween branch September 26, 2026 17:11
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