Activación: valor inicial como primer check-in + CTA en Quick Update vacío (build 84) #37

- AddSourceView: sección de valor reencuadrada como 'Valor de hoy' (primer check-in); si se omite, abre AddSnapshotView automáticamente en vez de dejar al usuario en el dashboard vacío
- QuickUpdateView: estado sin fuentes ahora tiene CTA 'Añade tu primera fuente' → .openAddFirstSource
- 3 claves nuevas localizadas en los 7 idiomas
- Bump a 1.6.1 (84)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VXtwQP6nYnbLFVqsHiTK5G
This commit is contained in:
alexandrev-tibco
2026-08-23 12:37:58 +02:00
parent 3b1f62cc26
commit f2f54a5ca3
10 changed files with 93 additions and 29 deletions
@@ -47,11 +47,23 @@ struct QuickUpdateView: View {
AppBackground()
if sources.isEmpty {
ContentUnavailableView(
String(localized: "quick_update_no_sources"),
systemImage: "list.bullet",
description: Text(String(localized: "quick_update_no_sources_body"))
)
ContentUnavailableView {
Label(String(localized: "quick_update_no_sources"), systemImage: "list.bullet")
} description: {
Text(String(localized: "quick_update_no_sources_body"))
} actions: {
Button {
dismiss()
// Let this sheet finish dismissing before Dashboard
// presents AddSourceView (same pattern as ContentView).
DispatchQueue.main.asyncAfter(deadline: .now() + 0.6) {
NotificationCenter.default.post(name: .openAddFirstSource, object: nil)
}
} label: {
Text(String(localized: "quick_update_add_first_source"))
}
.buttonStyle(.borderedProminent)
}
} else {
List {
Section {