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

table, trains after midnight #8334

Merged
merged 4 commits into from
Sep 17, 2024
Merged

table, trains after midnight #8334

merged 4 commits into from
Sep 17, 2024

Commits on Sep 17, 2024

  1. front: write unit tests for formatSchedule

    Signed-off-by: Valentin Chanas <[email protected]>
    anisometropie committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    abe5cae View commit details
    Browse the repository at this point in the history
  2. front: write unit tests for transformRowDataOnChange

    No change in behavior, just testing the previous behavior of the simulation input table, when a value changes.
    
    Signed-off-by: Valentin Chanas <[email protected]>
    anisometropie committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    3926ee0 View commit details
    Browse the repository at this point in the history
  3. front: refactor upsertViaFromSuggestedOP

    - using lodash pick to simplify the object construction
    - no need to lookup twice to find the corresponding pathStep
    - we don’t need to create copies of the pathSteps array since we are using immer to handle immutability for us
    - extracting the reducer logic in buildPathStepFromSuggestedOp to be reused
    
    Signed-off-by: Valentin Chanas <[email protected]>
    anisometropie committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c98d1b3 View commit details
    Browse the repository at this point in the history
  4. front: handle train schedule with times exceeding midnight

    Signed-off-by: Valentin Chanas <[email protected]>
    anisometropie committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    143da9a View commit details
    Browse the repository at this point in the history