You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V48 Gate 3 (implementation-only): tooltip coverage on every /deposit section/sub-section header + overflow-safety fixes
Extends rich guidance tooltips to every remaining /deposit section and
sub-section header: Repository, Branch, Commit (DepositSourceSelection),
Readback/Recent Deposit activity, Option synthesis/Obfuscations + its three
sub-fields (What to obfuscate, Source path hints, Protected IP exclusions),
and Synthesis run telemetry — on top of the four already shipped
(Options/Earnings/Governance/Session). New deposit-explainers.ts entries are
grounded in the actual code (depositor-earning-supply-intelligence.ts,
authority.ts, phases/setup.ts, pipeline-stream-integration.ts) and prior QA
findings (F9, F14, F24), not generic filler.
Two overflow/safety bugs found and fixed:
- The (i) trigger sat beside a two-line kicker+title block rather than
inline after the title text itself, so opening "below" could visually
overlap the tail of the title (seen as smeared text under the tooltip).
Moved every trigger inline into the <h2>/label right after the visible
text so the existing 12px clearance is measured from the true bottom of
the header, not the icon's own (higher) position.
- Session/Earnings/Governance sit inside <details><summary> disclosures;
their default browser focus outline was bleeding through around the
tooltip's rounded corners. Added outline-none to those three <summary>
elements (the click-to-open-tooltip stopPropagation already prevents the
disclosure from toggling).
A third, more consequential bug surfaced while wiring the three Obfuscations
textarea sub-labels: BitcodeInlineExplainer's default trigger aria-label
("Explain {title}") repeats the field's own label text verbatim, so
getByLabelText (and a screen reader's label lookup) ambiguously matches BOTH
the field and the tooltip trigger whenever an explainer's title mirrors its
adjacent label — this actually broke depositPageClient.test.tsx's exclusions
field query. Added an optional `triggerAriaLabel` override (default
unchanged, so the ~20 existing call sites elsewhere are unaffected) and used
it at the five field-adjacent tooltip sites here. New
bitcodeInlineExplainerAriaLabel.test.tsx covers both the default and the
override explicitly.
uapi tsc 0; full suite 525/526 (the one failure, tests/api/activityRoute.test.ts,
is pre-existing and unrelated — verified via git stash before this change).
0 commit comments