Quand une variable est destinée à être saisie par l'utilisateur, on veut qu'il saisisse 50, pas 0.5 pour exprimer 50%. On pourrait lui faire saisir 50 et convertir en direct vers la vraie valeur de 0.5, mais c'est compliqué aujourd'hui dans reduxForm (l'attribut "normalize" ne suffit pas, car la valeur 0.5 sera visible après un bref instant de debounce). Je pense qu'il serai quand même mieux que nous stockions les variables qui sont des ratios comme 0.5 et que l'UI se charge d'afficher et de faire saisir ces valeurs sous forme 50%. |
||
---|---|---|
.vscode | ||
cypress | ||
source | ||
test | ||
.babelrc | ||
.eslintrc.yaml | ||
.flowconfig | ||
.gitconfig | ||
.gitignore | ||
.prettierrc | ||
_redirects | ||
circle.yml | ||
componentTestSetup.js | ||
CONTRIBUTION.md | ||
crédits-icônes.yaml | ||
cypress.json | ||
formeJuridique.yaml | ||
index.html | ||
LICENSE | ||
manifest.webmanifest | ||
netlify.toml | ||
package.json | ||
postcss.config.js | ||
README.md | ||
serve.infrance.json | ||
serve.mon-entreprise.json | ||
yarn.lock |
This repository powers mycompanyinfrance.fr and mon-entreprise.fr.
It's a React, Redux, Webpack website hosted on Netlify with no backend.
The hiring simulator, available on both websites, embeds a model of the french tax system as a YAML domain specific language. It enables displaying the computing rules on the Web and having a single source of logic for both the computation engine (a JS library) and the generated end-user conversation-like form.
The engine with the French tax law is available as a NPM module and explained on the wiki.
Developed by the french public startup incubator, beta.gouv.fr, with the help of the social security contributions collector, URSSAF.
Most of the documentation (including issues and the wiki) is written in french, please raise an issue if you are interested and do not speak French.
Contribute
If you want to contribute to this application, please check out CONTRIBUTION.md.
Supported browsers
The website will run well on modern browsers. Internet Explorer is not supported anymore (it should work but with visual glitches and performance issues).
This compatibility is tested thanks to BrowserStack's free open source program.