Files
the-nexus/js
Alexander Whitestone b0b4cd0c97
Some checks failed
CI / test (pull_request) Failing after 53s
CI / validate (pull_request) Failing after 50s
Review Approval Gate / verify-review (pull_request) Failing after 7s
fix: #1540
- Add spatial search module for finding users/objects by name
- Add js/spatial-search.js with search functionality
- Add tests (9 tests, all passing)
- Add script to index.html

Features:
1. Search by name with autocomplete
2. Distance calculation
3. Direction indicator (N/S/E/W/NE/SE/SW/NW)
4. Pathfinding arrow on HUD
5. Keyboard shortcut (Ctrl+F / Cmd+F)

Addresses issue #1540: feat: spatial search — find nearest user/object by name

Usage:
- Open search: Ctrl+F or Cmd+F
- Type name to search
- Select result to see direction arrow
- Arrow points to selected entity

Tested:
- Entity registration/unregistration
- Position updates
- Distance calculation
- Direction calculation
- Search functionality
2026-04-17 02:21:12 -04:00
..
2026-04-17 02:21:12 -04:00