docs(master-detail): ADR-0035 + skills for config-driven master-detail#1616
Merged
Conversation
feat(metadata): relationship inlineEdit auto-renders master-detail (#1532) objectui@de3224ecc47a8add79fa9a7ca8467ceed389a49c
- ADR-0035: declare master-detail on the relationship (inlineEdit); forms derive. Documents the layered surface (relationship → view subforms → page block), derivation rules, runtime backbone (atomic /batch + $ref, server summary rollup), and where it's wired. - objectstack-data skill (Relationships): new "Inline Editing" section for `inlineEdit`; corrected the roll-up summary example to the implemented `summaryOperations` shape + noted server-side recompute. - objectstack-ui skill (Form Views): new "Master-Detail Forms" section — relationship inlineEdit (default) → view subforms (override) → page block. So AI generators and authors target the convention: one-line inlineEdit on the relationship, no bespoke page. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Documents the config-driven master-detail design so authors and AI generators target the convention (metadata is AI-authored, so the skills/docs are the real interface).
docs/adr/0035-config-driven-master-detail.md): intent lives on the relationship (inlineEdit), forms derive the UI. Covers the layered surface (relationship → viewsubforms→ page block), derivation rules (FK + columns + total), the "only inline true line-items, not associations" rule, and the runtime backbone (atomic/api/v1/batch+$ref, server-sidesummaryrollup, ADR-0034 transactions).inlineEdit(+inlineTitle/inlineColumns/inlineAmountField); also corrected the roll-up summary example to the actually-implementedsummaryOperationsshape and noted server-side recompute (the priorsummaryType/summaryFieldexample didn't match the engine).inlineEdit(default, zero config) → form-viewsubforms(override) →object-master-detail-formpage block (bespoke).Docs/skills only (no package change). Pairs with the shipped
field.inlineEdit+ renderer/metadata work (framework #1615 / objectui #1532 and the master-detail series).🤖 Generated with Claude Code