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

Suppression de redux-form #671

Merged
merged 7 commits into from Sep 23, 2019
Merged

Suppression de redux-form #671

merged 7 commits into from Sep 23, 2019

Commits on Sep 17, 2019

  1. Gestion de l'état "situation" avec nos propres actions

    En vue de la suppression de Redux-form, ce commit crée deux nouvelles
    actions : UPDATE_SITUATION et UPDATE_PERIOD qui permettent de gérer le
    state de la situation, en retrouvant le même résulat qu'avec l'ancienne
    implémentation au niveau du `formattedSituationSelector`
    mquandalle committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    7a5beb9 View commit details
    Browse the repository at this point in the history
  2. 🔥 Suppression de redux-form

    Supprime aussi redux-batched-action. Le code résultant est plus concis
    (alors que l'on supprime une dépendance !), et plus clair car il y a moins
    d'indirections pour se conformer aux API de redux-form.
    mquandalle committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    3fbd94b View commit details
    Browse the repository at this point in the history
  3. Ajout du lint pour les hooks React

    Comme recommandé dans la documentation des hooks React, ajout des deux
    linters suivants : react-hooks/rules-of-hooks et react-hooks/exhaustive-deps
    
    Mise à jour des composants, en particulier les useEffect pour y spécifier
    toutes les dépendances.
    mquandalle committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    dbbb67e View commit details
    Browse the repository at this point in the history
  4. Input permanent pour les objectifs du simulateur

    Nous alternions avant entre un <span /> et un <input /> selon le contexte
    
    Fixes #558
    mquandalle committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    8c9a401 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2019

  1. Ajout des règles dans le state Redux

    Déplace la logique de changement de période d'un component vers un reducer
    mquandalle committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    0ddc2d0 View commit details
    Browse the repository at this point in the history
  2. 🐛 Correction formatage de l'AnimatedValue

    Suppression de l'AnimatedValue pour l'objectif courant
    Simplification du code de TargetSelection
    Corrections CSS
    mquandalle committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    7a965e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Configuration menu
    Copy the full SHA
    ffd65ae View commit details
    Browse the repository at this point in the history