A website listing most common human machine interaction questionnaires for filtering, sorting and assessing questionnaires for your needs.
- Node.js (v18 or higher recommended)
- npm (comes with Node.js)
- Git
-
Clone the repository:
git clone https://github.com/tha-embedded-systems-lab/HMI-Questionnaires.git cd HMI-Questionnaires -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to the URL shown in the terminal (typically
http://localhost:5173/HMI-Questionnaires/). This should also be displayed in the terminal output. -
Make your changes - the development server will automatically reload when you save files
-
Run linting to check your code:
npm run lint
This project uses Husky to enforce code quality standards before commits.
Husky is automatically activated when you run npm install. This executes the
prepare script which initializes Husky hooks.
If hooks are not working, you can manually activate Husky:
npm run prepareThis will set up the Git hooks in your local repository.
The following checks run automatically on every commit:
- Linting: ESLint runs on all
.tsand.tsxfiles to ensure code quality - Commit message validation: Commitlint ensures commit messages follow the Conventional Commits format
If any of these checks fail, the commit will be blocked. Fix the issues and try committing again.
Commit Message Format:
<type>(<scope>): <subject>
Examples:
feat: add new questionnaire filter
fix: resolve modal display issue
docs: update README with setup instructions
Common types: feat, fix, docs, style, refactor, test, chore
-
Ensure all changes are committed and pushed to the main branch
-
Create and push a new git tag with the version number:
git tag <major>.<minor>.<patch> git push --tags
Update the
package.jsonversion field. -
Deploy to GitHub Pages:
npm run deploy
This will automatically build the project and publish it to the
gh-pagesbranch
Note: The version number and date displayed in the application are automatically extracted from the latest git tag during the build process.
We welcome contributions to this project! If you have suggestions for improvements or new features, please open an issue or submit a pull request.
In case you are not familiar with GitHub or Git version control, please have a look at the detailed guide on how to contribute to this project in contribution guide
Questionnaire data is stored in the
src/questionnaires.ts file. If you find any
inaccuracies or outdated information, please open a pull request with the
necessary updates.
In case a questionnaire is missing, feel free to open a pull request with the details.