fix(dashboard): keep a projection's tooltip above the cards below it
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nextjs, playwright, react, typescript
調査の方向性
Read src/components/dashboard/info-tooltip.tsx and the listed dashboard components to trace tooltip stacking, then inspect e2e/projection.spec.ts for the existing keyboard and accessibility checks. Reproduce the overlap in the dashboard and check the other placements named in the issue. Done means the open tooltip is topmost over its last line, the keyboard and axe checks pass, and e2e coverage verifies the overlap.
索引モデルが issue の本文から書いたものです。
説明
Context
On the dashboard, the "How this projection is worked out" tooltip of a spend total in "Spending this billing period" opens below the total's card, and the provider card below it is drawn over it, so the end of the explanation cannot be read ("...so StackDash assumes it ends with the calendar month. It is never added to the spend shown."). Found while capturing the evidence for #743; it is the same on main (cde5aa3b). Synthetic data:
Why: the total's card is relative isolate (src/components/dashboard/dashboard-view.tsx:109), so the tooltip's z-10 (src/components/dashboard/info-tooltip.tsx:56, absolute top-full) only orders it inside that card. The provider card (src/components/dashboard/provider-card.tsx:218) is relative isolate too and comes later in the page, so it paints on top. ProjectionNote (src/components/dashboard/value-meta.tsx:108) keeps the tooltip inside the card's width, not its height. e2e/projection.spec.ts asserts the tooltip toBeVisible, which an element drawn on top of it does not fail.
Plan
- Let an open
InfoTooltipdraw above the sections after its card: raise the stacking context of the card whose tooltip is open, or render the tooltip where no later section covers it. Keep its keyboard behavior: focus opens it, Escape closes it, and the button keepsaria-describedby. - Check the other
InfoTooltipplacements (a provider card's spend and allowance notes, a budget in alert settings) for the same overlap and fix them the same way.
Acceptance criteria
- With the tooltip of the spend total open, its whole text is visible and nothing covers it: in Playwright, the tooltip is the topmost element at a point on its last line (
document.elementFromPoint). - The keyboard path in
e2e/projection.spec.ts(focus, Escape, Enter) and its axe scans still pass. - Playwright e2e coverage added in
e2e/projection.spec.ts.
Files and areas
src/components/dashboard/info-tooltip.tsx,src/components/dashboard/value-meta.tsx,src/components/dashboard/dashboard-view.tsx,src/components/dashboard/provider-card.tsx,e2e/projection.spec.ts
Non-goals: the tooltip's text, and the projections themselves.
Verification
e2e/projection.spec.tsthrough the guarded Playwright runnernpm run typecheck,npm run lint
Branch: <issue-number>-projection-tooltip-stacking
Closes with a Closes #<issue-number> footer on the commit or pull request.
Model: anthropic/claude-opus-5-5 | Reasoning effort: max
- 主要言語
- TypeScript
- スター
- 13
- フォーク
- 2
- 平均マージ
- 5時間 20分
- マージ済み PR(30日)
- 287
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eddiejaoude/StackDash のほかの issue
-
area: integrations documentation priority: P2 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eddiejaoude/StackDash#798 ·
メンテナーはふだん 1 日以内に返信
-
area: ops documentation priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eddiejaoude/StackDash#796 ·
メンテナーはふだん 1 日以内に返信
-
area: docs documentation impact: low priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eddiejaoude/StackDash#790 ·
メンテナーはふだん 1 日以内に返信
-
area: ops bug impact: low priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eddiejaoude/StackDash#785 ·
メンテナーはふだん 1 日以内に返信
-
area: connections enhancement impact: low priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
eddiejaoude/StackDash#768 ·
メンテナーはふだん 1 日以内に返信
eddiejaoude/StackDash の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nicobailon/pi-subagents#3425 ·
メンテナーはふだん 1 日以内に返信
-
area-a2a bug port python
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
strands-agents/harness-sdk#6697 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
api technical-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
opencollective/opencollective#9235 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
openwatersio/slackwater#603 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信