Skip to content

html: omit line-number tooltips from empty number cells - #7

Open
jvoisin wants to merge 1 commit into
ctrliq:mainfrom
jvoisin:nonumempty
Open

jvoisin wants to merge 1 commit into
ctrliq:mainfrom
jvoisin:nonumempty

Conversation

@jvoisin

@jvoisin jvoisin commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

A row without a parent or result line still labeled its empty number cell "Parent line number" or "Result line number", though there was no number for the tooltip to explain. Keep the tooltip only on cells that show a number, which removes about 3% of a large report's size.

A row without a parent or result line still labeled its empty number
cell "Parent line number" or "Result line number", though there was
no number for the tooltip to explain. Keep the tooltip only on cells
that show a number, which removes about 3% of a large report's size.
Copilot AI balanced review requested due to automatic review settings October 16, 2026 11:34

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.

🟢 Approval recommended

The focused change preserves source content, numbering, and layout, with no unresolved issues.

0 open findings

What changed in this PR

Removes unnecessary tooltips from empty line-number cells in HTML reports, reducing output size without changing numbering or layout.

Changes:

  • Keeps line-number tooltips only on populated cells.
  • Updates both sample reports to match.
File Description
src/​html.c Omits tooltip attributes for empty number cells.
samples/​indentation.html Updates sample tooltip markup.
samples/​arguments.html Updates sample tooltip markup.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants