Skip to content

Reorganize tfl_table vignettes; document rowspan flow + partial-width rules#33

Merged
billdenney merged 1 commit into
mainfrom
claude/epic-golick-7d3d80
May 9, 2026
Merged

Reorganize tfl_table vignettes; document rowspan flow + partial-width rules#33
billdenney merged 1 commit into
mainfrom
claude/epic-golick-7d3d80

Conversation

@billdenney
Copy link
Copy Markdown
Member

v02 (intro) was a flat list of sections. Group them into three nested parents — Columns, Rows, Pagination — and move tfl_colspec() under Columns where it belongs. Add a new "Suppression and multi-line group labels" subsection under Rows that documents the HTML-rowspan-style flow introduced for issue 29: when a multi-line group label sits above suppressed cells, it flows downward through them rather than inflating just the labelled row. Cross-reference the v03 sections that describe how rules adapt to the flow. Update the summary table to (a) add previously-missing arguments — row_rule, fill_by, the sub_tfl family — and (b) regroup rows by purpose so the table is scannable.

v03 (styling) had a flat numbered 1..14 outline. Drop the manual numbering and group the sections under five logical parents: Typography, Rules and separators, Cell padding, Cell background shading, Multi-page accessories, Sub-tables, Complete examples. Move the column-continuation message under Multi-page accessories where it sits next to the row-continuation marker styling. Update the Group rules subsection to describe the partial-width rendering (rule starts at the column whose value actually changed at the transition, with a worked example for nested group_vars). Update the Row rules subsection to mention the within-span suppression (a rule that would slice a flowing label is omitted, the same way HTML rowspan cells have no internal borders).

Both vignettes still render to HTML cleanly via rmarkdown::render(). No code changes; full test suite still passes.

… rules

v02 (intro) was a flat list of sections.  Group them into three nested
parents — Columns, Rows, Pagination — and move tfl_colspec() under
Columns where it belongs.  Add a new "Suppression and multi-line group
labels" subsection under Rows that documents the HTML-rowspan-style
flow introduced for issue 29: when a multi-line group label sits above
suppressed cells, it flows downward through them rather than inflating
just the labelled row.  Cross-reference the v03 sections that describe
how rules adapt to the flow.  Update the summary table to (a) add
previously-missing arguments — row_rule, fill_by, the sub_tfl family —
and (b) regroup rows by purpose so the table is scannable.

v03 (styling) had a flat numbered 1..14 outline.  Drop the manual
numbering and group the sections under five logical parents:
Typography, Rules and separators, Cell padding, Cell background
shading, Multi-page accessories, Sub-tables, Complete examples.  Move
the column-continuation message under Multi-page accessories where it
sits next to the row-continuation marker styling.  Update the Group
rules subsection to describe the partial-width rendering (rule starts
at the column whose value actually changed at the transition, with a
worked example for nested group_vars).  Update the Row rules subsection
to mention the within-span suppression (a rule that would slice a
flowing label is omitted, the same way HTML rowspan cells have no
internal borders).

Both vignettes still render to HTML cleanly via rmarkdown::render().
No code changes; full test suite still passes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@billdenney billdenney merged commit 75f448b into main May 9, 2026
9 checks passed
@billdenney billdenney deleted the claude/epic-golick-7d3d80 branch May 9, 2026 21:08
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.

1 participant