This project is a PatternFly React extension that products can use to collect feedback from users. To view examples of this extension’s use, view its documentation on PatternFly.
Yarn is used to develop and build user feedback. To install dependencies for this project, use the yarn install
terminal command:
yarn install
Once dependencies are installed, you can build user feedback locally using the yard build
terminal command:
yarn build
The development server runs and develops user feedback, and also contains documentation and working examples. To start the development server, use the yarn start
terminal command:
yarn start
User feedback is tested with Jest and the React testing library. To run unit tests, use the yarn test
terminal command:
yarn test
ESLint is used to analyze user feedback’s source code to flag potential quality errors. This also ensures that all contributors follow the same best practices. To run the linter, use the yarn lint
terminal command:
yarn lint
Accessibility (a11y) tests are used to ensure that user feedback meets the same a11y guidelines as PatternFly. To run a11y tests, you must build and serve its documentation by using the yarn build:docs
and yarn serve:docs
terminal commands:
yarn build:docs
yarn serve:docs
In a new terminal window, use the yarn test:a11y
to run accessibility tests:
yarn test:a11y
Once the accessibility tests have finished running, you can locally view the generated report using the the yarn serve:a11y
terminal command:
yarn serve:a11y
When commiting changes to this repo follow the semantic release guidelines.