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: align compute margin to spec in timestops table #9823

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

Synar
Copy link
Contributor

@Synar Synar commented Nov 22, 2024

Close #9737
Also partially fix #8959

Depend on #9642

@Synar Synar force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch from 0048fba to 727c5e5 Compare November 22, 2024 15:40
@Synar Synar changed the title align compute margin to spec in timestops table front: align compute margin to spec in timestops table Nov 23, 2024
@Synar Synar force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch from 727c5e5 to 7046a03 Compare November 25, 2024 15:27
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Nov 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 25, 2024

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

Codecov Report

Attention: Patch coverage is 55.29412% with 38 lines in your changes missing coverage. Please review.

Project coverage is 38.21%. Comparing base (003ece7) to head (b323bd2).
Report is 5 commits behind head on dev.

Files with missing lines Patch % Lines
...c/modules/timesStops/hooks/useTimeStopsColumns.tsx 0.00% 23 Missing ⚠️
...src/modules/timesStops/hooks/useOutputTableData.ts 0.00% 15 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #9823      +/-   ##
==========================================
- Coverage   38.22%   38.21%   -0.01%     
==========================================
  Files         995      995              
  Lines       91910    91954      +44     
  Branches     1193     1190       -3     
==========================================
+ Hits        35128    35138      +10     
- Misses      56327    56361      +34     
  Partials      455      455              
Flag Coverage Δ
editoast 73.32% <ø> (-0.02%) ⬇️
front 20.21% <55.29%> (+0.01%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.49% <ø> (ø)
tests 87.00% <ø> (ø)

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 force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch from 7046a03 to d7fd861 Compare November 26, 2024 16:26
@Synar Synar marked this pull request as ready for review November 26, 2024 16:27
@Synar Synar requested a review from a team as a code owner November 26, 2024 16:27
@Synar Synar force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch 5 times, most recently from b7f80a0 to 2fdc90f Compare November 27, 2024 15:04
Copy link
Contributor

@louisgreiner louisgreiner left a comment

Choose a reason for hiding this comment

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

Is this behavior normal ? Theoretical margin is bold for some PRs, but not bold for the rest of the PRs

image

image

Edit: yes it is ->

  • bold : when user has forced 0% of margin
  • not bold : when the user did not set margin, but the PR is especially asked for the pathfinding

Copy link
Contributor

@louisgreiner louisgreiner left a comment

Choose a reason for hiding this comment

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

Tested and conform to the specs 😄

@Synar Synar requested a review from a team as a code owner November 27, 2024 17:58
@Synar Synar force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch 3 times, most recently from 98496c3 to b08cc74 Compare November 27, 2024 22:39
@Synar Synar requested a review from Maymanaf November 27, 2024 22:40
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 ✅

@Synar Synar force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch from b08cc74 to 0e92d6e Compare November 28, 2024 10:12
@Synar Synar requested a review from Maymanaf November 28, 2024 10:12
Copy link
Contributor

@Maymanaf Maymanaf left a comment

Choose a reason for hiding this comment

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

LGTM for e2e tests ✅

Signed-off-by: Alice Khoudli <alice.khoudli@polytechnique.org>
Signed-off-by: Alice Khoudli <alice.khoudli@polytechnique.org>
@Synar Synar force-pushed the ali/align-compute-margin-to-spec-in-timestops-table branch from 0e92d6e to b323bd2 Compare November 28, 2024 11:01
@Synar Synar enabled auto-merge November 28, 2024 11:11
@Synar Synar added this pull request to the merge queue Nov 28, 2024
Merged via the queue into dev with commit 329102a Nov 28, 2024
27 checks passed
@Synar Synar deleted the ali/align-compute-margin-to-spec-in-timestops-table branch November 28, 2024 11:32
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.

Improve Margin Display in Timestop Tables Margin bugs and input row deletion bugs
5 participants