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

lmr: putting ma100 as default value in the speedlimittag selector #9987

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

Caracol3
Copy link
Contributor

@Caracol3 Caracol3 commented Dec 9, 2024

closes #9584
Edit: 'No speedLimit tag' should only be displayed in debug mode on stdcm page

@Caracol3 Caracol3 requested review from Math-R and Akctarus December 9, 2024 16:11
@Caracol3 Caracol3 requested a review from a team as a code owner December 9, 2024 16:11
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Dec 9, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2024

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

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.93%. Comparing base (42f1939) to head (1a2ec20).
Report is 1 commits behind head on dev.

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

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #9987   +/-   ##
=======================================
  Coverage   81.93%   81.93%           
=======================================
  Files        1078     1078           
  Lines      107544   107555   +11     
  Branches      733      733           
=======================================
+ Hits        88114    88126   +12     
+ Misses      19391    19390    -1     
  Partials       39       39           
Flag Coverage Δ
editoast 74.39% <ø> (+<0.01%) ⬆️
front 89.42% <100.00%> (+<0.01%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 88.14% <ø> (ø)

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.

@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from b76e9d1 to 1c3dbc1 Compare December 10, 2024 10:08
@Caracol3 Caracol3 requested a review from Math-R December 10, 2024 10:14
Copy link
Contributor

@Akctarus Akctarus left a comment

Choose a reason for hiding this comment

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

Tested, I left a comment but apart that, LGTM !
I approve the PR and let you make the quick fix

@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 1c3dbc1 to 5ea2d08 Compare December 13, 2024 09:20
@Caracol3 Caracol3 requested a review from clarani December 16, 2024 10:14
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 5ea2d08 to 60332dd Compare December 16, 2024 21:25
@Caracol3 Caracol3 requested a review from clarani December 16, 2024 21:25
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 60332dd to 928052a Compare December 17, 2024 15:42
@Caracol3 Caracol3 requested a review from clarani December 17, 2024 15:44
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 928052a to 116ecc9 Compare December 18, 2024 09:45
@Caracol3 Caracol3 requested a review from a team as a code owner December 18, 2024 09:45
Copy link
Contributor

@Yohh Yohh left a comment

Choose a reason for hiding this comment

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

just to clean a little: can you rename the locator codeCompoField to speedLimitTagField

@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch 3 times, most recently from dfef8b1 to b4c4432 Compare December 18, 2024 11:20
@Caracol3 Caracol3 requested a review from Yohh December 18, 2024 11:21
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from b4c4432 to 4673960 Compare December 18, 2024 13:51
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from a4aa06f to 4e734a9 Compare December 19, 2024 14:59
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 8cced31 to 335f5aa Compare January 17, 2025 14:14
@SharglutDev SharglutDev requested a review from clarani January 20, 2025 11:05
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 ✅

@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch 3 times, most recently from ad4fcc7 to 8125119 Compare February 5, 2025 14:44
front/tests/pages/stdcm-page-model.ts Outdated Show resolved Hide resolved
front/tests/pages/stdcm-page-model.ts Outdated Show resolved Hide resolved
front/tests/pages/stdcm-page-model.ts Outdated Show resolved Hide resolved
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch 9 times, most recently from aeb53be to 667ae81 Compare February 6, 2025 13:49
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

@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 5750b14 to 8317bd9 Compare February 6, 2025 17:45
@Caracol3 Caracol3 added this pull request to the merge queue Feb 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2025
@Caracol3 Caracol3 added this pull request to the merge queue Feb 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 7, 2025
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 8317bd9 to 8477d02 Compare February 7, 2025 15:46
- nospeedlimittag is only displayed in debugmode in stdcm
- adapt stdcm tests to be coherent with the default composition code

Signed-off-by: Mathieu <[email protected]>
@Caracol3 Caracol3 force-pushed the mcy/front-lmr-composition-code-with-mandatory-ma100 branch from 8477d02 to 1a2ec20 Compare February 10, 2025 06:34
@Caracol3 Caracol3 added this pull request to the merge queue Feb 10, 2025
Merged via the queue into dev with commit 1a2ec20 Feb 10, 2025
53 checks passed
@Caracol3 Caracol3 deleted the mcy/front-lmr-composition-code-with-mandatory-ma100 branch February 10, 2025 08:04
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.

Make composition code mandatory with default MA100 in LMR
7 participants