Skip to content

🎨 Palette: Add row headers and tabular-nums to data tables - #215

Closed
seonghobae wants to merge 1 commit into
mainfrom
jules-palette-table-row-headers-11248919647618495366
Closed

🎨 Palette: Add row headers and tabular-nums to data tables#215
seonghobae wants to merge 1 commit into
mainfrom
jules-palette-table-row-headers-11248919647618495366

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

🎨 Palette: Add row headers and tabular-nums to data tables

💡 What: Updated the HTML report generation to use <th scope="row"> for the first column of data tables and applied font-variant-numeric: tabular-nums; to table cells. Removed bold font weight from tbody th to maintain visual consistency. Added a journal entry documenting this learning.

🎯 Why: Using <th scope="row"> drastically improves screen reader accessibility by allowing assistive technologies to announce the corresponding row header for data cells. Adding tabular-nums ensures numbers align properly in columns for better readability and a more polished UX.

♿ Accessibility: Added proper row headers (<th scope="row">) for data tables.


PR created automatically by Jules for task 11248919647618495366 started by @seonghobae

@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings July 23, 2026 02:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the generated HTML report tables to improve accessibility and numeric readability by adding row headers and applying tabular numeric glyph alignment in table cells.

Changes:

  • Render the first column of each data row as a row header using <th scope="row">.
  • Apply font-variant-numeric: tabular-nums to table cells and normalize tbody th weight.
  • Document the table accessibility styling guidance in .jules/palette.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
python/fast_mlsirm/report.py Updates table HTML to use row headers and refines table CSS (tabular-nums + thead/tbody-scoped styling).
.jules/palette.md Adds a journal entry capturing the accessibility + tabular-numeric styling practice for future report-table changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +704 to 707
tr:last-child td,
tr:last-child th {
border-bottom: 0;
}
@seonghobae
seonghobae enabled auto-merge (squash) July 26, 2026 08:55
Copilot AI review requested due to automatic review settings July 26, 2026 09:11
@seonghobae
seonghobae force-pushed the jules-palette-table-row-headers-11248919647618495366 branch from 0e4a2b4 to 4cd19b3 Compare July 26, 2026 09:11
💡 What: Updated the HTML report generation to use `<th scope="row">` for the first column of data tables and applied `font-variant-numeric: tabular-nums;` to table cells. Removed bold font weight from `tbody th` to maintain visual consistency. Added a journal entry documenting this learning.

🎯 Why: Using `<th scope="row">` drastically improves screen reader accessibility by allowing assistive technologies to announce the corresponding row header for data cells. Adding `tabular-nums` ensures numbers align properly in columns for better readability and a more polished UX.

♿ Accessibility: Added proper row headers (`<th scope="row">`) for data tables.
@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 26 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8aa14c64-bd60-4a52-9edd-6cc9ff488925

📥 Commits

Reviewing files that changed from the base of the PR and between 44a3ecf and 4cd19b3.

📒 Files selected for processing (2)
  • .jules/palette.md
  • python/fast_mlsirm/report.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jules-palette-table-row-headers-11248919647618495366

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

python/fast_mlsirm/report.py:706

  • tr:last-child th also matches the single header row in <thead>, which removes the bottom border from column headers and eliminates the visual separator between the header and the first body row. Scope the selector to tbody so only the final body row loses its border.
tr:last-child td,
tr:last-child th {
  border-bottom: 0;

Comment on lines 320 to +324
cells = "".join(
f"<td>{escape(_format_value(row.get(column, '')))}</td>"
for column in columns
f'<th scope="row">{escape(_format_value(row.get(column, "")))}</th>'
if i == 0
else f"<td>{escape(_format_value(row.get(column, '')))}</td>"
for i, column in enumerate(columns)

Copy link
Copy Markdown
Contributor Author

중복 정리: report.py 테이블 행 헤더+tabular-nums 개선으로, 리뷰 대기 중인 #187 과 동일 대상·동일 취지입니다. 그룹당 대표 1건만 남기는 백로그 정리 방침에 따라 닫습니다. 필요 시 재오픈 가능합니다.


Generated by Claude Code

@google-labs-jules

Copy link
Copy Markdown

중복 정리: report.py 테이블 행 헤더+tabular-nums 개선으로, 리뷰 대기 중인 #187 과 동일 대상·동일 취지입니다. 그룹당 대표 1건만 남기는 백로그 정리 방침에 따라 닫습니다. 필요 시 재오픈 가능합니다.


Generated by Claude Code

이해했습니다. 해당 작업이 중복으로 간주되어 종료됨을 확인하였으며, 이 과업에 대한 추가 진행을 중단하겠습니다.

@seonghobae seonghobae closed this Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants