Repository navigation
Describe every slot type in the schema registry - #7
Merged
Merged
Conversation
Adds schemas for the remaining 21 slot types so the drag-and-drop editor can edit all 29. Fields follow what each slot's view reads. - Add the tags field type for lists of strings (pricing features, table headers and cells); the editor edits it one value per line. - Build the Filament blocks of the new types from SchemaBlockFactory, so the form and the editor share one description. This also fixes order_receipt, whose form saved keys its view never read. - SlotSchemaRegistry::for() now returns a SlotSchema; schema version is 2. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A new Data Table started with three empty rows. The row's cells field now defaults to four placeholder cells, matching the four default columns. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 11, 2026
do-io
added a commit
that referenced
this pull request
Oct 16, 2026
The slot schema section still said only eight types were described. Since #7 the registry describes all 29, so the editor can edit every one. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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
Adds schemas for the remaining 21 slot types, so the drag-and-drop editor can edit all 29 (it could edit 8).
tagsfield type for lists of strings (pricing tier features, data-table headers and cells). The editor shows it as a textarea with one value per line; Filament gets aTagsInput. SchemaVERSIONis now 2.SchemaBlockFactory, so the form and the editor share one description (about 700 lines of hand-written blocks removed).SlotSchemaRegistry::for()now returns a non-nullSlotSchema. A test fails if a type is added to the enum without a schema.Behaviour changes to review
order_receipt: the old Filament block savedname/quantity/price/total, but the view readsitem/qty/unit_price/grand_total/notes. The schema follows the view, so data stored under the old keys will no longer render.order_receipt.statusandrss_feed.feed_urlare dropped: no view reads them.two_column, and advanced style fields such asbg_color.cellshas no default).Test plan
vendor/bin/pest(113 tests)npm run test:js(24 tests)vendor/bin/phpstan analyse,vendor/bin/pint --test🤖 Generated with Claude Code