Repository navigation
feat(list,detail): a change that makes other fields required asks for them in place - #35994
Conversation
… them in place The kanban drop's requiredWhen pre-check and fill-in dialog move to @object-ui/fields, generalised to any set of changed keys, and gain the record name, the triggering change as read-only rows, chained requirements and in-dialog refusals. The select-first list cell (ObjectGrid's confirmCommit) and the record page's inline Save (InlineEditSaveBar's atomic path) now open the same dialog and write the change and the typed values in one update. The kanban keeps its behaviour and copy. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWZ6R6aogVL9TTxNG8
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T05:21Z. The brief handed to the isolated declaration-face reviewer for PR #35994 (owed by the changeset's Contract review brief — PR #35994 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 席位核对 — REWORK (L1-a)维护者速读这个 PR 做的事是:在列表格子或记录页上改一个值时,如果这会让别的空字段变成必填,就先弹框请人补填,再一次保存。整体做法和看板共用同一套判断,这一点是对的。但列表这一侧有一个必须先修的问题,记录页还有一个建议修的问题。
这个 PR 不属于受管面,修完后需要我再做一次增量核对。 Head reviewed: What holds
FindingsM1 (must-fix) — on the list, the prompt judges a projected row as if it were the stored record. As a result:
Why the suite does not see it: the test data source's Fix (the dev's choice of shape): before deciding, read what the decision needs. Either:
Pin it with a S1 (should-fix) — a 409 from the record page's dialog becomes a silent overwrite on the second Save.
Nits:
Observations (no change asked)
Landing terms
|
… opens the conflict dialog The list row is the view's projection, so a requiredWhen field or a predicate operand outside the columns was absent and read as empty: a stored value was asked for again and overwritten. The list cell's prompt now reads the keys the row lacks (requiredWhenPromptReads, one findOne with $select) before judging, and asks nothing when that read fails. On the record page, a 409 of the fill-in dialog's write opens the page's conflict dialog, whose overwrite sends the draft and the typed values, instead of re-reading under the reader. A row no longer loaded makes the list save fail rather than guess index 0. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgWZ6R6aogVL9TTxNG8
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T07:50Z. Contract reviewServed-tier: Inputs were card #35956 (body and both comments: the triage and claim ① Derived judgments
Findings:
② Semver level
Clause-②: ③ Boundary flagsDev flags (the PR body's "Readings I chose" and its "Not measured" list):
SQL push-down (Prime Directive 5): no finding. The pre-evaluation runs client-side over the record and object schema each surface already holds. The diff adds no query, materialises no id list and adds no in-app join. The grid's Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T07:51Z. The delta brief handed to the same isolated declaration-face reviewer for PR #35994. The record follows as its own comment. Delta round. Your earlier record on |
|
repo:objectstack#1 · os-sales · session_01L6bhgTcFanGhTvqS1V2Q4U 席位核对 — delta ACCEPT (L1-a)维护者速读上一轮的两个问题都修好了:
剩下一个小问题,不挡合并:对于有「条件必填」字段、而这些字段又不在列表列里的对象,列表里每改一个格子(哪怕改的是名称这种无关字段)都会先多读一次记录,格子要等这一下才更新。可以只在改动的字段会影响必填条件时才去读,建议另开一张小卡跟进。这个 PR 不属于受管面,可以按普通队列合并。 Head reviewed:
Against Delta, by finding
Nit (does not block; follow-up card suggested)
Observations (no change asked)
Landing terms
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T07:52Z. Replaces the seat's previous delta-brief comment on this PR, which went out without its brief text. The delta brief handed to the same isolated declaration-face reviewer for PR #35994. The record follows as its own comment. Delta round. Your earlier record on Contract review brief — PR #35994 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T07:55Z. Contract reviewServed-tier: This is a delta round on top of the earlier record for Inputs:
The delta has two commits.
Check-runs on this head: 54 ① Derived judgmentsD1 to D8 from the earlier record still hold on this head, except for the additions below. The rework touches no other published name, prop or locale key.
Earlier findings:
New:
② Semver level
Clause-②: ③ Boundary flagsThe earlier flags carry over, with two updates:
New dev flags:
SQL push-down (Prime Directive 5): no finding. The new read is a single by-id Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-21T07:57Z · #35956 PR 1: a change that makes other fields required asks for them in place, in list cells and on the record page, and saves both together. |
…entre of the list (#36021) <!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4Uu2Mjk8ZWmMZxpXyNE5d5QSn)_ repo:objectstack#1 · os-sales · session_01L6bhgWRZyWba1HhfWN7hKy Fixes #35678 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 勾选行后,列表区域底部居中浮起一条小栏:「已选 N 条」和 ×,最多 3 个带文字的操作,其余进「更多」;操作不超过 3 个时全部是按钮(只有删除时删除就是按钮)。 - 栏浮在合计行之上,列表末尾留出空间让最后一行完整露出;整页勾满且还有更多匹配时出「选择全部 N 条」;× 或 Esc 清空。页面顶部不再随勾选变化。 - 主列表、子表页签、侧边记录、嵌入表格共用这一条栏;旧的底部条和视图栏的「已选」face 都删了。列表页上只勾一条时显示这条记录自己的操作(行上没有操作列);其他位置一律显示批量操作。 - 风险:动了 ObjectGrid、data-table、列表页头三个热文件;浏览器 spec 跑出两个真问题已修(详见 Verification)。三个 i18n 键因此不再被读,留作后续卡。 ## What changes **One floating selection bar** (`ui/packages/plugin-grid/src/components/SelectionBar.tsx`, replacing `SelectionPageBar.tsx` and the old strip in `BulkActionBar.tsx`): - Count chip 「已选 N 条」 and ×, then up to `SELECTION_EXPOSED_ACTIONS = 3` labelled actions, the rest behind 「更多」. When the selection offers no more than three actions, every one is a button, Delete included (`planExposedEntries`). Over three, the first three non-destructive actions are buttons and Delete goes behind 「更多」, last. - A narrow host gives actions back to 「更多」 one at a time until the bar fits on one line (`useFittedCount`). It re-measures when the host's width changes and when the bar's own box changes (a font or stylesheet that arrives late). - 「选择全部 N 条」 shows when every loaded row is selected and more match. Over the 5000 cap, the offer, the chip and the chip's title name the cap (#28552 strings, unchanged). - × clears the selection. Esc clears it unless the key belongs to a field, or to another open dialog/menu/listbox/popper that does not hold the bar. A grid inside the record drawer still clears on Esc. - Look: `bg-popover`, rounded, shadow. In dark mode the border is `dark:border-foreground/20`, so the edge stays visible. **Where it floats** (no inline styles; utility classes only): - Flat table: a new runtime slot `DataTableSchema.floatingBar` (`ui/packages/types/src/data-display.ts`, refused by the zod twin with `handlerKeyRefusal` like the other runtime slots, KnownDrift ledger updated). `data-table.tsx` draws it in a zero-height sticky anchor after its scroll box, 12px above the bottom, or above the summary row when one is drawn. It also adds a spacer row (`data-table-floating-bar-room`) after the last row, so that row scrolls clear of the bar. - Card face, grouped cards, grouped table: `FloatingSelectionBarAnchor`, drawn right after the face's scroller, with `pb-16` room inside the scroller. - Because the anchor sits outside the scroller, the bar holds at the bottom of the page's own scroller when the face grows with its rows (a child-table tab, the side record). It sits at the scroller's bottom when the face is height-bounded (the list page). **One bar everywhere:** - `ObjectGrid` draws the same bar on every face. The portal into the page header and the bottom strip are gone. - `useListPageBarHost` / `ListPageBarState` (never published; absent from `@object-ui/plugin-grid@18.6.0`) are replaced by `useListPageScope(scope)` (`listPageScope.ts`). The list page registers its page column with it. A grid inside it draws no row-end controls (#35554) and, with one record selected, offers that record's actions in the bar (`singleRowMenu`, in row-menu order, Delete last). - Outside the list page the rows keep their own menu, and the bar offers the bulk actions at any count. - `objectViewPageHeader.tsx`: the page header and the view bar no longer hide or swap on selection. **Phone (card item 9):** - Below 768px the grid draws cards, and the same bar floats over the card scroller, centred, on one line. - List pages draw no phone bottom menu (`PhoneAppNavBar` is drawn only on Home/Notifications/Approvals), so there is nothing to replace there. - The ways into selection on a phone are #35883's (seat note), and they land on this bar. **Context menu:** unchanged. **Not changed (reading accepted in the claim):** the non-grid ListView strip (kanban and the other non-grid views) keeps its own bar. ## Tests Rewritten, because they asserted the retired faces: - `plugin-grid/src/__tests__/BulkActionBar.test.tsx`: fully rewritten. Old cases: the cross-page banner ("All N on this page are selected"), "Clear" text and the banner's clear. New cases: `planExposedEntries` (budget 3; all exposed at or under budget, Delete included; over budget the first admitted three; a narrower fit returns trailing entries in order), `singleRecordEntries` order, Delete-only → button, 3 vs 4+ actions, More contents (Delete last), one-record actions, 「Select all N」, the all-matching count, ×, Esc with the field / other-layer exceptions, Esc inside the dialog that holds the bar. - `plugin-grid/src/__tests__/listPageBarSlot-35554.test.tsx` → `selectionBar-35678.test.tsx`. Removed: "two rows selected: … Cancel restores the page bar" and "CONTROL: a grid with no page bar keeps the bottom bulk bar". Added: the bar floats in the table with one record's actions, the room row comes and goes with ×, Esc clears, and with no list-page scope the same bar shows bulk actions. Kept: no Actions column, Shift-extend, right-click. - `BulkActionBar.selectAllMatchingCap-28552.test.tsx`, `bulkActionRefresh.test.tsx`, `bulkFanoutHostParams.test.tsx`, `plugin-list/…/ListView.crossPageSelectAll.test.tsx`: banner assertions became assertions on the count chip's text and `title`. The offer reads `Select all N` (`grid.selectAllTotal`). - `app-shell/…/ObjectView.bulkWiredHeaderDuplicate-12462.test.tsx`: the selection face testids became the bar's (`bulk-actions-bar`, `bulk-selection-clear`). - `ui/e2e/list-no-actions-column-35554.spec.ts`: - Rewritten: the two-rows case (it asserted the page header hides and that nothing floats over the rows; it now asserts the opposite), the one-row case and the select-all case. - Added: 8 cases for the bar on the list page, a child-table tab and the side record, in light and dark, plus 375px. - `examples/app-showcase/e2e/bulk-capability-gate.spec.ts`: three exposed defs instead of two. Only import paths changed (`../components/SelectionBar`): `BulkActionBar.deleteLabel.zh-28910`, `BulkActionBar.regionName.zh-12145`, `bulk-action-visible`, `bulkActionCapabilityGate`, `lookupPredicateParity`. Added: `types/…/data-table-declared-keys-6882.test.ts` pins `floatingBar` as declared with type `React.ReactNode`. `zod-mirror-parity.test.ts` lists it in the DataTableSchema drift entry. ## Acceptance notes 1. Bottom centre of the list area, 「已选 N 条」 + ×, ≤3 labelled actions, rest in 「更多」, a single action is a button: yes (e2e measures the bar's centre against the scroll box's, ±1px). 2. Above the footer calc row, last row fully visible: yes (e2e: bar bottom ≤ tfoot top; after scrolling to the end, the last row's bottom ≤ the bar's top, on the list and on the child tab). 3. Top of the page does not change: yes (e2e: `page-header` stays visible). 4. × / Esc clear; 「选择全部 N 条」 when the page is all selected: yes. 5. One bar for main list, child tabs, side record, embedded tables; old strip and page-bar face retired: yes. 6. Phone: the bar works at phone width over the card face; list pages have no bottom menu to replace. 7. Context menu unchanged: yes (right-click e2e case kept). 8. Dark theme edge; 375px no wrap/overflow: yes (e2e: border ≠ background in dark; at 375px `scrollWidth ≤ clientWidth`, height 44, inside the window). Follow-up, not in this PR: `grid.bulkAllOnPage`, `grid.bulkSelectAllMatching` and `grid.selectedAllLoaded` are no longer read by any source. Retiring them from the 11 packs is a separate i18n card. ## Verification - Unit: `pnpm exec vitest run packages/plugin-grid packages/plugin-list packages/components/src/renderers/complex` (cwd `ui/`): 517 files, 4837 tests, all pass. `packages/types/src/__tests__` + data-table renderers: 432 files, 10784 tests, all pass. `packages/i18n/src/__tests__` + console `registry-inputs-spec-parity`: all pass. `packages/cli` i18n-bulk-action-coverage / i18n-walk-output-parity and `packages/lint` i18n-walk: pass. - Type check: plugin-grid, components, types (`tsc --noEmit` + test configs), `type-check:e2e`: clean. - Browser (Chromium, real components bundled by Vite from source, real Tailwind): `ui/e2e/list-no-actions-column-35554.spec.ts`, 24 of 24 pass, before and after merging `main`. Two defects the jsdom tests could not see were found and fixed: 1. With the anchor inside a scroller that grows with its rows (a child tab, the side record), the bar sat at the end of the rows instead of the bottom of the window. The anchor now sits after the scroller. 2. At 375px a stylesheet that arrived after the bar drew left it overflowing. The fit now re-measures on the bar's own resize. - Screenshots (main list, child tab, side record; light and dark; 375px) are kept with the card thread's evidence. - Derived gates: `node scripts/pm/dispatch-gates.mjs --ran`: 63 derived, 62 run and exit 0, 1 NOT-MEASURED (`check:dual-build-cjs-loads` exit 3: it needs dists of server packages this diff does not touch; CI builds them). - `node scripts/pm/overlap-check.mjs`: clean against `origin/main`, #35994 and #35983. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01L6bhgWRZyWba1HhfWN7hKy --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgWZ6R6aogVL9TTxNG8
Part of #35956
(PR 1 of 2, claim 7056727903: the shared prompt, the list cell, the record page's inline Save, the kanban on the shared copy. PR 2 moves the record header's stage menu onto it and deletes its own copy; it does not wait for #35853. The record drawer's per-field save is not this card; the seat files it.)
Clause-②: yes (widening) —
@object-ui/fieldsexportscollectRequiredWhenPromptFields,RequiredFieldsDialogand their types (moved from@object-ui/plugin-kanban, which never exported them) and the newrequiredWhenPromptReads; nothing removed or renamedMetadata-protocol: none
Skills-docs:
content/docs/frontend/plugins/plugin-grid.mdx— the "On an object's list page" section gains one bullet (a change that makes other fields required asks for them). No skill underskills/teaches the in-place save, so nothing there moves.Follow-up: #35995 (the record drawer's per-field save asks too; Blocked-by this PR)
Flow: dev-thread rule (maintainer 2026-11-20 09:22:50Z): the card thread builds itself; L1 by L1-a, the declaration L2 by the seat on the green head.
维护者速读
What changes
One prompt, shared (
@object-ui/fields).requiredWhenPrompt.tsandRequiredFieldsDialog.tsxmove here from@object-ui/plugin-kanban(git mv, so the history follows); the kanban imports them from@object-ui/fields. Nothing else in the repository had a copy except the record header's stage menu, which PR 2 moves.collectRequiredWhenPromptFields(objectFields, record, changes, options?)takes the change as a set of keys ({ stage: 'won' }, or a whole record-page draft) instead of one key. It judgesrequiredWhenon{ ...record, ...changes }withresolveFieldRuleState, the evaluator the form and the server share, as the engine's transition gate (objectstack#30220), exactly as the kanban did. It skips the same fields as before (already has a stored value, hidden, read-only, no in-place editor) and, new, any field the host'sfillable(name, def)refuses.excludedefaults to the changed keys.RequiredFieldsDialognow shows the record's name and the change rows (read-only, the option's label) above the fields, as the card's item 3 describes. A value typed in the dialog that makes one more field required adds that field at once (moreFields), and Save waits for it. When the host'sonSubmitrejects, the dialog stays open: a reason that names a field shown is drawn under that field; a reason that names another field the reader can fill adds that field (refusalField); every other reason goes to the foot (role="alert"). Only the shown fields' values are sent. The defaults readfields.requiredPromptTitle/fields.requiredPromptDescriptionand Save; the kanban keeps its own title, description and 「移动卡片」 button.The list cell (
@object-ui/plugin-grid,ObjectGrid; a grid withcellSelection, i.e. every gridListViewdraws).useCellRequiredPrompt(objectGridRequiredPrompt.tsx) answers the S3 seamGridCellSelection.confirmCommitbefore the state-machine confirm: when the committed value makes fields required, it opens the dialog and nothing is staged or sent. The row is the view's projection (the grid fetches the columns it draws), so before judging, the prompt compares the keys the judgment reads (requiredWhenPromptReads: every field it could ask for, and the declared fields itsrequiredWhen/visibleWhen/readonlyWhenpredicates name) with the keys the row carries, and reads the missing ones from the record (onefindOnewith$selectthose keys). A row that carries them all reads nothing more; a read that fails asks nothing and the write goes ahead for the server to judge. Save writes the cell's value and the typed values in oneonRowSave ?? defaultRowSavecall, so the existing in-place write applies (one guarded update, redraw in place, undo notice, the 409 conflict dialog); the seam is then answeredfalseso the table does not write a second time. Cancel answersfalseand the cell keeps what it showed.fillableis the list's own inline-edit test (resolveFieldAffordance('listInlineEdit', …)plus field permissions). When this dialog opens it replaces the state-machine confirm for that commit, so the reader is asked once.The record page's inline Save (
@object-ui/plugin-detail,InlineEditSaveBar). In the atomic mode (noonFieldSave), Save first collects against the record context's object schema and the draft. When fields come back, nothing is written and the dialog opens; its Save sends{ ...draft, ...values }in oneupdatewithIf-Matchthe record's currentupdated_at, then re-reads and leaves edit mode, as a plain Save does. A 409 opens the page's own conflict dialog over it, as a plain Save's 409 does: Overwrite sends the draft and the typed values at the version the server reported, Reload drops the edit, Cancel comes back to the fill-in dialog with the values still typed. Cancel closes the dialog only: the edit session and its draft stay.fillableis the page's record-edit test (resolveFieldAffordance('recordEdit', …), permissions, computed and system fields). The per-field callback mode the drawer uses is not asked.Strings:
fields.requiredPromptTitle/fields.requiredPromptDescriptionin all eleven locale packs (zh-Hant regenerated bygen:zh-hant), with English fallbacks throughuseSafeTranslate.Acceptance notes
The card's items, as this PR covers them:
@object-ui/fields; the kanban uses them with its behaviour unchanged (its 8 prompt tests pass, two assertions added for the record name and change row).data-table'sneedsRecord, and the browser reads 「保存失败: Cancel Memo不能为空 打开记录完成修改」 below. No code change here.Readings I chose:
askRowConflict) overwrite writes and its Cancel rethrows, so the fill-in dialog shows the reason; the record page's is measured in its tests (below). The browser run saw the list's conflict dialog open but did not click either choice.requiredWhenfield the row lacks pays it.Platform checklist: no clause moves.
Tests
Migrated (moved from
@object-ui/plugin-kanbanwithgit mv, assertions kept):ui/packages/fields/src/requiredWhenPrompt.test.ts: the 13 single-key calls now pass{ key: value }; new block for a multi-key change, a chained field andfillable.ui/packages/fields/src/__tests__/RequiredFieldsDialog.ariaInvalid-7008.test.tsx,…ariaInvalidText-7126.test.tsx,…datePicker-12664.test.tsx: the submit button's name is the generic defaultSaveinstead ofMove card(the kanban passes its own); nothing else changed.New:
ui/packages/fields/src/__tests__/RequiredFieldsDialog.inPlace-35956.test.tsx(5): record name and change rows; a chained field joins and Save waits for it; a refusal naming a shown field draws under it, one naming a fillable field adds it; an unattributed refusal is listed at the foot; Cancel sends nothing.ui/packages/plugin-grid/src/__tests__/ObjectGrid.requiredPrompt-35956.test.tsx(11; its server honours$select, as a real one does): the dialog opens for a field with no column and writes nothing; Save sends one guarded update{ stage: 'won', win_reason: … }withifMatch; Cancel writes nothing and the cell keeps its value; a refusal is drawn under the field; controls: a field that already has a value, and a rich-text field, are not asked. Round 1: a stored value that is not a column is read (findOne$select: ['win_reason']), not asked for, not overwritten; an empty one read the same way still asks; a predicate operand outside the columns is judged on its stored value (asks forenterprise, not forsmb); a failed read asks nothing; a row that carries every key reads nothing more.ui/packages/plugin-detail/src/__tests__/InlineEditSaveBar.requiredPrompt-35956.test.tsx(8): the dialog names the record and change and writes nothing; Save sends one guarded update and leaves edit mode; Cancel keeps the session and the draft; a refusal stays in the dialog; controls: a draft that makes nothing required saves at once, and the drawer's callback mode never asks. Round 1: a 409 opens the conflict dialog with nothing re-read, and Overwrite sends{ stage, win_reason }withifMatchthe reported version; the conflict dialog's Cancel comes back to the fill-in dialog with the value still typed.ui/packages/fields/src/requiredWhenPrompt.test.ts, round 1:requiredWhenPromptReadsnames the askable fields and their declared operands (record.andprevious.), skips a field with no editor, an unfillable one and an undeclared operand, and reads nothing for an object with nothing to ask.ui/packages/plugin-kanban/src/ObjectKanban.requiredWhenPrompt.test.tsx: two assertions added (record name, change row).Ablation (committed first, mutated through
scripts/ablation-replace.mjs, restored to the HEAD blob withgit diff HEADempty):requiredPrompt.askreplaced bynull→ 4 failed / 6 inObjectGrid.requiredPrompt-35956; restored → green.fields.length > 0turned to< 0→ 4 failed / 6 inInlineEditSaveBar.requiredPrompt-35956; restored → green.moreFieldsignored → 1 failed / 5 inRequiredFieldsDialog.inPlace-35956; restored → green.presentRefusalemptied → 4 failed across three files; restored → green.ObjectKanban.requiredWhenPrompt; restored → green.1462c319): the list prompt never reads (if (true || …)) → 5 failed / 11 inObjectGrid.requiredPrompt-35956, the old control "a field that already has a value" among them now that the server honours$select; the dialog's 409 not routed to the conflict dialog → 2 failed / 8 inInlineEditSaveBar.requiredPrompt-35956; the overwrite sends the draft alone → 1 failed / 8; each restored → green.Review round 1 (L1-a 7057894230 REWORK on
59fb5217; the seat's declaration L2 on the same head, not posted)objectGridRowLoad.ts#getSelectFields,ListView.tsx#selectFields): it costs nothing on an object withoutrequiredWhen, and it judges the stored values at the moment of the change rather than at the list's last fetch. Pinned with afindandfindOnethat honour$select; the existing control now passes only through the read (ablation above).conflictWriteRef), and nothing re-read under the reader.Math.max(index, 0)): a row no longer among the loaded rows now fails the save withtable.saveFailedin the dialog rather than handing a host index0.updated_at, as the plain Save does; the code is unchanged there.9a473a0c(main merged after feat(grid): the cell editor and a cut-off value draw on a layer over the cell (#35688 S1) #35990, which the seat landed first; no conflict):vitestfromui/, one package at a time:fields314 files / 4731 tests passed (1 file skipped);plugin-grid296 / 2602;plugin-detail395 / 3636 (1 skipped);plugin-list181 / 1965;plugin-kanban81 / 533;i18n105 / 1957.tsc --noEmitclean forfields,plugin-grid,plugin-detail,plugin-kanban; eslint on the changed files 0 errors.dispatch-gates --commandsre-derived on this head, 74 families, all exit 0 (vitest run scripts/with one worker);--ran74 derived, 74 run, 0 NOT-MEASURED, 0 UNRUN.overlap-checkVERDICT clean (maina6607c79and 4 PR heads). The builtdist/index.d.tsof@object-ui/fieldsexportsrequiredWhenPromptReads.Website Relaunchwithcompletion_note = 'Already noted'stored and no Completion Note column on the list; pick 「已完成」 → no fill-in dialog, oneGETof the record, the state confirm, thenPATCH {"status":"completed"}→ 200; stored afterwardscompletion_note = "Already noted". On59fb5217the same row would have opened the dialog (the empty-note case still opens it, run 1 of the same script). Logr1-m1-journey.logbeside the other evidence.Verification
Local runs
vitestfromui/, one package at a time, on the tree of59fb5217(the commit was reworded for the trailer check only, no file changed):fields313 files / 4719 tests passed (1 file skipped);plugin-kanban81 / 533;i18n105 / 1957;plugin-detail395 / 3632 (1 skipped);plugin-grid296 / 2597;plugin-list183 / 1979 with one red,ListView.relationalSort"CONTROL: a sort on a plain field" timing out at 15 s while the gate loop ran beside it, re-run alone 9/9 passed.type-check(tsc --noEmit) for@object-ui/fields,@object-ui/plugin-grid,@object-ui/plugin-detail,@object-ui/plugin-kanban: clean (after building their dependency dists).eslinton every changed source and test file: 0 errors.dist/index.d.tsof@object-ui/fieldsnow exportscollectRequiredWhenPromptFields,RequiredFieldsDialogand the five types;@object-ui/plugin-kanban's built index never exported either file.node scripts/pm/dispatch-gates.mjs --commands: 74 families, each run with its exit captured before any pipe. 72 exit 0 on the first pass; two re-run alone:vitest run scripts/underui/was SIGKILLed while a package suite ran beside it, re-run with one worker 172 files / 5111 tests passed;check:skill-examplesrefused with exit 3 on a stale@objectstack/client-reactdist, re-run after building it, exit 0.--ran: 74 derived, 74 run, 0 NOT-MEASURED, 0 UNRUN.node scripts/pm/overlap-check.mjs: VERDICT clean (against mainf9f45d34and 4 open PR heads).Browser
examples/app-showcase(objectstack dev --fresh --seed-admin, own port and temp DB) with theui/apps/consoleVite dev server over it, headless Chromium, zh-CN, light and dark, desktop 1600×1000 and 375×812. No shipped object declaresrequiredWhen, so for the run only (not committed)showcase_projectgained three probe fields:completion_note(text, required whenstatus == 'completed'),follow_up(required whencompletion_note == 'partial') andcancel_memo(rich text, required whenstatus == 'cancelled').Before (the two host wirings ablated, i.e. main's behaviour):
PATCH {"status":"completed"}→ 400 「Completion Note不能为空」; the notice reads 「保存失败: Completion Note不能为空 打开记录完成修改」 and there is nowhere to fill the field.PATCH→ 400; the save bar lists 「Completion Note: Completion Note不能为空」.After, list:
completion_noteis not a column of the view.partial→ 「Follow-up Owner *」 joins.PATCH {"status":"completed","completion_note":"Shipped on time"}withIf-Match→ 200, the cell reads 「已完成」.PATCH {"status":"cancelled"}→ 400 and the notice 「保存失败: Cancel Memo不能为空 打开记录完成修改」, as before.After, record page (light, dark, 375):
PATCH {"status":"completed","completion_note":"partial","follow_up":"ops@example.com"}→ 200, edit mode left.Evidence (screenshots and journey logs) is with the seat. Not measured: Safari / WebKit (no WebKit build in the container), the kanban drag in the browser (its tests cover it, and its code path changed only in what it passes to the dialog).
Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (eslint on the changed files: 0 errors)main, one pull request. (The branch is the platform-assignedclaude/project-thread-4on43b, named in the claim.)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgWZ6R6aogVL9TTxNG8