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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

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

All modified and coverable lines are covered by tests ✅

Project coverage is 81.43%. Comparing base (1e79fc2) to head (5112724).

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #10218      +/-   ##
==========================================
- Coverage   81.43%   81.43%   -0.01%     
==========================================
  Files        1057     1057              
  Lines      104212   104217       +5     
  Branches      720      720              
==========================================
- Hits        84870    84866       -4     
- Misses      19300    19309       +9     
  Partials       42       42              
Flag Coverage Δ
editoast 73.59% <ø> (-0.03%) ⬇️
front 89.18% <100.00%> (+<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.

- 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 d400c63 to 5112724 Compare January 2, 2025 10:31
@clarani clarani self-assigned this Jan 2, 2025
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.

2 participants