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: fixed support for champion rank (ultimate) #95

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

TeKrop
Copy link
Owner

@TeKrop TeKrop commented Feb 14, 2024

For some reason, new "Champion" rank on OW2 is named "Ultimate" on their page 🤡

@TeKrop TeKrop added the bug Something isn't working label Feb 14, 2024
@TeKrop TeKrop self-assigned this Feb 14, 2024
@TeKrop TeKrop linked an issue Feb 14, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Feb 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

PR Type: Enhancement

PR Summary: This pull request updates the CompetitiveDivision enum to reflect a change in terminology from 'Champion' to 'Ultimate' as used on the Overwatch 2 page. It also updates a test case to align with this change, ensuring that the system correctly recognizes and handles the new 'Ultimate' rank.

Decision: Comment

📝 Type: 'Enhancement' - not supported yet.
  • Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
📝 Complexity: the changes are too large or complex for Sourcery to approve.
  • Unsupported files: the diff contains files that Sourcery does not currently support during reviews.

General suggestions:

  • Ensure that all parts of the application that rely on the CompetitiveDivision enum are updated to handle the 'Ultimate' value correctly. This includes database entries, API responses, and any conditional logic that may have used the 'Champion' value.
  • Consider adding a brief comment in the code next to the 'ULTIMATE' enum value to document the reason for this change, especially since it is driven by an external source's terminology update. This can help future maintainers understand the context behind this decision.
  • Review the application's user-facing components to ensure that any references to the 'Champion' rank are updated to 'Ultimate' to maintain consistency with the terminology used in Overwatch 2.

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@TeKrop TeKrop merged commit d56fd30 into main Feb 14, 2024
2 checks passed
@TeKrop TeKrop deleted the 94-support-for-new-competirive-rank-ultimate branch February 14, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for new competirive rank Ultimate
1 participant