Skip to content

feat(spec): inlineEdit on relationship fields — declarative master-detail - #1615

Merged
xuyushun441-sys merged 1 commit into
mainfrom
feat/relationship-inline-edit
Jun 6, 2026
Merged

feat(spec): inlineEdit on relationship fields — declarative master-detail#1615
xuyushun441-sys merged 1 commit into
mainfrom
feat/relationship-inline-edit

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Summary

Lets a relationship declare master-detail inline editing in the data model, so the parent's standard form auto-renders it — answering "why not define inline editing at the object/relationship level instead of per-form?"

A master_detail/lookup field can set inlineEdit: true (+ optional inlineTitle/inlineColumns/inlineAmountField):

// the whole declaration — on the relationship, once:
project: Field.masterDetail('showcase_project',{inlineEdit: true,inlineTitle: 'Tasks'})

→ every standard New/Edit Project form renders an atomic master-detail (project fields + inline Tasks grid). No form view config, no bespoke page. The objectui metadata layer derives the subforms from this (PR pairs with objectui).

  • master_detail children withoutinlineEdit are NOT inlined → associations (comments/attachments) stay out of the entry form.
  • An explicit form.subforms overrides the derived one.

Showcase:showcase_task.project sets inlineEdit; the project view's explicit subforms is removed (now derived from the relationship).

Spec field suite: 6647 pass. Live-verified end-to-end via objectui's e2e.

🤖 Generated with Claude Code

Field.inlineEdit (+ inlineTitle/inlineColumns/inlineAmountField) on
master_detail/lookup fields declares "edit these children inline within the
parent form" — the parent's standard form then auto-renders an atomic
master-detail form (objectui derives the UI). showcase: showcase_task.project
sets inlineEdit so New/Edit Project auto-shows a Tasks subtable; the
project view's explicit subforms are dropped (now derived).
spec field tests 6647 pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 6, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
specBuildingBuildingPreview, CommentJun 6, 2026 12:57pm

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation protocol:data tooling size/s labels Jun 6, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 5cf1f1b into mainJun 6, 2026
10 of 11 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the feat/relationship-inline-edit branch June 6, 2026 12:58
os-zhuang added a commit that referenced this pull request Jun 10, 2026
feat(chatbot): live build tree for streaming app builds (BuildProgressPanel) (#1615)
objectui@2f7313ff07a50724a67f239934bd1801d101d502
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationprotocol:datasize/stooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@xuyushun441-sys@os-zhuang