Conversation
|
⏱️ Benchmark run finished in 0m 40s 📈 Compared against baseline: 30s 📅 Last benchmark: 2026-02-01 00:09:20 UTC You can retrigger the benchmark by commenting |
There was a problem hiding this comment.
Pull request overview
This PR adds functionality to copy Minecraft coordinates via a right-click context menu on the map interface. The feature calculates Minecraft world coordinates from geographic coordinates and formats them as a teleport command for easy copying.
Changes:
- Added JavaScript implementation for context menu display, coordinate calculation, and clipboard operations
- Added CSS styling for the context menu with hover effects and proper positioning
- Extended Rust backend to extract and expose Minecraft coordinate bounds from world metadata
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/gui/js/bbox.js | Implements context menu creation, coordinate conversion logic, clipboard API with fallback, and event handling for right-click interactions |
| src/gui/css/bbox.css | Defines styles for the context menu including positioning, hover states, and unused animation keyframes |
| src/gui.rs | Extends WorldMapData structure with Minecraft coordinate bounds (min/max X and Z) extracted from metadata |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
retrigger-benchmark |
No description provided.