Contributing
Branching model (Gitflow)
The repository follows Gitflow:
-
main— official release history. -
develop— integration branch for features. -
feature/*— one branch per feature, forked fromdevelop, merged back intodevelop. -
bugfix/*— a scoped fix branch (the repo history usesbugfix/dev-XXXXnames). -
release/*— forked fromdevelopfor release stabilisation; merged intomain(tagged) and back intodevelop. -
hotfix/*— forked frommainto patch a release; merged into bothmainanddevelop.
Commit messages
Commits reference the JIRA key (e.g. refs: DEV-1234 / DEV-1234: <summary>). Keep the subject
short and in English.
Before you push
npm test # Vitest unit tests
npm run build # confirm the production build compiles
Run Prettier so the diff matches the repo’s formatting (100 columns, single quotes).
Working with reusable components
Shared, standalone form controls live under src/app/components/base (ft-common-*). Prefer
extending or reusing these over adding raw HTML controls, so behaviour (validation, disabled/loading
states, tooltips) stays consistent.