@financial-times/n-feedback

9.1.0 • Public • Published

n-feedback

Displays a feedback button when clicked, allows you to fill in a form with feedback questions. This questions come from "next-feedback-api" that get it from "qualtrics configured survey"

Demo

make install
make demo

Go to http://local.ft.com:5005/

alt text

Test locally in other apps

Use npm link to test the dependency locally

cd ~/n-feeback 
npm link
cd ~/some-next-app
npm link n-feedback        

Usage

npm install --save @financial-times/n-feedback

Use handlebars template

{{ > n-feedback/templates/feedback-container}}

Deployment

Create a release tag in Github following the Semver convention and prefixing the release number with v. This will make this available as a NPM package at that version.

If you are wanting to deploy to FT.com, after creating the tag you will need to coordinate the release for these repos. You should create a pull request updating the package version in the repo's package.json.

Execute test

make test        

Monitoring

To monitoring we can check the grafana panel of "next-feedback-api" to check if the requests still working or if we have an increment of errors on it next-feedback-api

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/n-feedback

Weekly Downloads

146

Version

9.1.0

License

MIT

Unpacked Size

745 kB

Total Files

50

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson