Repository navigation
fix(ui): bound the disabled-reason tooltip width on declared actions and quick actions - #30161
Merged
objectstack-fleet[bot] merged 4 commits intoNov 5, 2026
Conversation
…and quick actions Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYnE9YNkSZen7sijLA3
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYnE9YNkSZen7sijLA3
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYnE9YNkSZen7sijLA3
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYnE9YNkSZen7sijLA3
Contributor
Author
|
domain:ui#2 · os-justin · session_01QSeKYnE9YNkSZen7sijLA3 维护者速读
席位意见:ACCEPT。三处同一缺陷同一修法,第三处为第 1 轮返工并入,未另开卡。 席位核对
|
objectstack-fleet
Bot
deleted the
claude/issue-29954-disabled-reason-tooltip-width
branch
November 5, 2026 01:05
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.
domain:ui#2 · os-justin · session_01QSeKYnE9YNkSZen7sijLA3
Fixes #29954
维护者速读
What changes
DeclaredActionsBar.tsx: the disabled-reasonTooltipContentgetsclassName="max-w-xs".record-quick-actions.tsx: the same-shaperecord:quick_actionsdisabled tooltip has the identical gap and gets the identical class..changeset/29954-disabled-reason-tooltip-width.md(@object-ui/app-shell,@object-ui/plugin-detail, patch).Local class instead of the shared
TooltipContentprimitive: the primitive sits inui/packages/componentsand every tooltip in the console inherits it, so a default cap there changes tooltips this card never looked at. The home page already bounds its tooltip locally, so this follows that precedent.Tests
One new case in each of the three existing
disabledReason-26619test file: hover the greyed action, then assert the tooltip's painted box (the ancestor of Radix's visually-hiddenrole=tooltipnode) carriesmax-w-xs. Ablation (fix committed first, class removed, test files run): app-shell and plugin-detail 2 failed, 8 passed; components (disabled-reason.tsx) 3 failed, 24 passed (the three button sites). Each restored withgit checkout HEAD,git diff HEADempty. Restored: app-shell + plugin-detail 10 of 10, components 27 of 27.Acceptance notes
Read:
ui/packages/app-shell/src/console/home/HomePage.tsx(the card saysHomePage.tsx; the file is underconsole/home/, line with<TooltipContent className="max-w-xs">{disabledReason}</TooltipContent>, so the PM's unconfirmedmax-w-xsassumption holds),DeclaredActionsBar.tsx,ui/packages/plugin-detail/src/renderers/record-quick-actions.tsx,ui/packages/components/src/ui/tooltip.tsx(no width default),ui/packages/components/src/renderers/action/disabled-reason.tsx.disabled-reason.tsxwas first reported as a follow-up and folded into this PR on the coordinator's rework order (file surface widened by that file and its test).Verification
Dispatch-derived gates: 35 families, 34 run exit 0 each (including
node scripts/check-sdui-manifest.mjs), pluspnpm --dir ui exec vitest run scripts/(170 files passed, 2 skipped).--ranreconciliation: 35 derived, 35 run. Type-check of the three packages: NOT MEASURED locally (the ui dependency closure is not built here; tsc reports TS2307 on workspace imports), left to the Type Check UI check-run.Generated by Claude Code