diff --git a/examples/techdemo/src/main.rs b/examples/techdemo/src/main.rs index 7175969..9ecd344 100644 --- a/examples/techdemo/src/main.rs +++ b/examples/techdemo/src/main.rs @@ -12,8 +12,8 @@ use hemx_axum::{ }; use hemx_host::{ browser_pwa_host_profile, native_shell_host_profile, Capability, CapabilityManifest, - CapabilityShape, CapabilityUse, HapticPattern, HostCall, HostCallId, HostEvent, SharePayload, - BROWSER_HOST_JS, + CapabilityShape, CapabilityUse, HapticPattern, HostCall, HostCallId, HostEvent, + SharePayload as HostShareData, BROWSER_HOST_JS, }; use hemx_techdemo::ui; use hemx_techdemo::ui::control_center::{self as control, classes}; @@ -125,7 +125,7 @@ impl LocalJournal { LocalEvent::SetCompleted { set_id, reps } => { self.projection.completed_sets += 1; self.projection.summary = format!( - "Projected set {set_id} with {reps} reps from commands/events; no DOM patch or EffectBatch was stored" + "Projected set {set_id} with {reps} reps from commands/events; no DOM patch or UI update was stored" ); } } @@ -459,7 +459,7 @@ fn native_manifest() -> CapabilityManifest { fn browser_share_call() -> HostCall { HostCall::Share { id: HostCallId::new("browser-share-1"), - payload: SharePayload::text("hemx host capability demo"), + payload: HostShareData::text("hemx host capability demo"), } } @@ -861,7 +861,7 @@ fn host_panel(demo: &DemoState) -> HostPanel { // req: host/001 req: host/002 req: host/005 HostPanel { status: demo.host_status.clone(), - boundary: "HostCall → HostEvent → app command → EffectBatch", + boundary: "HostCall → HostEvent → app command → UI update", } } @@ -875,7 +875,7 @@ fn local_panel(demo: &DemoState) -> LocalPanel { LocalPanel { status: demo.local_journal.status(), projection: demo.local_journal.projection.summary.clone(), - boundary: "LocalCommand → LocalEvent → Projection → EffectBatch", + boundary: "LocalCommand → LocalEvent → Projection → UI update", } } diff --git a/examples/techdemo/templates/app_shell.heml b/examples/techdemo/templates/app_shell.heml index 3f8d14b..416a2a2 100644 --- a/examples/techdemo/templates/app_shell.heml +++ b/examples/techdemo/templates/app_shell.heml @@ -5,7 +5,6 @@ hemx Techdemo - diff --git a/examples/techdemo/tests/e2e.rs b/examples/techdemo/tests/e2e.rs index 0f596b5..351a7bc 100644 --- a/examples/techdemo/tests/e2e.rs +++ b/examples/techdemo/tests/e2e.rs @@ -314,7 +314,7 @@ fn product_is_e2e_working_over_http() { assert_payload_contains(&local_batch, "1 commands, 1 events, 1 projected sets"); assert_payload_contains( &local_batch, - "Projected set 1 with 8 reps from commands/events; no DOM patch or EffectBatch was stored", + "Projected set 1 with 8 reps from commands/events; no DOM patch or UI update was stored", ); assert_payload_contains( &local_batch,