Skip to content

docs: document the user field type#2352

Merged
os-zhuang merged 1 commit into
mainfrom
docs/user-field-type
Jun 26, 2026
Merged

docs: document the user field type#2352
os-zhuang merged 1 commit into
mainfrom
docs/user-field-type

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Follow-up to #2351 (the user field type) — brings docs in line with the shipped feature.

Changes

  • references/data/field.mdx + seed-loader.mdx — regenerated via gen:docs so the FieldType / reference enums list user. (feat: add a first-class user field type (person picker) #2351 added the enum value but gen:docs isn't a CI gate, so these committed reference pages were left stale.)
  • guides/data-modeling.mdx — new User Fields section: Field.user(), multiple, defaultValue: 'current_user', lookup specialized to sys_user (FK storage; zero-migration from Field.lookup('sys_user')).
  • guides/standards.mdx — adds a User / Person row to the field-type table.

Only user-related regenerated lines included; unrelated generated-doc drift left out. Docs-only.

🤖 Generated with Claude Code

Follow-up to #2351 (the `user` field type). Brings the docs in line with the
shipped feature:

- references/data/field.mdx + seed-loader.mdx — regenerated (`gen:docs`) so the
  FieldType / reference enums list `user` (the merge added the type but didn't
  regenerate these committed reference pages).
- guides/data-modeling.mdx — new "User Fields" section: `Field.user()`,
  `multiple`, `defaultValue: 'current_user'`, and that it's a lookup specialized
  to sys_user (stored as an FK, zero-migration from `Field.lookup('sys_user')`).
- guides/standards.mdx — adds a User/Person row to the field-type selection table.

Only the user-related regenerated lines are included; unrelated generated-doc
drift was intentionally left out.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 26, 2026 5:06pm

Request Review

@os-zhuang os-zhuang merged commit 2a8b7ac into main Jun 26, 2026
15 checks passed
@os-zhuang os-zhuang deleted the docs/user-field-type branch June 26, 2026 17:10
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/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant