Skip to content

docs(master-detail): ADR-0035 + skills for config-driven master-detail#1616

Merged
xuyushun441-sys merged 2 commits into
mainfrom
docs/master-detail-adr-skills
Jun 6, 2026
Merged

docs(master-detail): ADR-0035 + skills for config-driven master-detail#1616
xuyushun441-sys merged 2 commits into
mainfrom
docs/master-detail-adr-skills

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

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).

  • ADR-0035 (docs/adr/0035-config-driven-master-detail.md): intent lives on the relationship (inlineEdit), forms derive the UI. Covers the layered surface (relationship → view subforms → 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-side summary rollup, ADR-0034 transactions).
  • objectstack-data skill (Relationships): new Inline Editing section for inlineEdit (+ inlineTitle/inlineColumns/inlineAmountField); also corrected the roll-up summary example to the actually-implemented summaryOperations shape and noted server-side recompute (the prior summaryType/summaryField example didn't match the engine).
  • objectstack-ui skill (Form Views): new Master-Detail Forms section — relationship inlineEdit (default, zero config) → form-view subforms (override) → object-master-detail-form page 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

os-zhuang and others added 2 commits June 6, 2026 21:12
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>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 6, 2026 1:15pm

Request Review

@xuyushun441-sys xuyushun441-sys merged commit eeb1a77 into main Jun 6, 2026
7 of 8 checks passed
@github-actions github-actions Bot added the size/m label Jun 6, 2026
@xuyushun441-sys xuyushun441-sys deleted the docs/master-detail-adr-skills branch June 6, 2026 13:15
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants