Skip to content
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

Add some frontend view/click events #1118

Merged
merged 6 commits into from
Jan 6, 2023
Merged

Conversation

jczhong84
Copy link
Collaborator

This is the first batch of events we're interested for tracking.

Also fixed a bug of creating datadoc from adhoc with templated variables.

czgu
czgu previously approved these changes Jan 6, 2023
@@ -112,6 +112,18 @@ export const SearchOverview: React.FC<ISearchOverviewProps> = ({
const results = resultByPage[currentPage] || [];
const isLoading = !!searchRequest;

// Log search results
useEffect(() => {
if (!isLoading && !!searchString.length && !!results.length) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use searchString.length > 0 and results.length >0, seems easier to understand than !!

@jczhong84 jczhong84 merged commit 652d77c into pinterest:master Jan 6, 2023
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Feb 28, 2023
* Add frontend event logging

* add some view events

* fix one element type

* refactor

* add search resutls view events

* comment
@jczhong84 jczhong84 deleted the feat/track branch April 7, 2023 00:41
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
* Add frontend event logging

* add some view events

* fix one element type

* refactor

* add search resutls view events

* comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants