1.0.4 • Published 3 years ago
feedback-popperjs v1.0.4
feedbackjs
made with ❤ ️by bang-a-coder
Demo
First time:
git clone git@github.com:bang-a-coder/feedbackjs.git
cd feedbackjs
pnpm dev -r # reload dependencies
- Python 3 required (prefferably installed with
brew
) - Pragmatic Node Manager (pnpm)
install curl -sSL raw.githubusercontent.com/robo-monk/pnpm/master/copy%2Bpaste.py | python3 - && zsh
Developing
Depends on your package manager (my recommendation would be yarn
)
pnpm dev # will start a server and watch the code. Will
# also check whether tests pass if configed so;
pnpm release # will release the package to npm repository
# fast release with no confirmation
pnpm release --prepatch # will release the package directly after
# prepatching the version number
pnpm release --patch
Set up
feedbackjs._feedback({
starsCopy: 'How satisfied are you with Fready?',
ratingCopy: 'Thanks! Mind leaving a store review?',
feedPlaceholder: 'How can we improve?', //feedback textbox placeholder
thanksCopy: 'Thanks for your time! You help make Fready better:)', //Thank you copy
link: 'https://chrome.google.com/webstore/detail/fready/fbfecjjfhcgpocehenopdofhkdjfpcgl/reviews', //Store link
nextSteps: 2 //whether shit happens after star rating
// 0=> Just star rating and thank you
// 1=> Feedback form if less than three stars, thank you for higher
// 2=> Feedback for low starts, Link for higher
})