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

Fix in and not in filter UI bug #2403

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Fix in and not in filter UI bug #2403

merged 1 commit into from
Oct 27, 2023

Conversation

texodus
Copy link
Member

@texodus texodus commented Oct 27, 2023

When using Python virtually from a <perspective-viewer>, the in and not in filter types may generate messages of the form ["Column", "in", ["val1", ..]], which both the JavaScript and Python backends support. However, a bug in <perspective-viewer> caused completions triggered by the auto-complete widget to not encode this correctly, keeping it as a comma-separated string. While the JavaScript Emscripten API gracefully falls back in this case, the Python C++ API get_viewer_config() strictly (but correctly) rejects this.

Reported in #2397

@texodus texodus added the bug Concrete, reproducible bugs label Oct 27, 2023
@texodus texodus added the Python label Oct 27, 2023
@texodus texodus merged commit 335a0ce into master Oct 27, 2023
13 checks passed
@texodus texodus deleted the fix-in-notin-filter-python branch October 27, 2023 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant