1.6.0 #6+#7: proyección/ETA de objetivos + insights inteligentes

Goal ETA (#6): GoalProjection engine (CAGR mensual robusto de la evolución +
aportaciones, proyecta mes a mes → fecha estimada, estado ahead/on-track/behind/
unreachable, sparkline). GoalsView muestra 'Projected: <mes>', chip de ritmo con color,
fallback 'Add contributions to reach this'. GoalsViewModel.projection(for:) cacheado.

Insights (#7): InsightsEngine rule-based on-device (sin red/AI). Reglas: allocation vs
target, riesgo de concentración, mejor/peor categoría, diversificación, racha, YTD,
ganancias, forecast, proximidad a milestone. Priorizados por tono, top 4. PortfolioInsight
gana detail + tone. Surface en el Dashboard.

Localización: 19 claves nuevas en los 7 idiomas.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L2p3gUZRNWW388rWFRjiU7
This commit is contained in:
alexandrev-tibco
2026-07-25 12:22:12 +02:00
parent fd1094b4fc
commit 6887d05b01
14 changed files with 766 additions and 128 deletions
@@ -424,6 +424,25 @@
"insight_streak_title" = "Serie di aggiornamenti";
"insight_streak_value" = "%d mesi consecutivi";
"insight_forecast_title" = "In direzione di";
"insight_allocation_title" = "Scostamento allocazione";
"insight_allocation_over_value" = "%1$@ è al %2$.0f%% — sopra il tuo obiettivo del %3$.0f%%";
"insight_allocation_under_value" = "%1$@ è al %2$.0f%% — sotto il tuo obiettivo del %3$.0f%%";
"insight_allocation_detail" = "Riequilibra per restare nel piano";
"insight_concentration_title" = "Rischio di concentrazione";
"insight_concentration_value" = "%1$@ è il %2$.0f%% del tuo portafoglio";
"insight_concentration_detail" = "Valuta di diversificare";
"insight_best_performer_title" = "Miglior rendimento";
"insight_worst_performer_title" = "Richiede attenzione";
"insight_performer_value" = "%1$@ · %2$+.1f%%";
"insight_diversification_title" = "Diversificazione";
"insight_diversification_single_value" = "Tutto in un'unica fonte — valuta di aggiungerne un'altra";
"insight_diversification_good_value" = "Distribuito su %d categorie";
"goal_projection_projected" = "Previsione: %@";
"goal_projection_add_contributions" = "Aggiungi versamenti per raggiungerlo";
"goal_chip_ahead" = "In anticipo";
"goal_chip_on_track" = "In linea";
"goal_chip_behind" = "In ritardo";
"goal_chip_at_this_pace" = "A questo ritmo…";
"notification_milestone_title" = "Traguardo raggiunto! 🎉";
"notification_milestone_body" = "Il tuo portafoglio ha appena superato %@. Complimenti!";