ruby-ui / ruby-ui/ruby_ui

`TooltipTrigger` emits a dead `variant="outline"` attribute

オープン 初心者向け
#542 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
Ruby
スター
1k
フォーク
67
平均マージ
3日 12時間
マージ済み PR(30日)
14

説明

  • Where: tooltip_trigger.rb default attrs. Snapshot tooltip/default.
    Already listed in design/v2/01-research/golden-suite.md.
  • Effect: variant is not an HTML attribute and nothing in the CSS
    matches it (the data-[variant=…] selectors match data-variant); the
    outline look comes from the Button inside.
  • Fix: remove it; re-record (on the 2.0 line) tooltip/*.

Surfaced by the golden HTML suite (PR #536), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshot that pins it is re-recorded there with the diff reviewed.

Source: design/v2/follow-up-issues.md.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

tooltip_trigger.rb のデフォルト attrs から始めて tooltip/default snapshot を確認し、その後 design/v2/01-research/golden-suite.md をレビューします。2.0 系列では、不要になった variant attribute を削除し、tooltip/* snapshots を再記録します。完了の条件は、レビュー済みの snapshot diff にその attribute が含まれなくなることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ruby
領域
frontend, testing
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
78/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。