Skip to content

refactor(map): extract RF tool hooks; scan panel polish#463

Merged
SimmerV merged 3 commits into
MeshAddicts:developfrom
SimmerV:chore
May 13, 2026
Merged

refactor(map): extract RF tool hooks; scan panel polish#463
SimmerV merged 3 commits into
MeshAddicts:developfrom
SimmerV:chore

Conversation

@SimmerV

@SimmerV SimmerV commented May 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Split Map.tsx (4579 → 2573 lines) by extracting LOS/scan/coverage state and compute effects into 10 colocated hooks in pages/map/ (useLosState, useScanState, useCoverageState, useCoverageMergeOrigins, useUrlMapSync, useLosCompute, useScanCompute, useCoverageCompute), plus pure helpers in helpers.ts and the GeoJSON/KML export in coverageExport.ts. Behavior unchanged.
  • Scan panel no longer auto-minimizes after the first result; user can still minimize manually.
  • Truncated scan header text ("From {origin} · N reachable / M") now has a native title tooltip with the full string.

@SimmerV SimmerV self-assigned this May 13, 2026
@SimmerV SimmerV added bug Something isn't working chore Housekeeping with no functional changes labels May 13, 2026
@SimmerV SimmerV added this to meshinfo May 13, 2026
@github-project-automation github-project-automation Bot moved this to Backlog in meshinfo May 13, 2026
@SimmerV SimmerV merged commit 06be6dd into MeshAddicts:develop May 13, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in meshinfo May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore Housekeeping with no functional changes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant