RON Architecture

Contexts, Loader, & Telemetry

Detailed technical documentation of global contexts, snapshot synchronization, network loaders, and session event metrics.

β€’

Maintain seamless real-time collaborations by leveraging React Context architectures, unified remote database loaders, and secure telemetry auditing streams.

1. Signing Room Context (appointments/\[id\]/signing-room/SigningRoomContext.tsx)

Maintains the core, top-level state of the active Remote Online Notarization (RON) session:

  • Snapshot Storage β€” Holds the SigningRoomSnapshot containing signer details, active notary commission profiles, loaded documents, and branding tokens.
  • Snapshot Updater β€” Exposes unified callback interfaces to mutate session parameters on-the-fly without component re-mounting.

2. Annotations Context (appointments/\[id\]/signing-room/SigningRoomAnnotationsContext.tsx)

Coordinates document tag states, websocket broadcasts, and user interactions:

  • Tombstone Dropping β€” Leverages local reference lists to ignore deleted annotations returned by slow network updates.
  • Conflict Monitoring β€” Compares client-side edits against server revisions to flag overlapping cursor coordinates.
  • Upload Progress Tracker β€” Exposes indicators (idle, saving, saved, error) to display save state overlays to users.

3. Data Loader Service (appointments/\[id\]/signing-room/signingRoomLoaderService.ts)

Encapsulates all REST API interactions required to initialize the signing room:

  • Session Mounting β€” Fetches full room configuration payloads including attendee tokens, custom brand layouts, and state credentials.
  • Document Refresh β€” Requests updated file logs to check if signers uploaded supplemental documents mid-session.

4. Telemetry and Audit Logging (appointments/\[id\]/signing-room/telemetry.ts)

Safeguards compliance records and tracks room health metrics:

  • WebRTC Events β€” Captures network drops, audio track mutes, and screen-sharing initialization errors.
  • Client Actions β€” Logs time-stamped actions (e.g. document finalize clicks, invite link copies, signature placement) to the backend database to build the legally mandated notarization audit trail.

Open these pages in Notary Central