ruby-ui / ruby-ui/ruby_ui

`TableFooter` ships a corrupted class string

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

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

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

説明

  • Where: gem/lib/ruby_ui/table/table_footer.rb:13:
    "border-t bg-muted/50 font-medium[& amp;>tr]:last:border-b-0". The
    amp; is HTML-decoded text pasted into Ruby source; a space before [
    is also missing.
  • Effect: every TableFooter emits the tokens font-medium[& and
    amp;>tr]:last:border-b-0 — neither is a Tailwind class, so font-medium
    and the last-row border rule are both lost.
  • Fix: "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0";
    re-record (on the 2.0 line) table/*.

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 番号を参照したプルリクエストを送ります。

調査の方向性

gem/lib/ruby_ui/table/table_footer.rb:13 から始め、TableFooter クラスの文字列を issue で想定されているトークンと照合して調べます。2.0 系列で golden HTML suite を実行し、table/* を再記録して diff を確認します。main を変更せずに、修正されたクラスと確認済みのスナップショットが存在すれば完了です。

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

評価

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

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

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