Merge the day and timeline contract into release/v1.42.0

# Conflicts:
#	src/__tests__/sharing-surface-guard.test.ts
This commit is contained in:
Marc-André Bombeck committed 2026-10-08 13:13:49 +02:00
commit b8f6372963
60 files changed
+4336 -24

No files matched your search

+13
View File
@@ -6,6 +6,7 @@ import {
Droplets,
FileScan,
FlaskConical,
History,
Home,
Lightbulb,
MessagesSquare,
@@ -206,6 +207,18 @@ export const NAV_DESTINATIONS: ReadonlyArray<NavDestination> = [
icon: FileScan,
tourId: "nav-documents",
},
// v1.42 (#613) — the life timeline, after Documents and before Insights.
// Owned by the opt-in `timeline` module in the surface map, so it appears
// only once the person switches it on; on a phone it lands in the More hub
// and takes no primary slot. A record read across sections: a delegate
// holding the whole record sees it, a scoped grant never does.
{
href: "/timeline",
sharedRecord: true,
tKey: "nav.timeline",
icon: History,
tourId: "nav-timeline",
},
// Insights belongs to no module: the `insights` key means AI analysis, and
// the area is data, so switching AI analysis off leaves this entry standing.
//
@@ -46,6 +46,7 @@ import {
Dumbbell,
FileScan,
FileText,
History,
MessageCircleHeart,
Leaf,
Moon,
@@ -117,6 +118,8 @@ const MODULE_ICONS: Record<ModuleKey, LucideIcon> = {
nutrients: Leaf,
// v1.38.0 — the immunization log.
vaccinations: Syringe,
// v1.42 — the life timeline (opt-in).
timeline: History,
};
export function ModulesSection() {