Skip to content

fix: visualize fullscreen layout#230

Merged
cpsievert merged 1 commit intomainfrom
fix/viz-fullscreen-layout
May 1, 2026
Merged

fix: visualize fullscreen layout#230
cpsievert merged 1 commit intomainfrom
fix/viz-fullscreen-layout

Conversation

@cpsievert
Copy link
Copy Markdown
Contributor

Summary

Fix the visualize tool's fullscreen card layout so charts can use the full viewport height without the footer stretching to consume leftover space.
Simplify the fullscreen-specific CSS to the selectors and rules that are actually needed for the shinychat-based fullscreen path.
Add Playwright regressions covering tall/narrow fullscreen sizing and non-stretching fullscreen footers.

Verification

uv run ruff check --fix pkg-py --config pyproject.toml
make py-check-types
make py-check-tests
uv run pytest pkg-py/tests/playwright/test_10_viz_inline.py::TestInlineVisualization::test_fullscreen_uses_available_height_in_tall_viewport -q
uv run pytest pkg-py/tests/playwright/test_10_viz_inline.py::TestInlineVisualization::test_fullscreen_footer_does_not_stretch -q

Remove the fullscreen height cap on visualize tool cards, keep the footer content-sized, and add Playwright coverage for both fullscreen regressions.
@cpsievert cpsievert marked this pull request as ready for review May 1, 2026 22:10
@cpsievert cpsievert changed the title Fix visualize fullscreen layout fix: visualize fullscreen layout May 1, 2026
@cpsievert cpsievert merged commit f32cda8 into main May 1, 2026
15 checks passed
@cpsievert cpsievert deleted the fix/viz-fullscreen-layout branch May 1, 2026 22:11
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