mirror of
https://github.com/we-promise/sure.git
synced 2026-05-30 07:49:01 +00:00
- Extract Custom pension calculator class (was mapped to Base, which raises NotImplementedError — now explicit and safe) - Remove if/custom short-circuit from estimated_monthly_pension — all systems go through pension_calculator uniformly - Add PENSION_SYSTEM_GROUPS constant for grouped UI select and COUNTRY_TO_PENSION_SYSTEM + suggest_pension_system(country) for auto-detection - Setup action pre-selects pension system and country from family profile - Form dropdown now uses grouped_options_for_select grouped by region - Show page displays UK State Pension qualifying-years progress bar for uk_sp - Add pension_system_groups i18n keys in EN/DE/ES/FR - Add UK progress i18n keys (uk_progress_title, uk_qualifying_years, uk_years_remaining) in all four locales - Add 5 calculator unit tests (DE, US, UK, FR, ES) and update schema.rb to reflect GeneralizePensionSystems migration (pension_params JSONB, data JSONB, current_points nullable, old DE-specific columns removed) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>