-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Enhance search logging (#2280)
* Support custom fields in logging. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Add search logSearchEvent function. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Add utility for retrieving search state elements. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Call logSearchEvent in search item classes. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Fix issue where search_term not being updated for inline results. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Add tests for log ducks. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Add header to new scripts. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Be explicit with kwargs for log generic action. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Provide default case and forced return for getResults. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Fix eslint error default case. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Use python 3.9 type annotations. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Update betterer results file. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Fix tests related to tests using the connect wrapper. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Fix test related to inlineresults fix. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> * Fix + Add log tests. Signed-off-by: Jackson Goerner <jgoerner@squareup.com> --------- Signed-off-by: Jackson Goerner <jgoerner@squareup.com>
- Loading branch information
Showing
21 changed files
with
600 additions
and
70 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
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
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.