2.0.126 • Published 2 months ago

@thaleslabs/chat-widget v2.0.126

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Easy creation of embeddable widgets - https://seriousben.github.io/embeddable-react-widget

CircleCI codecov Renovate enabled

Features

  • Full ES6/ES2015 support (with Babel)
  • Package fonts, css, json, javascripts together into one single package (with Webpack)
  • No css styling conflicts between the host page and the widget (with https://github.com/premasagar/cleanslate)
  • Bookmarklet supported for fast testing and demonstration
  • User theming of widget
  • Obfuscating of the widget code
  • Unit Tested with code coverage enabled
  • Continuous Integration ready

Demo

Running the widget

Install dependencies

$ npm install

Start the development server

$ npm start
... server running at http://localhost:8080/

Run tests

$ npm test
... test output

Production build

$ npm run build
... create files in /dist

Roadmap

  • Widget as react app - index.html works (webpack, babel, react)
  • React widget (widget builder)
  • Webpack changed to output a library
  • Add tests
  • Add circleci integration
  • Add codecov integration for codecoverage
  • Production Build
  • Minified
  • Add greenkeeper
  • Bookmarklet
  • Reset / Cleanslate / No-conflicts of styles
  • Obfuscation
  • Theming support
  • Storyboard and docs
  • Integrate eslint with webpack

Background

What is an embeddable widget?

  • Usable using a simple <script> tag
  • Configurable with code
  • Themable

Why not in an iframe?

  • Interaction between the frame and the hosting page is tricky and not recommended
  • You can only display content within the iframe
  • iframe and content resizing is impossible
  • iframe sandboxing can result in missing functionalities

Read more

Read more about about widgets, react and scoping of css.

2.0.126

2 months ago

2.0.125

2 months ago

2.0.123

4 months ago

2.0.122

5 months ago

2.0.121

5 months ago

2.0.120

5 months ago

2.0.108

8 months ago

2.0.107

8 months ago

2.0.106

8 months ago

2.0.105

8 months ago

2.0.104

8 months ago

2.0.103

8 months ago

2.0.102

8 months ago

2.0.101

8 months ago

2.0.100

8 months ago

2.0.109

8 months ago

2.0.119

5 months ago

2.0.118

5 months ago

2.0.117

7 months ago

2.0.116

8 months ago

2.0.115

8 months ago

2.0.99

8 months ago

2.0.114

8 months ago

2.0.113

8 months ago

2.0.97

10 months ago

2.0.112

8 months ago

2.0.98

9 months ago

2.0.111

8 months ago

2.0.95

10 months ago

2.0.110

8 months ago

2.0.96

10 months ago

2.0.93

10 months ago

2.0.94

10 months ago

2.0.91

10 months ago

2.0.92

10 months ago

2.0.90

11 months ago

2.0.79

12 months ago

2.0.78

12 months ago

2.0.75

12 months ago

2.0.76

12 months ago

2.0.73

12 months ago

2.0.74

12 months ago

2.0.71

12 months ago

2.0.72

12 months ago

2.0.70

12 months ago

2.0.88

12 months ago

2.0.86

12 months ago

2.0.87

12 months ago

2.0.84

12 months ago

2.0.85

12 months ago

2.0.82

12 months ago

2.0.83

12 months ago

2.0.80

12 months ago

2.0.81

12 months ago

2.0.68

1 year ago

2.0.69

12 months ago

2.0.66

1 year ago

2.0.67

1 year ago

2.0.65

1 year ago

2.0.57

1 year ago

2.0.58

1 year ago

2.0.55

1 year ago

2.0.56

1 year ago

2.0.53

1 year ago

2.0.54

1 year ago

2.0.51

1 year ago

2.0.52

1 year ago

2.0.50

1 year ago

2.0.39

1 year ago

2.0.48

1 year ago

2.0.49

1 year ago

2.0.46

1 year ago

2.0.47

1 year ago

2.0.45

1 year ago

2.0.64

1 year ago

2.0.42

1 year ago

2.0.43

1 year ago

2.0.40

1 year ago

2.0.63

1 year ago

2.0.41

1 year ago

2.0.60

1 year ago

2.0.61

1 year ago

2.0.38

1 year ago

2.0.36

1 year ago

2.0.35

1 year ago

2.0.34

1 year ago