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

Fix playoff series display in new API #55

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

parnic
Copy link
Contributor

@parnic parnic commented Apr 22, 2024

@parnic
Copy link
Contributor Author

parnic commented Apr 22, 2024

This gets the display from having no Series info to, e.g.:

image

Updates changelog

I didn't make any changes to the functions that the linter was complaining about, so I just made some token comments to make it happy.
I was comparing against the wrong variable as well as not correctly handling the transition from one round to the next.
@caseybecking
Copy link

I have this PR running and it is working as expected with the playoffs.

@dannoh
Copy link
Contributor

dannoh commented May 14, 2024

Looks good, I think we need to rev the version in the package.json though @parnic

@fewieden

@parnic
Copy link
Contributor Author

parnic commented May 14, 2024

Looks good, I think we need to rev the version in the package.json though @parnic

@fewieden

Sure thing. Done.

The new NHL API returns the current round as, for example, 3 even when all series from round 2 haven't been completed. This adds detection of series which haven't been played all the way out and sets that as the current round.
@parnic parnic closed this Oct 1, 2024
@parnic parnic deleted the new-api-fix-playoffs branch October 1, 2024 16:50
@parnic parnic restored the new-api-fix-playoffs branch October 1, 2024 16:51
@parnic parnic reopened this Oct 1, 2024
@parnic
Copy link
Contributor Author

parnic commented Oct 1, 2024

I am maintaining https://github.com/parnic/MMM-NHL for now until @fewieden makes his return :). I will be keeping that master branch updated for this season.

@KristjanESPERANTO
Copy link

I am maintaining https://github.com/parnic/MMM-NHL for now until @fewieden makes his return :). I will be keeping that master branch updated for this season.

Nice! Thank you! 🚀

I have changed the URL for the module to your fork in the official module list so that other users can benefit from your changes. As soon as you no longer maintain your fork, we can of course change it back again.

Please activate the issues tab in your fork.

@parnic
Copy link
Contributor Author

parnic commented Oct 2, 2024

Please activate the issues tab in your fork.

Done.

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.

4 participants