-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat: nested search #105
Merged
Merged
feat: nested search #105
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b7478db
feat: actions rework
timc1 dbd5fbf
chore: tests
timc1 3fc225c
fix: package-lock
timc1 505502a
fix: dedupe children
timc1 adbb2af
chore: tests
timc1 65a8d2b
chore: add test to ci
timc1 f074415
fix: package-lock
timc1 63aea35
feat: nested search
timc1 6508290
remove throttle for now
timc1 c6289cd
perf: for loop faster
timc1 ff5f1bc
perf: large data sets
timc1 2c1263e
feat: display ancestors
timc1 860819e
ancestor flicker between navigating rootActionId
timc1 341c0c0
cleanup
timc1 468afbd
style nits
timc1 4df68a0
fix ci, maybe
timc1 08093e6
fix: return new actions object
timc1 4d3a49b
faster
timc1 a42585d
fix: move flattening logic into lib
timc1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could
ancestors
not be provided byonRender
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can but we will get this behavior, notice the slight bit of ancestor flash when we hit backspace and go to the parent action:
Kapture.2021-11-03.at.13.54.08.mp4
Since we throttle the matching, the actions displayed and the
currentRootActionId
will not be synced perfectly. The current solution is to return thecurrentRootActionId
alongside the matches so we ensure they're synced:I may be missing something totally here bc I really don't like returning that
rootActionId
as part ofuseDeepMatches
lol