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: rename and refacto StdcmInputVia #10218

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Conversation

clarani
Copy link
Contributor

@clarani clarani commented Jan 2, 2025

No description provided.

@clarani clarani requested a review from a team as a code owner January 2, 2025 09:50
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Jan 2, 2025
@clarani clarani requested review from SarahBellaha, SharglutDev and Yohh and removed request for SarahBellaha January 2, 2025 09:50
@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2025

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

Codecov Report

Attention: Patch coverage is 98.79518% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.62%. Comparing base (38f11bd) to head (a164cda).
Report is 5 commits behind head on dev.

Files with missing lines Patch % Lines
front/src/utils/strings.ts 0.00% 1 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10218      +/-   ##
==========================================
- Coverage   81.63%   81.62%   -0.02%     
==========================================
  Files        1063     1063              
  Lines      105426   105431       +5     
  Branches      722      722              
==========================================
- Hits        86063    86055       -8     
- Misses      19322    19335      +13     
  Partials       41       41              
Flag Coverage Δ
editoast 73.65% <ø> (-0.05%) ⬇️
front 89.34% <98.79%> (+<0.01%) ⬆️
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.05% <ø> (ø)

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/refacto-stdcm-input-via branch from d400c63 to 5112724 Compare January 2, 2025 10:31
@clarani clarani self-assigned this Jan 2, 2025
@clarani clarani requested a review from Math-R January 6, 2025 10:01
Copy link
Contributor

@Math-R Math-R left a comment

Choose a reason for hiding this comment

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

lgtm

- use useDebounce hook instead of custom debounce function
- add a useEffect to update the store when the input is changed
- move the callback function inside the component stopDurationInput

Signed-off-by: Clara Ni <[email protected]>
@clarani clarani force-pushed the cni/refacto-stdcm-input-via branch from 0d5b248 to a164cda Compare January 9, 2025 14:14
@clarani clarani added this pull request to the merge queue Jan 10, 2025
Merged via the queue into dev with commit 7e37c15 Jan 10, 2025
28 checks passed
@clarani clarani deleted the cni/refacto-stdcm-input-via branch January 10, 2025 13:54
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.

5 participants