Skip to content

Conversation

@cornhundred
Copy link
Collaborator

Summary

  • add double-click detection for dendrogram polygons to differentiate single versus double clicks
  • compute cluster-centric zoom and pan targets and animate the deck.gl view state to focus the matrix on the selected dendrogram
  • synchronize zoom bookkeeping so subsequent interactions continue from the focused state

Testing

  • npx eslint js/deck-gl/matrix/dendro_layers.js

Codex Task

@cornhundred cornhundred requested a review from Copilot November 15, 2025 20:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds double-click zoom and focus animation functionality to the dendrogram visualization. When users double-click a dendrogram cluster, the view animates to focus on that cluster with appropriate zoom level. Single clicks continue to highlight clusters without zooming.

Key changes:

  • Added double-click detection logic with configurable delay to differentiate single vs double clicks
  • Implemented animated zoom and pan transitions that center the view on selected dendrogram clusters
  • Added state synchronization to ensure subsequent interactions work correctly from the focused state

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cornhundred cornhundred marked this pull request as draft November 15, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants