-
Notifications
You must be signed in to change notification settings - Fork 31
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: forward and back button for organize column search #1641
Merged
ethanalvizo
merged 23 commits into
deephaven:main
from
ethanalvizo:1529-organize-col-search-button
Nov 27, 2023
Merged
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
49565fd
wip
ethanalvizo 996ec93
update icon
ethanalvizo 39eef3e
initial draft
ethanalvizo 9506c57
style fixes
ethanalvizo 89b60ff
feat: forward and back buttons to organize column search
ethanalvizo 64da0ff
Merge branch 'main' into 1529-organize-col-search-button
ethanalvizo 24eb74b
update snapshots
ethanalvizo 7d828eb
scroll item into view
ethanalvizo edc7d23
update button component used
ethanalvizo af2ca84
UX improvement
ethanalvizo 6e7569d
Merge branch 'main' into 1529-organize-col-search-button
ethanalvizo 1c2d5bd
add unit test
ethanalvizo 000288c
fix scroll into behaviour
ethanalvizo 4712199
style changes
ethanalvizo 1d43453
refactor search input
ethanalvizo a65c587
PR feedback
ethanalvizo 1639698
PR feedback
ethanalvizo a01a185
PR feedback
ethanalvizo bf4039f
fix unit test
ethanalvizo de40a3a
Merge branch 'main' into 1529-organize-col-search-button
ethanalvizo f4e2b12
update column map
ethanalvizo 42ab39e
wip
ethanalvizo a6ba0a3
fixed
ethanalvizo 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.
You shouldn't need this cast, and in fact it's pointing out an error - you could be passing
index: undefined
here, which is not whatSearchInput
is expecting.Instead, you should just check if it is not set and just return
undefined
for that instead of the parameter, e.g.: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.
I unresolved one of your previous comments. I didn't think it through properly but queriedColumnIndex should be able to be undefined. When the user searches initially there is no index yet. But cursor should still be passed in since we need the next function for the forward and back buttons