Skip to content

fix(create): honor ?preset= URL parameter on theme customizer load - #34

Open
elviskahoro wants to merge 1 commit into
LineIndent:mainfrom
elviskahoro:upstream-pr/create-honor-preset
Open

elviskahoro wants to merge 1 commit into
LineIndent:mainfrom
elviskahoro:upstream-pr/create-honor-preset

Conversation

@elviskahoro

Copy link
Copy Markdown

Summary

fix(create): honor ?preset= URL parameter on theme customizer load

Testing

Regression tests: tests/test_theme_preset_url.py . The full test suite passes against current LineIndent/native main.

🤖 Generated with Claude Code

on_mount unconditionally called syncAll(), overwriting an incoming
?preset= code with the default. Apply the URL code first and fall back
to syncAll() only when absent or invalid. Adds regression tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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