Skip to content

feat(schema): optional label on selection component options - #260

Open
vydimitrov wants to merge 1 commit into
mainfrom
feat/schema-selection-option-label
Open

vydimitrov wants to merge 1 commit into
mainfrom
feat/schema-selection-option-label

Conversation

@vydimitrov

Copy link
Copy Markdown
Member
Q A
Branch? main
Bug fix? no
New feature? yes
BC breaks? no
Fixed tickets -

Adds an optional label (string | null) to selection component options in SelectionConfigSchema / SelectionConfigInputSchema.

The Crystallize API now accepts a label on each selection option. Without this change, OperationsSchema.safeParse strips the field, so shapes created through mass operations (imports, CLI) silently lose their labels. The test pins that label survives a shape/create operation.

Needs a version bump/publish so the backend can pick it up.

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@vydimitrov
vydimitrov requested a review from Plopix October 28, 2026 15:18

This branch has not been deployed

No deployments
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