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 mlg data #10682

Merged
merged 2 commits into from
Feb 5, 2025
Merged

front: remove mlg data #10682

merged 2 commits into from
Feb 5, 2025

Conversation

Tristramg
Copy link
Contributor

We use data from http://www.mlgtraffic.net/ to display rolling stock

The rolling stock images are now imported through the API and are we no longer need hard coded things. This pull request removes all unnecessary data to manipulate mlg assets.

I left the credits in https://github.com/OpenRailAssociation/osrd/blob/dev/front/src/common/ReleaseInformations/LicenseAttributions.tsx#L43-L50 as we still use those images

@Tristramg Tristramg requested a review from a team as a code owner February 5, 2025 09:50
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label Feb 5, 2025
@codecov-commenter
Copy link

codecov-commenter commented Feb 5, 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.89%. Comparing base (3b4ae1e) to head (29ccc04).
Report is 3 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   #10682   +/-   ##
=======================================
  Coverage   81.88%   81.89%           
=======================================
  Files        1078     1078           
  Lines      107158   107178   +20     
  Branches      724      724           
=======================================
+ Hits        87751    87770   +19     
- Misses      19367    19368    +1     
  Partials       40       40           
Flag Coverage Δ
editoast 74.18% <ø> (-0.01%) ⬇️
front 89.45% <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.

The constant file only contains colors now

(and eslint was complaning about exporting a single value)

Signed-off-by: Tristram Gräbener <[email protected]>
@Tristramg Tristramg changed the title fromt: remove mlg data frot: remove mlg data Feb 5, 2025
@Tristramg Tristramg self-assigned this Feb 5, 2025
@Tristramg Tristramg changed the title frot: remove mlg data front: remove mlg data Feb 5, 2025
Copy link
Member

@emersion emersion left a comment

Choose a reason for hiding this comment

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

Nice, LGTM!

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 🧹

@Tristramg Tristramg added this pull request to the merge queue Feb 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 5, 2025
@Tristramg Tristramg added this pull request to the merge queue Feb 5, 2025
Merged via the queue into dev with commit 13d0dd3 Feb 5, 2025
27 checks passed
@Tristramg Tristramg deleted the remove_mlg branch February 5, 2025 11:21
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