Repository navigation
feat: friendly Smart Mix editor built from provider descriptors - #47
Merged
Merged
Conversation
Adds GET /api/smart-mix/kinds (capability smart_mix_kinds): per kind, the fields, widgets, choices, presets and a summary recipe, owned by the provider (rule_spec.py) and checked against the request models by tests. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replaces the raw JSON params textarea with entry cards (one-line summary, share of refreshes), a preset picker and a form generated from GET /api/smart-mix/kinds: people and album pickers, theme chips, on-this-day, date range, TMDB title lookup. Raw JSON stays as an opt-in escape hatch and unknown params keys are preserved. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app/providers/<name>/rule_spec.py);GET /api/smart-mix/kindsserves them (new capabilitysmart_mix_kinds, contract 1.2, additive).tests/test_rule_catalog.pychecks every descriptor against its request model so the form cannot drift from what the provider accepts.docs/API_CONTRACT.md(table + changelog),docs/openapi.json,README.mdandCONTRIBUTING.mdupdated.Test plan
ruff check .,ruff format --check .pytest(1139 passed), including the OpenAPI/contract drift tests🤖 Generated with Claude Code