Repository navigation
fix(ui): phone list card shows its amount whole; field-tab strip scrolls at phone width - #34695
Merged
objectstack-fleet[bot] merged 4 commits intoNov 17, 2026
Merged
Conversation
…elow sm Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz Co-authored-by: Claude <noreply@anthropic.com>
…ngeset Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz Co-authored-by: Claude <noreply@anthropic.com>
…rness Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz CI red on a40a744 · runner timeout, re-run by a main merge
|
Contributor
Author
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB 席位核对 · L1 (seat 3, L1-a) · 2026-11-17T08:06ZL1: ACCEPT Both card items are built inside the claim's surface. Every new class is phone-gated, and a list with no currency column is unchanged. The head is a clean main merge over the reported a40a744. No must-fix and no should-fix. Must-fixNone. Should-fixNone. Readings that hold
Notes
|
Contributor
Author
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz Landing · area o3-C · head 49b15fe
State: ready + auto-merge now; on MERGED, #34615 closes via |
objectstack-fleet
Bot
deleted the
claude/issue-34615-phone-card-amount-tabs
branch
November 17, 2026 08:29
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Yibo Wang · project thread
Fixes #34615
Clause-②: no
Metadata-protocol: none
维护者速读
currency列)从副标题里拿出来,单独放在副标题下面一行的右侧、完整显示,状态徽标移到这一行左侧;表单字段页签条在手机宽度(sm以下)不再撑宽页面,放不下的页签横向滑动、不显示滚动条,当前页签始终滚到可见处。max-sm:前缀,桌面表格与页签外观不变;没有金额列的列表卡片与原来一样。回滚即还原本 PR 两个源文件。ui/packages/plugin-grid/src/ObjectGrid.tsx(amountCol的选取规则与金额行)、ui/packages/components/src/renderers/form/form.tsx(页签条max-sm:样式与把当前页签滚入可见区的 effect)、ui/packages/plugin-grid/src/__tests__/phoneCardAmount-34615.test.tsx。pnpm --dir ui exec vitest run packages/plugin-grid/src/__tests__/phoneCardAmount-34615.test.tsx packages/components/src/renderers/form/__tests__/form-field-tabs.test.tsx,预期两个文件全部通过。What changes
Phone list card (
buildMobileCardRenderer). The card's amount is now the first shown body column whose resolved field type iscurrency(the column draft'stype; no new metadata key). It no longer takes a subtitle slot. When the list has such a column, every card draws an amount line under the subtitle: the status chip on the left (min-w-0 truncate) and the amount on the right (ml-auto shrink-0 whitespace-nowrap tabular-nums, drawn through the column's own desktop cell, so the currency rules of objectui#10423 still hold). The subtitle takes the next shown column instead. A masked amount column is not promoted. A list with no currency column keeps the objectstack#28484 row unchanged (chip at the right), and its pins still pass untouched.Form field-tab strip (
fieldTabs). I took the scroll route rather than a 「More」 menu. The scroll route meets acceptance 2 with no i18n key, no overflow measurement and no second control to keep in sync with the error markers. Belowsmthe horizontal strip getsmax-w-full overflow-x-auto overflow-y-hidden justify-start, with no scrollbar drawn ([scrollbar-width:none]and[&::-webkit-scrollbar]:hidden, the idiomrecord-path.tsxandstudio-tokens.tsalready use). An effect keyed on the active tab moves only the strip's ownscrollLeftso the active trigger is inside its window. That covers a tap,defaultFieldTab, and a failed submit jumping to the first offending tab, whose red dot rides on the trigger. A strip that fits (every desktop strip) is never touched. Vertical strips are unchanged.Before/after, real rendered DOM measured in Chromium (method under Verification):
62d9d0d9CN¥1,200,000.00CN¥94,000.00(long account name)overflow-x: auto,scrollbar-width: none, scrollWidth 524 > clientWidth 343At 1280 px the strip measures 523.8 px with
overflow-x: visibleon both trees: desktop is unchanged.Tests
ui/packages/plugin-grid/src/__tests__/phoneCardAmount-34615.test.tsx(375 px): full amount text in its own slot with no truncating box between it and the card; amount out of the subtitle; chip at the left of the amount line; a row with no amount keeps the shape; control without a currency column keeps the objectstack#28484 row.form-field-tabs.test.tsxgains a top-leveldescribe(the shared field-tabs harness, per the shared-harness rule): phone-gated classes, with no ungatedoverflow-*/max-w-*tokens; the vertical strip is left alone; tap, failed submit anddefaultFieldTabeach scroll the 5th tab into a stubbed 343 px strip; control: a strip that fits is never scrolled. jsdom has no layout engine, so the geometry is stubbed there and was measured in Chromium once (below).mobileCardFieldCurrency-10423.test.tsxreads the amount fromgrid-card-amountinstead of the first subtitle part (the same assertion, at the slot the amount now occupies).Ablations (each mutation landed on disk via scripts/ablation-replace.mjs, then restored: blob == HEAD, git diff HEAD empty)
amountColpredicate →false: 10 red / 4 green (all four 34615 card cases and the six 10423 card-amount cases red; the 34615 control and the three 10423 desktop controls green), as predicted.trigger→null: tap, failed-submit anddefaultFieldTabcases red, 3 green (classes, vertical, fits-control), as predicted.'': the class case red, the rest green, as predicted.Acceptance notes
ui/e2ePlaywright style would sit outside this claim's file surface, so this PR does not add one.left/right) field-tab strip on a phone is unchanged. It was not part of this card.content/docs/**or the two package READMEs describes the card's layout or the strip's overflow, so nothing published became false.Verification
Local gates at a40a744 (exit codes captured before any pipe)
Derived union (
node scripts/pm/dispatch-gates.mjs --commands, 39 families), run at a40a744:node scripts/check-adr-0087-registration.mjs --base origin/main:: exit 0node scripts/check-adr-0087-registration.mjs --self-test:: exit 0node scripts/check-changeset-no-major.mjs --base origin/main:: exit 0node scripts/check-closing-keyword-parity.mjs:: exit 0node scripts/check-closing-keyword-parity.mjs --self-test:: exit 0node scripts/check-comment-mask-corpus.mjs:: exit 0node scripts/check-empty-changeset.mjs --base origin/main:: exit 0node scripts/check-empty-changeset.mjs --self-test:: exit 0node scripts/check-sdui-manifest.mjs:: exit 0node scripts/check-sdui-manifest.mjs --self-test:: exit 0node scripts/ci/snapshot-next.mjs --self-test:: exit 0node scripts/pm/check-governed-queue-guard.mjs --self-test:: exit 0node scripts/pm/release-rehearsal-clone.mjs --self-test:: exit 0node scripts/release-pending-publish.mjs --self-test:: exit 0pnpm --dir ui exec vitest run scripts/:: exit 0pnpm --filter @objectstack/spec run check:duration-unit-keys:: exit 0pnpm check:adr-anchors:: exit 0pnpm check:changeset-gate-self-tests:: exit 0pnpm check:closed-ceremony-text:: exit 0pnpm check:cross-package-test-inputs:: exit 0pnpm check:dispatcher-error-vocabulary:: exit 0pnpm check:driver-memory-census:: exit 0pnpm check:engine-double-contract:: exit 0pnpm check:error-status-conformance:: exit 0pnpm check:gitlink-declared:: exit 0pnpm check:nul-bytes:: exit 0pnpm check:published-files:: exit 0pnpm check:query-options-erasure:: exit 0pnpm check:refd-timer-probe:: exit 0pnpm check:registry-log-declared:: exit 0pnpm check:rest-log-spy-declared:: exit 0pnpm check:skill-identifier-liveness:: exit 0pnpm check:test-source-alias:: exit 0pnpm check:tier-file-adoption:: exit 0pnpm check:type-check-coverage:: exit 0pnpm check:type-check-debt:: exit 0pnpm check:undeclared-dep-imports:: exit 0pnpm check:watch-hint-literal:: exit 0pnpm check:where-matcher:: exit 0dispatch-gates --ran: 39 derived, 39 run, 0 NOT-MEASURED (a derived zero: all 39 carry an exit code).Targeted, beyond the derived list:
pnpm --filter @object-ui/plugin-grid --filter @object-ui/components run type-check:: exit 0 (bothtsc --noEmit && tsc -p tsconfig.test.json; the test programs list the touched test files)pnpm --dir ui exec vitest run packages/plugin-grid/ packages/components/ packages/app-shell/src/views/ObjectView.cardFacesOpenNothing-33548.test.tsx:: exit 0 (Test Files 768 passed, 1 skipped; Tests 7095 passed, 24 skipped)pnpm --dir ui check:new-line-citations:: exit 0 (0 new citations)node scripts/pm/overlap-check.mjs --branch=claude/issue-34615-phone-card-amount-tabs:: exit 0 (clean against origin/main and feat(plugin-form): section navigation for stacked sectioned forms #34642, which shares form.tsx)pnpm turbo run build --filter='@object-ui/plugin-grid^...' --filter='@object-ui/components^...' --concurrency=2:: exit 0 (53/53 tasks)Not run locally, owned by CI: the type-check lanes (
Type Check UI, workspace typecheck),pnpm lint,test:repo, full dogfood (n/a: no!, no narrowing arm).signed: repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz
Generated by Claude Code