Skip to content

Filter entities in the UI (part 5): Add snapshot tests for the blueprint tree #8728

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

Merged
merged 8 commits into from
Jan 22, 2025

Conversation

@abey79 abey79 marked this pull request as draft January 17, 2025 16:48
@abey79 abey79 changed the base branch from main to antoine/filt4-blueprint-tree-filter January 17, 2025 16:48
@abey79 abey79 added ui concerns graphical user interface include in changelog labels Jan 17, 2025
Copy link

github-actions bot commented Jan 17, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
221c1a4 https://rerun.io/viewer/pr/8728 +nightly +main

Note: This comment is updated whenever you push a commit.

@Wumpf Wumpf self-requested a review January 20, 2025 12:29
@abey79 abey79 marked this pull request as ready for review January 20, 2025 15:31
@abey79 abey79 force-pushed the antoine/filt5-blueprint-tree-tests branch from ca5ac63 to ecc5e90 Compare January 20, 2025 15:36
@abey79 abey79 force-pushed the antoine/filt4-blueprint-tree-filter branch from fd3a9ee to ff14c1d Compare January 20, 2025 15:36
@abey79 abey79 force-pushed the antoine/filt5-blueprint-tree-tests branch from ecc5e90 to afb5225 Compare January 20, 2025 15:37
Base automatically changed from antoine/filt4-blueprint-tree-filter to main January 20, 2025 15:56
@abey79 abey79 force-pushed the antoine/filt5-blueprint-tree-tests branch from afb5225 to 84e5573 Compare January 20, 2025 15:57
@abey79 abey79 force-pushed the antoine/filt5-blueprint-tree-tests branch from 53bfed6 to 221c1a4 Compare January 21, 2025 17:16
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

beautiful!

abey79 added a commit that referenced this pull request Feb 5, 2025
### Related

- Closes #8903
- Part of #8586 
- Part of a series of PR:
  - #8645
  - #8652
  - #8654
  - #8672
  - #8706
  - #8728
  - #8795
  - #8863
  - #8886
  - #8933

### What

This PR supports `/` in filter query. Semantics are now as follows:

- Queries are made of whitespace separated keyword.
- Paths are not matched unless they match all keywords individually at
least once.
- Keywords may have 1 or more  `/` separated "parts".
- Single part keyword behave as before: paths are matched if they
contain that keyword anywhere at least once.
- Single part keyword can now be prefixed and/or postfixed with a slash,
eg. "/fir". In that case, the keyword part must be found at the
beginning and/or end of at least one path part to match (e.g. "/fir"
matches "/my/first/entity" but doesn't match "xxfire/entity").
- Multi-part keyword (e.g. "a/b/c") match paths that contains
corresponding, matching sequence of part (e.g. "/xxxxa/b/cxxxxx"). Such
keywords can also be prefixed and/or postfixed with a "/", with the same
semantics.


<img width="293" alt="image"
src="https://github.com/user-attachments/assets/efca95df-5021-425b-96d2-036aeb7d1236"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include in changelog ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants