-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Mappings editor] Search fields #54241
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
sebelga
merged 52 commits into
elastic:feature/mappings-editor
from
sebelga:mappings-editor/search-fields
Jan 14, 2020
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
a22bf94
Fix issue when no changes made in JSON modal
1a6657f
Create flat field list item
441c891
Move search term to reducer
bdd9383
Define min width for search box
3c74989
Make code review suggestion
70be044
Add dummy data to test performance
9c26db9
Use react-tiny-virtual-list to render results
7088d12
Refactor: move search fields to its own folder
23a6c6e
Search algorithm (wip)
b813e96
Add search fields call in reducer
693943c
Move react-tiny-virtual-list dep to x-pack package.json
e508529
Remove dummy content generator
2911c28
Improve search algorithm
a7c333c
Improve search algorithm
83fccf3
Cherry pick PR changes to field "path" array format
7680ea3
Refactor: move tree editor in its own component
f8a1877
Add "edit" handler to search item
5b18037
Update search result after "removing" or "updating" a field
714b4c5
Add select styling when editing a field from search
08f9fe3
Merge remote-tracking branch 'upstream/feature/mappings-editor' into …
ec32fc1
Refactor func name: getRegexArrayFromSearchTerms()
f2d1e52
Merge remote-tracking branch 'upstream/feature/mappings-editor' into …
aac6291
Use EuiButton instead of EuiButtonEmpty in prompt
a066cf9
Add missing i18n
34ec07e
Address CR + fix tests
f829f45
Merge remote-tracking branch 'upstream/feature/mappings-editor' into …
4ff65bd
Sort first field name before descendants
92d4202
Sort fully name match before partial match
8915d4c
Hide horizontal scrollbar in search result
a9a029f
Ignore searching for ">" char
519735b
Highlight latest instance of string in search result
727bb6d
Only convert toLowercase() once per search
124a251
Allow up to 3 fuzzy words
bf3e9bd
Add reveal in editor button to search result
e771da1
Make the searchBox "sticky"
19d4fbc
Move SearchBox to its own component
4f9b395
Add "Back to search results" button in SearchBox
ec7a047
Reset search selection when creating new field or edit other field
983a269
Fix sticky position for large screens
f1c8598
Increase line height in search result path
b1bd152
Fix TS issue
ff6bb4f
Merge remote-tracking branch 'upstream/feature/mappings-editor' into …
a0f7d04
Escape strings passed to new RegExp (#14)
jloleysens b02591c
Revert sticky behaviour on searchBox
c8d0ec2
Revert "Reveal in editor" from search results
bcbe407
Merge branch 'mappings-editor/search-fields' of github.com:sebelga/ki…
c84889b
Address copy review changes
f91fc86
Merge remote-tracking branch 'upstream/feature/mappings-editor' into …
052f1b7
Improve search algorithm
e7c4edf
Fix test
63eb21b
Clear search result when loading JSON
f04f9a0
Revert "isSelected" and scroll to item on selected item
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 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
2 changes: 2 additions & 0 deletions
2
...x_management/public/app/components/mappings_editor/components/document_fields/_index.scss
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
|
|
||
| @import './document_fields'; | ||
| @import './fields/index'; |
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
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
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
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
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
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
File renamed without changes.
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.
I appreciate the improved clarity of being explicit here!