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

Train operator changed ➡️ looks ugly #72

Open
nixmeer opened this issue Mar 20, 2020 · 4 comments
Open

Train operator changed ➡️ looks ugly #72

nixmeer opened this issue Mar 20, 2020 · 4 comments

Comments

@nixmeer
Copy link

nixmeer commented Mar 20, 2020

Hello :)

since January 1st, line "S3" of the "S-Bahn Rhein-Ruhr" is no longer being operated by the Deutsche Bahn but by Abellio which is a private train operator. It's still the same line "S3" but different trains and the DB API names them "ABR S3" (not only my mirror uses this name but also all smartphone apps I use).

This looks just ugly... is there any way to not just change the background color, border-radius etc. but also the displayed name?

Best

Jan

@derhuerst
Copy link

This is something that we should handle in the underlying library hafas-client; We already do this for e.g. the BVG endpoint and the SNCB endpoint.

@nixmeer
Copy link
Author

nixmeer commented Mar 21, 2020

That'd be great. I don't use it at the plug in right now but I am annoyed by all public transport apps writing "ABR RE6 (RRX)"... I don't care what kind of RE and who operates it. I just wanna know, if it's on time or not :D

@derhuerst
Copy link

Please open an Issue in the hafas-client repo. Let's collect more lines in Germany that have this kind of prefix.

[...] I am annoyed by all public transport apps writing "ABR RE6 (RRX)"... I don't care what kind of RE and who operates it. I just wanna know, if it's on time or not :D

Also, even if you were interested, that's what the operator field is for.

@nixmeer
Copy link
Author

nixmeer commented Mar 21, 2020

I’ll do that. Please add your insights about this module and the hafas-client.

What do you mean by operator field? Couldn’t find any here in this module, is it part of the hafas-client?

Edit: I just figured out the hafas-client is your repo 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants