pub fn render_partial(
protocol: &WebUIProtocol,
state: Value,
entry_id: &str,
request_path: &str,
inventory_hex: &str,
) -> ValueExpand description
Produce a complete JSON partial response for client-side navigation.
Combines route templates, inventory, and matched route chain into a single
JSON value. Host servers include this directly in their response alongside
the application state.
Returns a serde_json::Value object with fields:
state: the application state passed throughtemplateStyles: module CSS definition tags for inventory-new components (empty for Link/Style)templates: client template payloads the client doesn’t already have (inventory-filtered)inventory: updated hex bitmaskpath: the request pathchain: matched route chain array