Skip to content

Latest commit

 

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup and run

Setup:

Compiles app in /public folder

yarn
yarn build 

Run with the watcher

Starts the test page on localhost:5173 and auto-compile changed files.

yarn
yarn dev

Options

Configure Bright Pattern instance domain

You need to provider bpatternDomain URL parameter to provide domain of your instance (tenant URL).

Comm.Widget 1.0 vs Comm.Widget 2.0

Parameter version determines which Comm.Widget and JS API version will be used. Available values: 1.0 or 2.0. It uses version 2.0 by default

No Comm.Widget UI

You can switch between view with Communicator app and without by adding the standalone URL search query.

Disable new interaction popup

In order to disable new interaction popup from Agent Helper application, you need to add no-popup to the URL string.

Example:

API with Communicator app:

  • http://localhost:5173?bpatternDomain=example.brightpattern.com

API for Comm.Widget 1.0:

  • http://localhost:5173?bpatternDomain=example.brightpattern.com&version=1.0

API for Comm.Widget 2.0:

  • http://localhost:5173?bpatternDomain=example.brightpattern.com&version=2.0

Standalone Comm.Widget 1.0 API (without Comm.Widget UI)

  • http://localhost:5173?bpatternDomain=example.brightpattern.com&standalone=true&version=1.0

Standalone Comm.Widget 2.0 API (without Comm.Widget UI)

  • http://localhost:5173?bpatternDomain=example.brightpattern.com&standalone=true

Disabled popup

  • http://localhost:5173?bpatternDomain=example.brightpattern.com&no-popup=true

Standalone + disabled popup

  • http://localhost:5173?bpatternDomain=example.brightpattern.com&standalone=true&no-popup=true

About

Example page demonstrating usage of new CRM adapter API as provided by NewAD branch

Resources

Stars

0 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages