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

chore: Update spaital analytics #990

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

tihuan
Copy link
Contributor

@tihuan tihuan commented Jun 18, 2024

No description provided.

const { camera } = this.state;

camera?.goHome(this.openseadragon);
this.renderCanvas();
};

handleRecenterButtonClick = () => {
Copy link
Contributor Author

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> {
Copy link
Contributor Author

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 awaiting the promises according to the new lint rule

imageUnderlay
? EVENTS.EXPLORER_IMAGE_SELECT
Copy link
Contributor Author

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) => {
Copy link
Contributor Author

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

@tihuan tihuan requested a review from kaloster June 18, 2024 17:06
@tihuan tihuan enabled auto-merge (squash) June 18, 2024 17:13
@tihuan tihuan merged commit 339f7c9 into main Jun 18, 2024
7 of 8 checks passed
@tihuan tihuan deleted the thuang-spatial-analytics-update branch June 18, 2024 17:20
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