Skip to content

Design Documentation

Matthew Mihok edited this page Mar 5, 2017 · 18 revisions

These pages are intended to elaborate on the design decisions and feature-set built and/or planned for the Embedded Client script (mnml-client)

<style type="text/css">table tr, table td, table th { border: 0; }</style>

Lifecycle

  1. Page Load
  2. DOM Content Loaded
  3. Socket attempts connection to API server
  4. Closed state rendered
  5. Socket recieves Operator message or canned initiator
  6. Callout state rendered
  7. User interacts with Client: click, touch
  8. Open state rendered
  9. User interacts with Input box, click, keydown, keypress, etc
  10. Socket sends/recieves messages to and from the Operator

i Disconnection attempts to reconnect 10 times before giving up

Wireframes & States

Terminology

User

Referring to the current user browsing a Minimal Chat enabled webpage, Also referred to as the website visitor.

Operator

The Operator is the person, bot, or integration that receives the communication sent through the Embedded client script

Browser/Embedded Client

Browser client or Embedded client is the Minimal Chat script added to the bottom of a webpage

Clone this wiki locally