Repository navigation
fix(console): the approvals inbox's pinned Approve / Reject column covers no other column, and record names read in full at common desktop widths - #37560
Merged
Conversation
Claude-Session: https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6 Co-authored-by: Claude <noreply@anthropic.com>
…pprove / Reject column covers nothing at common desktop widths Claude-Session: https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L6bhgU7eeqHgQrtv5CeJK6 Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA 席位核对 — ACCEPT · head 8d4d42e · area s2-ux-P · 2026-11-26T13:37ZL1 checklist
Tier: S. Landing: ready + auto-merge by this stroke. |
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 Sales · project thread
Fixes #37534
What changes
In the approvals inbox's desktop table (
ApprovalsInboxPage.tsx), the three text columns wrap instead of holding one line:break-words) instead oftruncate.line-clamp-2 break-words), still inside themax-w-0cell from objectui#12816, so it never sizes the column; the full text stays in the link'stitle. The external-link icon aligns with the first line.flex-wrap, so the "You submitted this" badge moves under the name in a narrow column instead of adding to the column's minimum width.Nothing else moves: column heads and widths, the pinned Approve / Reject column (objectui#12816), its always-visible labelled buttons (#34587), and the horizontal overflow box (objectui#12708), which still scrolls the table under the pin below the width where it fits.
New geometry pin
ui/e2e/approvals-inbox-desktop-columns-37534.spec.ts(Playwright, same construction asapprovals-inbox-phone.spec.ts: every class string read out of the page and the@object-ui/componentsprimitives at run time, real Tailwind compiled for exactly those classes, the element tree transcribed). The jsdom pin inApprovalsInboxPage.pinnedActions-12816.test.tsxthat assertedtruncateon the record title now assertsline-clamp-2, same intent (the title does not size its column).Why
The card measured, on 18.6.0, the record name cut to about 110 px and the Submitted column partly under the pinned column at 928 px and 1102 px content widths. One-line text in Request and Requester set unbreakable minimum widths; with the fixed Status / Submitted widths and the pinned buttons, the table's minimum was wider than the card, so it overflowed, the pin sat over Submitted at rest, and Record, the only column allowed to give, was squeezed.
Correction to the card: the "no tooltip" half does not hold on
main— the record name already carries its full text astitle(seat claim 7192794328, Premise line). The tooltip is kept and now pinned at 928 px.Verification
Readings from the new spec in Chromium (fallback fonts), against
main021524c and against this branch:main's page source (3 of 4 fail: en 928, en 1102, zh-CN 928) and green on this branch; the not-vacuous case (700 px, table scrolls and the pin covers Submitted) is green on both.title, and the table still fits.apps/console/src/pages/system/48 files / 324 tests green; the other suites naming the inbox (apps/console/src/services/,approvalsInboxComponentRef,clickableNonControlCensus-13461,DeclaredActionsBar,approvalQueueAdvance-34586,AppContent.setupItemRoutesVerdict-12706,dead-pack-keys-retired-8754) 22 files / 222 tests green.@object-ui/consoletype-checkexit 0;type-check:e2eexit 0; eslint on the three files 0 errors (14 warnings, all pre-existing in the page);check:new-line-citations0 new.Clause-②: no
Metadata-protocol: none
Owed: L1 (seat). No L2 face: one console page's class strings, a moved jsdom pin and a new geometry spec; no contract surface.
Human Minimum
packages/specholds no runtime logic.pnpm lintpasses.main, one pull request.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_01L6bhgU7eeqHgQrtv5CeJK6
Generated by Claude Code