Mountain/Vine/Server/Notification/WebviewReady.rs
1//! Cocoon → Mountain `WebviewReady` notification.
2//! Fires when a webview the extension owns has finished loading its
3//! entry HTML. Log-only today - Sky's webview shim handles the DOM-side
4//! readiness independently. Kept named so the wire method is
5//! observable and doesn't fall to `notif-drop`.
6
7use serde_json::Value;
8
9use crate::{Vine::Server::MountainVinegRPCService::MountainVinegRPCService, dev_log};
10
11pub async fn WebviewReady(_Service:&MountainVinegRPCService, Parameter:&Value) {
12 dev_log!(
13 "grpc",
14 "[MountainVinegRPCService] Webview ready: handle={}",
15 Parameter.get("handle").and_then(Value::as_str).unwrap_or("?")
16 );
17}