Skip to content

Lower jet icon MTOW threshold to 2250 kg#698

Merged
rzueger merged 1 commit intodevelopfrom
feat/lower-jet-mtow-threshold
Apr 15, 2026
Merged

Lower jet icon MTOW threshold to 2250 kg#698
rzueger merged 1 commit intodevelopfrom
feat/lower-jet-mtow-threshold

Conversation

@rzueger
Copy link
Copy Markdown
Member

@rzueger rzueger commented Apr 15, 2026

Summary

  • Aircraft with MTOW >= 2250 kg are now classified as jets and shown with the jet icon (was > 2550 kg).
  • Exported getIconName as a named export to enable direct unit testing of the threshold logic.
  • Added 8 unit tests covering threshold boundary (2249/2250/5700), helicopter/glider passthrough, and plane→jet override.

Test plan

  • npm test — all 1746 tests pass
  • npm run typecheck — no TypeScript errors
  • Visually verify in movement list that an aircraft with MTOW between 2250 and 2550 now shows the jet icon

Aircraft with MTOW >= 2250 kg are now shown with the jet icon
instead of the generic plane icon (was > 2550 kg).

Also export getIconName for unit testing and add coverage for
the threshold boundary and category passthrough.
@rzueger rzueger merged commit 1214a96 into develop Apr 15, 2026
2 checks passed
@rzueger rzueger deleted the feat/lower-jet-mtow-threshold branch April 15, 2026 10:27
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.

1 participant