Sessions Integration Feature
Nucleic-Session: FC94353F-9F0D-4BCC-AD7C-0FB14E38C2E5 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -390,11 +390,13 @@ final class RemoteStore: ObservableObject {
|
|||||||
fiveHour: WireUsageWindow(utilization: 18, resetsAt: Date().addingTimeInterval(2 * 3600)),
|
fiveHour: WireUsageWindow(utilization: 18, resetsAt: Date().addingTimeInterval(2 * 3600)),
|
||||||
sevenDay: WireUsageWindow(utilization: 40, resetsAt: nil)),
|
sevenDay: WireUsageWindow(utilization: 40, resetsAt: nil)),
|
||||||
statusFeeds: [])
|
statusFeeds: [])
|
||||||
demoHosts = [
|
// Mesh P3: seed BOTH demo Macs' worlds merged into the flat aggregate, exactly as the app
|
||||||
DemoHost(id: "demo-1", name: "Andrew's Mac", sessions: host1Sessions, dashboard: host1Dashboard),
|
// presents real paired Macs — every host's sessions/projects/to-dos shown together, no
|
||||||
DemoHost(id: "demo-2", name: "Studio Mac", sessions: host2Sessions, dashboard: host2Dashboard),
|
// switcher. `demoHandle` then mutates this aggregate directly for the interactive demo.
|
||||||
]
|
sessions = host1Sessions + host2Sessions
|
||||||
applyDemoHost(demoHosts[0])
|
dashboard = DashboardSnapshot.merged([host1Dashboard, host2Dashboard])
|
||||||
|
LiveActivityManager.shared.sync(hostName: hostName, sessions: liveSessions)
|
||||||
|
NotificationRouter.shared.updateBadge(needsYouCount)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Offline diff fixture (NUCLEIC_DEMO) so the full-patch Diff tab renders without a host.
|
/// Offline diff fixture (NUCLEIC_DEMO) so the full-patch Diff tab renders without a host.
|
||||||
|
|||||||
Reference in New Issue
Block a user