Skip to main content

Crate sim_lib_view_bridge

Crate sim_lib_view_bridge 

Source
Expand description

Reversible BRIDGE packet review surface for SIM Web.

The surface renders one BridgePacket as Scene data and decodes ordinary intent/edit-field values into typed BRIDGE collaboration parts. Human and agent operators edit the same packet expression: a patch, review, vote, or receipt is a BRIDGE part record, not a separate browser-side protocol.

Re-exports§

pub use cookbook::packet_review_demo;

Modules§

cookbook
Cookbook fixtures for the BRIDGE packet review surface.

Structs§

BridgePacketSurfaceCodec
Reversible surface codec for BRIDGE packet review.

Constants§

BRIDGE_PACKET_SURFACE_CODEC_ID
Stable id for the BRIDGE packet review surface codec.

Functions§

bridge_packet_edit
Decodes one edit intent against packet into a typed BRIDGE part record.
bridge_packet_view
Renders packet through the BRIDGE packet surface.
patch_edit_intent
Builds a patch edit intent for the packet review surface.
receipt_edit_intent
Builds a receipt edit intent for the packet review surface.
review_edit_intent
Builds a review edit intent for the packet review surface.
vote_edit_intent
Builds a vote edit intent for the packet review surface.