Redesign single-aircraft fleet page: stats, route map & grouped reg data #23
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/fleet-aircraft-page-redesign"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Bold redesign of the single-aircraft fleet page (
/fleet/$tail), which previously showed only AeroDataBox airframe data and a bare flight list — nothing about the user's own flying on that tail.Restructured into four numbered FIDS sections:
distance_km/duration_minutes)FlightMap(dark theme) with this tail's deduped great-circle routes; rendered only when mappableServer
getAircraftDetailnow selects airport coords/names + distance/duration, and returnsstats+routes/airportsmap data (mirrors the dashboardroutesMap/airportsMappattern). Routes only count when both airports resolve to seeded rows with coords (reference-data pattern, CLAUDE.md #1).RouteFeature/AirportDotreused viaimport type(no clientdbbleed, §8).Addresses audit roadmap (b)(2) — airframe-level enrichment delight.
Verification
pnpm typecheck✅ ·pnpm lint✅ ·pnpm test(52 passed) ✅dev.db: stats strip, dark route map, grouped registration section, and the new table columns all render; un-enriched tails still show the "No enrichment data → Enrich" state.