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

Shorten station name in the title as well #205

Merged
merged 1 commit into from Mar 16, 2024

Conversation

Jargendas
Copy link
Contributor

Hi, thanks for your work, I've been using your module for quite some time now and it's great, especially during the strikes atm ;)
I have a very small suggestion for improvement: I think it would make sense that not only the station names for the destination is shortened, but also the station name in the title row. No need to tell me I'm in Berlin again. Before the change, it said for me "Sundgauer Str. (Berlin)". Now it just says "Sundgauer Str." in the title.

@rejas
Copy link
Collaborator

rejas commented Mar 16, 2024

Could you fix the tests?

@Jargendas
Copy link
Contributor Author

I believe the failing test has nothing to do with my changes, does it? It's asking for a package-lock file, which is not present on the master either.

@rejas
Copy link
Collaborator

rejas commented Mar 16, 2024

@KristjanESPERANTO could that be related to your PR ?

@Jargendas
Copy link
Contributor Author

Yes, that's the issue. I read up on it and it seems you are supposed to always commit package-lock.
https://dev.to/adamklein/package-lock-json-in-git-or-not-50l5

@KristjanESPERANTO
Copy link
Collaborator

You're right. I'm fixing this now.

@KristjanESPERANTO KristjanESPERANTO merged commit fecf9fd into deg0nz:master Mar 16, 2024
1 check failed
@KristjanESPERANTO
Copy link
Collaborator

I have successfully tested the new function and find it very good. Thank you very much!

Sorry for causing trouble with the tests.

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

Successfully merging this pull request may close these issues.

None yet

3 participants