`TableFooter` ships a corrupted class string

Open Beginner friendly
#539 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
ruby, tailwindcss
Domain
frontend, testing

Research direction

Start at gem/lib/ruby_ui/table/table_footer.rb:13 and inspect the TableFooter class string against the issue's expected tokens. On the 2.0 line, run the golden HTML suite, re-record table/*, and review the diff; done means the corrected classes and reviewed snapshots are present without changing main.

Written by the indexing model from the issue text.

Description

bug
  • 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.

Dominant language
Ruby
Stars
1k
Forks
67
Avg merge
2d 19h
Merged PRs (30d)
18

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby-ui/ruby_ui

All issues in ruby-ui/ruby_ui

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.