-
Notifications
You must be signed in to change notification settings - Fork 4
Support Streamlit Themes in Slickgrid, Visualize Cell/Row Clicks, and Support Selection Toggling #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kevintcaron
wants to merge
17
commits into
streamlit:main
Choose a base branch
from
kevintcaron:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…d of background color
…ng in StreamlitSlickGrid
…SlickGrid configuration
Added functionality for cell border video on hover.
Just fixed a small bug where the styling would be incorrect if expanders were clicked for nested rows after styles were applied. This should work as intended now. Also added functionality for cell Navigation visualization on hover (cell borders highlight instead of row borders). Please let me know if you see any other issues or improvements that can be made! |
…lectedClasses functions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @sfc-gh-tteixeira,
Thanks for creating this great custom component — and for building Streamlit! It’s a fantastic tool that I’ve used extensively for both work and personal projects.
This pull request adds a few enhancements that I’ve found useful and that others might benefit from as well.
Summary of Updates
Streamlit Theme Integration:
Slickgrid now aligns with Streamlit’s theme system (light, dark, and custom) by applying theme-based variables to background, text, and highlight colors.
Selection Toggling:
Enables users to deselect by clicking a selected cell again, and reselect it on another click.
Fixes #4
Visual Feedback for Selection:
Applies theme-colored hover and selection styles (for rows or cells) based on the options provided.
Let me know if you'd prefer any of these changes to be submitted as separate pull requests, or if you'd like me to add documentation or tests.
Thanks again!