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: remove rolling stock custom hook where unnecessary #9878

Merged

Conversation

theocrsb
Copy link
Contributor

In some places, we use a custom hook making an api call when it's possible to use only the rolling stock id from the store

In some places, we use a custom hook making an api call when it's possible to use only the rolling stock id from the store

Signed-off-by: theocrsb <[email protected]>
@theocrsb theocrsb requested review from clarani and Akctarus November 27, 2024 15:33
@theocrsb theocrsb requested a review from a team as a code owner November 27, 2024 15:33
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Nov 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2024

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

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 38.19%. Comparing base (ab6cdbb) to head (6b4b9c0).
Report is 9 commits behind head on dev.

Files with missing lines Patch % Lines
...pathfinding/components/Pathfinding/TypeAndPath.tsx 0.00% 5 Missing ⚠️
...pathfinding/components/Pathfinding/Pathfinding.tsx 0.00% 3 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #9878      +/-   ##
==========================================
- Coverage   38.22%   38.19%   -0.03%     
==========================================
  Files         995      995              
  Lines       91910    91911       +1     
  Branches     1193     1193              
==========================================
- Hits        35128    35108      -20     
- Misses      56327    56348      +21     
  Partials      455      455              
Flag Coverage Δ
editoast 73.27% <ø> (-0.07%) ⬇️
front 20.19% <0.00%> (-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.

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.

Nice job !! ✅

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, LGTM

@theocrsb theocrsb added this pull request to the merge queue Nov 28, 2024
Merged via the queue into dev with commit 39ac2f7 Nov 28, 2024
27 checks passed
@theocrsb theocrsb deleted the tce/front/refacto-useStoreDataForRollingStockSelector-using branch November 28, 2024 12:53
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.

4 participants