mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
feat: lay down the day view and timeline contract
Land every file the day view, the timeline and life events share before any of them is built, so the server, the day view and the timeline can be built side by side without editing the same file (#613). Schema and migration 0387: LifeEvent with a short category list, calendar start and end dates, a day/month/year precision, encrypted title and note, a soft-delete tombstone and an index for the per-user live list. Every new column is annotated for the column-reader sweep. Life events travel in both backup purposes with their two ends in one file, are wiped with the account, and are registered for key rotation. src/lib/day/contract.ts carries the constants and wire types for GET /api/day/{date}, /api/day/index, /api/timeline, /api/timeline/readiness and the life-event routes, free of Zod so the navigation chrome can import it; the schemas beside it feed the routes and the published contract. The Coach and MCP tool name get_day is reserved there, and life events are listed as the one section no model ever sees. The opt-in timeline module, its navigation entry, the day-section and timeline-lane surfaces, the day and timeline query keys (evicted by every record data bundle), and stub routes that answer 501 behind their admissions. The four cross-section reads declare the whole record for now; the life-event list is a profile read, and life events join the profile sharing domain and its consent copy in all seven locales. The day, timeline and lifeEvents message namespaces carry their base copy as release-pending keys. The aggregate bundle cap moves to 4400: the branch already measured 4365 against 4335, and the new copy adds 10 KB.
This commit is contained in:
1 parent
861ba21086
commit
c79fc6cc7b
57 files changed
+4290
-21
No files matched your search
+140
-2
@@ -436,7 +436,8 @@
|
||||
"illness": "Malattia",
|
||||
"documents": "Documenti",
|
||||
"vaccinations": "Vaccinazioni",
|
||||
"mentalWellbeing": "Benessere mentale"
|
||||
"mentalWellbeing": "Benessere mentale",
|
||||
"timeline": "Cronologia"
|
||||
},
|
||||
"auth": {
|
||||
"login": "Accedi",
|
||||
@@ -9608,6 +9609,10 @@
|
||||
"vaccinations": {
|
||||
"label": "Vaccinazioni",
|
||||
"description": "Il libretto vaccinale strutturato: dose, serie, prossimo richiamo."
|
||||
},
|
||||
"timeline": {
|
||||
"label": "Cronologia",
|
||||
"description": "Anni a colpo d’occhio: malattie, farmaci e visite accanto ai tuoi valori, più i tuoi eventi di vita."
|
||||
}
|
||||
},
|
||||
"moduleOff": {
|
||||
@@ -11831,7 +11836,7 @@
|
||||
},
|
||||
"profile": {
|
||||
"label": "Anamnesi",
|
||||
"detail": "Allergie, anamnesi familiare, i dati del tuo profilo sanitario, le tue visite mediche e studi, e il tuo libretto vaccinale."
|
||||
"detail": "Allergie, anamnesi familiare, i dati del tuo profilo sanitario, le tue visite mediche e studi, il tuo libretto vaccinale e i tuoi eventi di vita."
|
||||
},
|
||||
"illness": {
|
||||
"label": "Malattie",
|
||||
@@ -12144,5 +12149,138 @@
|
||||
"title": "Sintomi registrati",
|
||||
"filed": "registrato con questa malattia"
|
||||
}
|
||||
},
|
||||
"day": {
|
||||
"title": "Giorno",
|
||||
"previousDay": "Giorno precedente",
|
||||
"nextDay": "Giorno successivo",
|
||||
"close": "Chiudi giorno",
|
||||
"openDay": "Apri giorno",
|
||||
"viewWholeDay": "Vedi l’intera giornata",
|
||||
"captureForDay": "Registra per questo giorno",
|
||||
"empty": "Non ci sono voci per questo giorno.",
|
||||
"notShared": "Alcune aree non sono condivise con te.",
|
||||
"inTimeline": "Nella cronologia",
|
||||
"askCoach": "Chiedi al Coach di questo giorno",
|
||||
"chartHint": "Fai clic su un punto per aprire il suo giorno.",
|
||||
"daysWithEntries": "Giorni con voci",
|
||||
"loadFailed": "Impossibile caricare questo giorno.",
|
||||
"dayOf": "Giorno {n} di {m}",
|
||||
"dayN": "Giorno {n}",
|
||||
"since": "Dal {date}",
|
||||
"usualRange": "Di solito da {lo} a {hi}",
|
||||
"groups": {
|
||||
"running": "In corso",
|
||||
"values": "Valori",
|
||||
"happened": "Accaduto"
|
||||
},
|
||||
"sections": {
|
||||
"values": "Valori",
|
||||
"sleep": "Sonno",
|
||||
"mood": "Umore",
|
||||
"assessments": "Questionari",
|
||||
"medications": "Farmaci",
|
||||
"illness": "Malattia",
|
||||
"symptoms": "Sintomi",
|
||||
"allergies": "Allergie",
|
||||
"labs": "Esami",
|
||||
"visits": "Medico e interventi",
|
||||
"vaccinations": "Vaccinazioni",
|
||||
"checkups": "Controlli",
|
||||
"documents": "Documenti",
|
||||
"workouts": "Allenamenti",
|
||||
"cycle": "Ciclo",
|
||||
"environment": "Ambiente",
|
||||
"lifestyle": "Stile di vita",
|
||||
"lifeEvents": "Eventi di vita"
|
||||
},
|
||||
"notable": {
|
||||
"extremeHigh": "Valore giornaliero più alto dal {since}",
|
||||
"extremeLow": "Valore giornaliero più basso dal {since}",
|
||||
"firstValue": "Prima misurazione di questo tipo",
|
||||
"gap": "{days} giorni senza misurazione"
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Cronologia",
|
||||
"subtitle": "Anni a colpo d’occhio.",
|
||||
"legend": "Mostrati uno accanto all’altro, non come causa ed effetto.",
|
||||
"standing": "Permanente",
|
||||
"startMissing": "Data di inizio mancante",
|
||||
"openDay": "Apri {date}",
|
||||
"zoom": {
|
||||
"all": "Tutto",
|
||||
"year": "12 mesi",
|
||||
"quarter": "3 mesi"
|
||||
},
|
||||
"lanes": {
|
||||
"life": "Vita",
|
||||
"illness": "Malattie",
|
||||
"allergies": "Allergie",
|
||||
"medications": "Farmaci",
|
||||
"vaccinations": "Vaccinazioni",
|
||||
"visits": "Medico e interventi",
|
||||
"labs": "Esami",
|
||||
"documents": "Documenti",
|
||||
"cycle": "Ciclo"
|
||||
},
|
||||
"readiness": {
|
||||
"title": "Cosa contiene già la tua cronologia",
|
||||
"subtitle": "Un inventario onesto prima di aprirla.",
|
||||
"menuEntry": "Copertura dei dati",
|
||||
"hint": "Le corsie vuote restano nascoste finché non c’è qualcosa. I moduli disattivati non compaiono mai. Ritroverai questa panoramica più avanti in Copertura dei dati, nella cronologia.",
|
||||
"later": "Più tardi",
|
||||
"open": "Apri cronologia",
|
||||
"verdict": {
|
||||
"carries": "È già ben fornita.",
|
||||
"thin": "Ancora scarna. Per ora la cronologia mostra soprattutto i tuoi valori."
|
||||
},
|
||||
"status": {
|
||||
"carries": "fornita",
|
||||
"thin": "scarna",
|
||||
"empty": "vuota"
|
||||
},
|
||||
"lanes": {
|
||||
"values": "Valori",
|
||||
"mood": "Umore",
|
||||
"environment": "Ambiente"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lifeEvents": {
|
||||
"title": "Evento di vita",
|
||||
"add": "Evento di vita",
|
||||
"subtitle": "Un punto di riferimento per la cronologia, non una misurazione.",
|
||||
"privacy": "Titolo e nota sono salvati cifrati. Non vanno a nessuna IA.",
|
||||
"empty": "Ancora nessun evento di vita",
|
||||
"emptyHint": "Un trasloco, una nascita o un nuovo lavoro danno agli anni un punto di riferimento.",
|
||||
"save": "Salva",
|
||||
"cancel": "Annulla",
|
||||
"delete": "Elimina evento di vita",
|
||||
"saved": "Evento di vita salvato",
|
||||
"deleted": "Evento di vita eliminato",
|
||||
"fields": {
|
||||
"title": "Cosa è successo?",
|
||||
"category": "Tipo",
|
||||
"when": "Quando",
|
||||
"precision": "Precisione",
|
||||
"addEnd": "Data di fine, se è stato un periodo",
|
||||
"endDate": "Fino al",
|
||||
"note": "Nota",
|
||||
"optionalTag": "facoltativo",
|
||||
"notePlaceholder": "Qualcosa che vorrai sapere più avanti"
|
||||
},
|
||||
"category": {
|
||||
"FAMILY": "Famiglia",
|
||||
"HOME": "Casa",
|
||||
"WORK": "Lavoro",
|
||||
"LOSS": "Lutto",
|
||||
"OTHER": "Altro"
|
||||
},
|
||||
"precision": {
|
||||
"DAY": "Giorno",
|
||||
"MONTH": "Mese",
|
||||
"YEAR": "Anno"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user