Skip to content

docs(objectstack-ui): document detail.hidePath status-stepper opt-out#2447

Closed
baozhoutao wants to merge 1 commit into
mainfrom
docs/detail-hide-path
Closed

docs(objectstack-ui): document detail.hidePath status-stepper opt-out#2447
baozhoutao wants to merge 1 commit into
mainfrom
docs/detail-hide-path

Conversation

@baozhoutao

Copy link
Copy Markdown
Contributor

What

Documents detail.hidePath in the objectstack-ui skill, next to detail.relatedLayout (added in #2418):

detail: { hidePath: true }   // no top status stepper; status shows as a normal field

Why

The record detail page auto-detects a status/stage field and renders it as a Lightning Path-style stepper, marking every option before the current value as completed. That's wrong when the picklist isn't a linear pipeline — e.g. a status that folds a risk gradient into its options (已完成 / … / 进行中-特高风险 / 已逾期). Authors need a config-level off switch; the skill now documents it, including the detection heuristic (a plain select is not auto-promoted) and the "fix the data model first" guidance.

Pairs with the renderer wiring in objectui#2062.

Scope

Docs only — one block added to skills/objectstack-ui/SKILL.md.

@vercel

vercel Bot commented Jun 29, 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 29, 2026 2:52am

Request Review

@baozhoutao baozhoutao added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Jun 29, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation size/s labels Jun 29, 2026
@os-zhuang os-zhuang closed this Jun 29, 2026
Set detail: { hidePath: true } to suppress the auto record:path status
stepper when the detected status picklist isn't a linear pipeline (e.g. a
field that folds a risk gradient into the status). Mirrors objectui#2062.
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 skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants