1.5.0: aviso de huecos + resumen mensual compartible + import con vista previa

Feature 1 — Aviso de huecos: SnapshotGapDetector detecta huecos internos por
source (meses sin datos entre dos snapshots). Banner desechable en Dashboard +
DataGapsSheet para rellenar (abre AddSnapshotView con el mes que falta). Complementa
la interpolación de gráficas: la línea se ve suave pero el usuario sabe que faltan
datos reales.

Feature 2 — Resumen mensual compartible: MonthlySummaryShareView (tarjeta con marca:
valor, variación desde el check-in, racha, mood/rating) renderizada con ImageRenderer
y compartida vía ShareService. Botón en la fila "check-in done" del Dashboard.

Feature 3 — Import con vista previa: ImportPreview + previewImportAsync (dry-run
READ-ONLY, no muta nada) cuenta qué se creará/actualizará usando los mismos checks
de existencia que applyImport. ImportDataView muestra la confirmación antes de
importar. El path real de import (applyImport/importDataAsync) NO se toca.

Localización 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-24 09:36:50 +02:00
parent 8d7cfc098b
commit 84d9240ee6
17 changed files with 1096 additions and 13 deletions
@@ -565,3 +565,34 @@
"icloud_diagnostics_copied" = "Diagnostics copied to clipboard";
"Smooth Gaps in Charts" = "Smooth Gaps in Charts";
// MARK: - Data Gaps (1.5.0)
"gaps_banner_title" = "%d months are missing data";
"gaps_missing_count" = "%d missing";
"gaps_range_between" = "Between %@ and %@";
"Fill in missing data" = "Fill in missing data";
"Missing Data" = "Missing Data";
"Fill Gap" = "Fill Gap";
"The chart estimates these months. Add real snapshots to keep your history accurate." = "The chart estimates these months. Add real snapshots to keep your history accurate.";
"Dismiss" = "Dismiss";
// MARK: - Shareable Monthly Summary (1.5.0)
"share_summary_streak_badge" = "%d mo";
"Monthly Summary" = "Monthly Summary";
"Portfolio Value" = "Portfolio Value";
"Tracked with" = "Tracked with";
"Share monthly summary" = "Share monthly summary";
"since last check-in" = "since last check-in";
// MARK: - Import Preview (1.5.0)
"import_preview_nothing" = "Nothing new to import. Your data is already up to date.";
"import_preview_sources" = "Create %d sources";
"import_preview_snapshots_new" = "Create %d snapshots";
"import_preview_snapshots_update" = "Update %d snapshots";
"import_preview_categories" = "Create %d categories";
"import_preview_goals" = "Create %d goals";
"import_preview_journal_new" = "Create %d journal entries";
"import_preview_journal_update" = "Update %d journal entries";
"Review Import" = "Review Import";
"Reviewing import…" = "Reviewing import…";
"Import" = "Import";