Updates
Release history for BBR Battle. Each entry corresponds to a shipped feature or fix.
May 2025
Vitest + Testing Library configured. Tests cover calculatorSlice reducers, target-selection selectors, and API parsing logic.
May 2025
New Audit tab shows a single battle instance stepped through phase by phase — AAA fire, sub strikes, combined arms, dice rolls, hit assignments, and casualties.
May 2025
Replaced the blocking target-select modal with a collapsible inline panel. Assignments auto-populate sensible defaults and re-trigger the simulation on any change.
May 2025
Frontend now calls /battles/simulate directly. Response includes typed outcome distributions, IPC loss per side, and a seed for audit replay.
May 2025
Rewrote the Air Transport paradrops reducer to use immutable Immer patterns. Paradrops now reset correctly when terrain changes.
May 2025
Removed the terrain/tech lock that permanently disabled inputs after setting a custom loss order. Controls now stay enabled and the order resets automatically.
May 2025
Empty or zero-unit forces no longer trigger API calls. Toast feedback shown if the user tries to calculate with one side empty.
May 2025
Merged two hand-maintained key↔unit-name lookup tables into one canonical source. Eliminates the risk of them drifting out of sync.
May 2025
Fixed a type mismatch that caused tactical bomber and sub-strike assignments to be silently ignored. Assignments now reach the simulation engine as priority lists.
May 2025
Frontend tech keys mapped to canonical TechId strings before the API call. Eliminates the legacy numeric-to-string conversion that lived in the backend adapter.
May 2025
Single-click to swap attacker and defender — units, tech, and loss order all swap together.
Apr 2025
Multi-hit units (battleships, carriers) display a ring showing current HP in the outcome tables.
Apr 2025
IPC loss distributions now render as area curves with a 0–100% Y-axis and survivor tooltips on hover.
Apr 2025
Outcomes section rebuilt with win-rate bar, average IPC stat panels, and per-side distribution tables.
Apr 2025
Calculator now works on phones and tablets. Unit tables stack on small screens.
Apr 2025
Full visual refresh of the calculator page — typography, spacing, color system, and dark/light theme.
Mar 2025
Added light color theme. Toggle between light and dark via the header.
Feb 2025
BBR Battle goes live. Land and sea combat, 11 tech options, and Monte Carlo simulation via the TypeScript backend.