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: move grid margins props from commonConf to stdcmConf reducer #10203

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

clarani
Copy link
Contributor

@clarani clarani commented Dec 30, 2024

✅ To merge after #10202

@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 30, 2024
@clarani clarani self-assigned this Dec 30, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 30, 2024

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

Codecov Report

Attention: Patch coverage is 88.23529% with 6 lines in your changes missing coverage. Please review.

Project coverage is 81.41%. Comparing base (de25aca) to head (855a51f).
Report is 8 commits behind head on dev.

Files with missing lines Patch % Lines
front/src/reducers/osrdconf/stdcmConf/index.ts 80.64% 6 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10203      +/-   ##
==========================================
- Coverage   81.44%   81.41%   -0.03%     
==========================================
  Files        1058     1058              
  Lines      104243   104248       +5     
  Branches      724      724              
==========================================
- Hits        84900    84875      -25     
- Misses      19301    19331      +30     
  Partials       42       42              
Flag Coverage Δ
editoast 73.55% <ø> (-0.08%) ⬇️
front 89.16% <88.23%> (-0.01%) ⬇️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
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.

@clarani clarani force-pushed the cni/move-grid-margin-in-stdcm-reducer branch from 7e9b091 to e613c85 Compare January 2, 2025 08:50
@clarani clarani marked this pull request as ready for review January 2, 2025 08:51
@clarani clarani requested a review from a team as a code owner January 2, 2025 08:51
front/src/reducers/osrdconf/types.ts Outdated Show resolved Hide resolved
front/src/reducers/osrdconf/types.ts Outdated Show resolved Hide resolved
front/src/reducers/osrdconf/stdcmConf/index.ts Outdated Show resolved Hide resolved
@clarani
Copy link
Contributor Author

clarani commented Jan 2, 2025

@SharglutDev I fixed some of your comments related to cleaning AllowanceValue type in this PR, since it was a bit out of scope 👍

@clarani clarani requested a review from SharglutDev January 2, 2025 15:19
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

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

Lgtm and tested

@clarani clarani force-pushed the cni/move-grid-margin-in-stdcm-reducer branch from 4cc018e to 4b0f9e3 Compare January 3, 2025 08:36
@clarani clarani enabled auto-merge January 3, 2025 08:36
@clarani clarani added this pull request to the merge queue Jan 3, 2025
Also rename stdcmStandardAllowance and group all the margins values together in the store

Signed-off-by: Clara Ni <[email protected]>
@clarani clarani removed this pull request from the merge queue due to a manual request Jan 3, 2025
@clarani clarani force-pushed the cni/move-grid-margin-in-stdcm-reducer branch from 4b0f9e3 to 855a51f Compare January 3, 2025 09:06
@clarani clarani enabled auto-merge January 3, 2025 09:06
@clarani clarani added this pull request to the merge queue Jan 3, 2025
Merged via the queue into dev with commit 9f18376 Jan 3, 2025
27 checks passed
@clarani clarani deleted the cni/move-grid-margin-in-stdcm-reducer branch January 3, 2025 09:41
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.

3 participants