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

front: fix margin and improve stopfor input in timesstops table #9867

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

Synar
Copy link
Contributor

@Synar Synar commented Nov 26, 2024

First commit : fix bug where setting an invalid margin, then a valid margin, would not register the valid margin in the path
Close #9882

Second commit : enable the user to input timestops with second unit, which were otherwise silently discarded upon saving the table

@Synar Synar requested a review from a team as a code owner November 26, 2024 15:11
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Nov 26, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 26, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 12.50000% with 14 lines in your changes missing coverage. Please review.

Project coverage is 38.21%. Comparing base (68c3e14) to head (052fbca).
Report is 25 commits behind head on dev.

Files with missing lines Patch % Lines
front/src/modules/timesStops/TimesStopsInput.tsx 0.00% 12 Missing ⚠️
front/src/modules/timesStops/helpers/utils.ts 50.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #9867      +/-   ##
==========================================
- Coverage   38.23%   38.21%   -0.02%     
==========================================
  Files         995      995              
  Lines       91883    91881       -2     
  Branches     1189     1190       +1     
==========================================
- Hits        35127    35115      -12     
- Misses      56302    56312      +10     
  Partials      454      454              
Flag Coverage Δ
editoast 73.28% <ø> (-0.05%) ⬇️
front 20.23% <12.50%> (+<0.01%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 86.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Synar Synar changed the title fix margin and improve stopfor input in timesstops table front: fix margin and improve stopfor input in timesstops table Nov 27, 2024
Copy link
Contributor

@clarani clarani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM ✅

I just need to test the 1st bug

@Synar Synar requested review from Math-R and RomainValls November 27, 2024 22:45
Copy link
Contributor

@clarani clarani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

Copy link
Contributor

@RomainValls RomainValls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Synar Synar added this pull request to the merge queue Nov 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2024
@clarani clarani added this pull request to the merge queue Nov 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2024
@clarani clarani added this pull request to the merge queue Nov 28, 2024
Merged via the queue into dev with commit 78c1d2b Nov 28, 2024
27 checks passed
@clarani clarani deleted the ali/fix-improve-margin-stopfor-input-in-timesstops-table branch November 28, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

front :margin input bug in timestops table
4 participants