Skip to content

[SC-18631] Document styled test summary tables (pandas Styler) - #1533

Merged
emmavdh merged 1 commit into
mainfrom
emma/sc-18631/styled-test-tables
Oct 1, 2026
Merged

emmavdh merged 1 commit into
mainfrom
emma/sc-18631/styled-test-tables

Conversation

@emmavdh

@emmavdh emmavdh commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

What and why?

Part of the Docs 26.10 tracker (sc-18631), for sc-15877 (library #497, frontend #2470, backend #3040). Test authors can now return a pandas Styler from a test. Background color, text color, font weight and text alignment on cells are kept when the result is logged and rendered in the platform's documentation UI and in HTML and DOCX exports. Tables that embedded raw HTML the old way keep working.

Changes:

  • developer/how-to/testing-overview.qmd: Outputs now lists pandas Stylers, with a footnote on which styles are preserved and where they show up, and the library version requirement.
  • about/glossary/key_concepts/_outputs.qmd: same addition to the outputs glossary entry (used by the key concepts glossary and the FAQ).

How to test

Preview (the preview site builds when the PR leaves draft; allow time for the deploy):

What needs special review?

  • Library version. The footnote says version 2.14 or later: validmind/__version__.py on library main is 2.14.0 with the Styler change, but no 2.14 tag or PyPI release exists yet. Confirm the number against the release that ships with 26.10.
  • The four preserved styles come from the library's _convert_styler allowlist (background/background-color, color, font-weight, text-align).

Dependencies, breaking changes, and deployment notes

Release notes

Documented that tests can return pandas Styler tables with cell colors and emphasis preserved.

Checklist

  • What and why
  • How to test
  • What needs special review
  • Dependencies, breaking changes, and deployment notes
  • Labels applied
  • PR linked to Shortcut

🤖 Generated with Claude Code

Tests can return a pandas Styler; background color, text color, font weight
and text alignment on cells are preserved in the platform and in HTML and
DOCX exports (sc-15877). Updates the testing overview and the outputs
glossary entry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@emmavdh emmavdh added the documentation Improvements or additions to documentation label Oct 1, 2026
@emmavdh emmavdh self-assigned this Oct 1, 2026
@emmavdh
emmavdh marked this pull request as ready for review October 1, 2026 22:49
@emmavdh
emmavdh requested review from cachafla and nibalizer October 1, 2026 22:49
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Validate docs site

✓ INFO: A live preview of the docs site is available — Open the preview

@emmavdh
emmavdh added this pull request to the merge queue Oct 1, 2026
Merged via the queue into main with commit b883e5d Oct 1, 2026
9 of 10 checks passed
@emmavdh
emmavdh deleted the emma/sc-18631/styled-test-tables branch October 1, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants