Skip to content
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

Datagrid Styleable Column #1386

Merged
merged 2 commits into from
Apr 22, 2021
Merged

Datagrid Styleable Column #1386

merged 2 commits into from
Apr 22, 2021

Conversation

texodus
Copy link
Member

@texodus texodus commented Apr 20, 2021

Adds a column-style menu to each column header (only visible when the configuration panel is open). For now, configuration is only enabled for float and integer columns, and only fixed-precision and foreground/background/heatmap color are implemented. These new properties are fully persistent through the pre-existing plugin-config save/restore token key.

column-styles

@texodus texodus added this to the 0.7.1 milestone Apr 20, 2021
@texodus
Copy link
Member Author

texodus commented Apr 20, 2021

Streaming also.

In background and gradient modes, foreground is calculated automatically via first applying the translucent cell background to the viewer's --plugin--background, then calc perceived luminance, as ripped directly from Stack Overflow.

rt

@texodus texodus marked this pull request as draft April 20, 2021 07:13
@texodus texodus added enhancement Feature requests or improvements Rust labels Apr 22, 2021
@texodus texodus marked this pull request as ready for review April 22, 2021 08:03
@texodus texodus merged commit 81ca9fa into master Apr 22, 2021
@texodus texodus deleted the column-styles branch April 22, 2021 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests or improvements Rust
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant