-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: Update spaital analytics #990
Conversation
const { camera } = this.state; | ||
|
||
camera?.goHome(this.openseadragon); | ||
this.renderCanvas(); | ||
}; | ||
|
||
handleRecenterButtonClick = () => { |
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.
create an explicit button click handler, so the tracking event can happen exclusively at click time
@@ -418,7 +423,7 @@ class Graph extends React.Component<GraphProps, GraphState> { | |||
} | |||
}; | |||
|
|||
handleBrushDragAction(): void { | |||
async handleBrushDragAction(): Promise<void> { |
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.
bunch of methods that are not await
ing the promises according to the new lint rule
imageUnderlay | ||
? EVENTS.EXPLORER_IMAGE_SELECT |
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.
flip the event names
@@ -36,7 +36,7 @@ const catLabelSort = ( | |||
const ints: (string | number | boolean)[] = []; | |||
const unassignedOrNaN: (string | number | boolean)[] = []; | |||
|
|||
values.forEach((v) => { | |||
values?.forEach((v) => { |
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.
coincidentally caught this bug when the left side bar failed to load the categories
No description provided.