Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component "unité" #46

Open
jbdesbas opened this issue Sep 28, 2023 · 0 comments
Open

Component "unité" #46

jbdesbas opened this issue Sep 28, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jbdesbas
Copy link
Member

Concevoir un composant "intelligent" permettant de sélectionner des unités par boutons radio.

En entré : une unité (t, hab, kg, déchetterie, euro, etc..)
Sortie : d'autres unités liées (t -> kg, t/hab, kg/hab) et la fonction permettant de convertir les valeurs dans cette unité ((x) => x*1000, (x,nb_hab) => x/nb_hab)

si l'unité est l'habitant, proposer un taux (%) et non des (habitant/habitant).
Si l'unité n'est pas standard (déchetterie, centre de tri, etc..), proposer seulement unité/hab

Le composant doit permettre d'ajouter d'autres unités génériques (km, kWh, minutes, etc..).

@jbdesbas jbdesbas added the enhancement New feature or request label Sep 28, 2023
@jbdesbas jbdesbas self-assigned this Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant