@24gate/feedback-support

0.1.56 • Public • Published

FeedbackSupport

Testing

./public/index.html - development template

shows page with lorem ipsum, shows how to use in real project

Download tusd client and launch to test file uploads: https://github.com/tus/tusd/releases/tag/v1.10.0

Development

npm run start - opens localhost:3000, script ./src/index.tsx

launch tusd client, base config - upload to http://0.0.0.0:1080/files/

Publishing

webpack --config webpack.publish.js

./index.html - publish template

shows page with lorem ipsum, shows how to use in real project

Embed

TODO: where it will be hosted?

embed feedback dist script

<script src="serverUrl/feedback-support.js"></script>

Run

<script type="text/javascript">
  FeedbackSupport.run(config)
</script>

Config

interface Config {
    type?: Array<{label: string, value: string}>
    color?: string
    headers?: any
    url: string
    pageData: any
  }

TODO

  • better send button label with recorder error

Readme

Keywords

none

Package Sidebar

Install

npm i @24gate/feedback-support

Weekly Downloads

1

Version

0.1.56

License

none

Unpacked Size

849 kB

Total Files

34

Last publish

Collaborators

  • xarameer
  • mcmatak