Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

@lukasmasuch lukasmasuch commented Aug 19, 2025

Describe your changes

Apply the radii configured in the theme to the CheckboxColumn.

Testing Plan

  • Added unit test.
  • Adding e2e tests for these niche aspects seems a bit too much overhead.

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@snyk-io
Copy link
Contributor

snyk-io bot commented Aug 19, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@lukasmasuch lukasmasuch changed the title Apply radii from theme to CheckboxColumn [WIP] Apply radii from theme to CheckboxColumn Aug 19, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 19, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12263/streamlit-1.48.1-py3-none-any.whl
🕹️ Preview app pr-12263.streamlit.app (☁️ Deploy here if not accessible)

@lukasmasuch lukasmasuch added security-assessment-completed Security assessment has been completed for PR change:bugfix PR contains bug fix implementation impact:users PR changes affect end users labels Aug 19, 2025
@lukasmasuch lukasmasuch requested a review from Copilot August 19, 2025 09:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR applies theme-based border radius styling to the CheckboxColumn component in the DataFrame widget. The change ensures that checkbox elements follow the application's theme configuration for consistent visual appearance.

Key Changes:

  • Modified CheckboxColumn function to accept a theme parameter and apply rounding radius from theme configuration
  • Updated all test cases to pass the required theme parameter

Reviewed Changes

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

File Description
frontend/lib/src/components/widgets/DataFrame/columns/CheckboxColumn.ts Added theme parameter and themeOverride configuration to apply rounded corners based on theme radii
frontend/lib/src/components/widgets/DataFrame/columns/CheckboxColumn.test.ts Updated all test calls to include theme parameter and added test for themeOverride functionality

@lukasmasuch lukasmasuch marked this pull request as ready for review August 19, 2025 09:46
@lukasmasuch lukasmasuch changed the title [WIP] Apply radii from theme to CheckboxColumn Apply radii from theme to CheckboxColumn Aug 19, 2025
Copy link
Collaborator

@sfc-gh-lwilby sfc-gh-lwilby left a comment

Choose a reason for hiding this comment

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

LGTM

@lukasmasuch lukasmasuch merged commit b99f3cd into develop Aug 20, 2025
38 of 39 checks passed
@lukasmasuch lukasmasuch deleted the apply-radii-from-theme-to-checkbox-col branch August 20, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:bugfix PR contains bug fix implementation impact:users PR changes affect end users security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants