-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/support nested field names (#1324)
* feat(supportNestedFieldNames): Added solution described in ticket, unable to populate summary field using example described in ticket * feat(supportNestedFieldNames): Ran linter * feat(supportNestedFieldNames): Reverted auto formatting * feat(supportNestedFieldNames): Added other changed file without auto formating * feat(supportNestedFieldNames): Added nested search with lodash get to DiscoveryListView ln 130 * feat(supportNestedFieldNames): Updated files to remove unintentional auto formatting * feat(supportNestedFieldNames): Refactored to use jsonpath * feat(supportNestedFieldNames): Fixed issue with empty resourceFieldValues rendering in details view * feat(supportNestedFieldNames): Updated parameter passed to search functionality so search will still work * feat(supportNestedFieldNames): Updated parameter passed to search functionality to parse all array values * feat(supportNestedFieldNames): Removed unneeded comments * feat(supportNestedFieldNames): Updated discoverydetails logic to not render fields when array contains a single empty string * feat(supportNestedFieldNames): Wrote function to parse array containing an array for displaying multiple values in a single place in the detail view * feat(supportNestedFieldNames): Renamed function for clarity * feat(supportNestedFieldNames): Reverted unneeded auto formatting from prettier and ran eslint * feat(supportNestedFieldNames): Added jsonpath query for headerField in DiscoveryDetails.tsx * feat(supportNestedFieldNames): Reverted unintentional auto formatting * feat(supportNestedFieldNames): Added logic to formatSearchIndex so JSON Path values can be used in search in Discovery.tsx * Update src/Discovery/DiscoveryListView.tsx Co-authored-by: Mingfei Shao <2475897+mfshao@users.noreply.github.com> * feat(supportNestedFieldNames): Removed console logs and added support for nested searchableFields * feat(supportNestedFieldNames): Ran linter * feat(supportNestedFieldNames): clarified comment * Update src/Discovery/Discovery.tsx Co-authored-by: Mingfei Shao <2475897+mfshao@users.noreply.github.com> * Update src/Discovery/Discovery.tsx Co-authored-by: Mingfei Shao <2475897+mfshao@users.noreply.github.com> * Update src/Discovery/Discovery.tsx Co-authored-by: Mingfei Shao <2475897+mfshao@users.noreply.github.com> * use jsonpath to check if group is empty * increase mds query limit * update docs * aggregation * update for na fields * fix test * change concat char --------- Co-authored-by: Mingfei Shao <2475897+mfshao@users.noreply.github.com> Co-authored-by: Mingfei Shao <mshao1@uchicago.edu>
- Loading branch information
1 parent
258781b
commit 87c7c04
Showing
9 changed files
with
244 additions
and
78 deletions.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.