Skip to content

Conversation

@qianhexing
Copy link
Owner

Adds a high-performance, infinitely scrollable Canvas-based time ruler component and an example page to select dates with a ruler-like interface.

This PR implements a TimeRuler.vue component that uses Canvas to draw a ruler-style date selector. It supports infinite scrolling, renders only the visible date range for performance optimization, provides distinct visual cues for year, month, and day ticks, and is fully responsive to both PC (mouse drag/wheel) and mobile (touch) interactions. The pages/visualization/distributedMaps/index.vue page demonstrates its usage with a 100vh layout and real-time date display.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Dec 26, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

3 participants