B2view improvements: CTable filtering is here!#661
Merged
Conversation
…ng b2view capture it instead.
Filters use the same string expressions as CTable.where() (dotted nested names, and/or) and page through the matching view; escape or an empty expression restores the full table, and each node remembers its filter for the session.
`f` takes the same string expressions as CTable.where() (dotted nested names, and/or) and pages through the matching view; `/` narrows the visible columns by case-insensitive substring, and column paging plus the `c` goto-column modal operate on that subset. Both filters combine freely, are remembered per node for the session, and are shown in the data header along with the unfiltered totals; escape clears one layer per press (dim mode, then rows, then columns).
Importing textual works on Pyodide, but instantiating an App selects a terminal driver and the Linux driver needs termios, which Emscripten does not provide. Guard with blosc2.IS_WASM, like the other wasm exclusions in the test suite.
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
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.
Many improvements in navigation for the data panel. Now it is possible to do complex filters on ctable objects.
In detail:
b2view: packaging & defaults
Data panel: filtering (the headline feature)
Data panel: rendering & navigation
Testing & housekeeping