-
Notifications
You must be signed in to change notification settings - Fork 13
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 issue with missing chapter content on Juno hero page #195
Conversation
Reviewer's Guide by SourceryThis pull request addresses an issue with missing chapter content on the Juno hero page. The changes primarily involve updating URL paths and improving the parsing of hero data. The modifications ensure correct URL construction, proper data extraction, and consistent handling of hero information across the application. File-Level Changes
Tips
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @TeKrop - I've reviewed your changes - here's some feedback:
Overall Comments:
- Could you provide more context on why the 'pr' tag was added to the list of tags to find when collecting paragraphs in the
__get_story_chapters
method? Understanding the reason behind this change would be helpful.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟡 Testing: 1 issue found
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
@@ -47,7 +47,7 @@ def test_check_and_update_gamemodes_cache_to_update( | |||
settings.expired_cache_refresh_limit + 30, | |||
) | |||
cache_manager.update_parser_cache( | |||
f"HeroParser-{settings.blizzard_host}/{locale}{settings.heroes_path}/ana", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (testing): Update test cases to reflect changes in URL structure
The changes in the URL structure (removing a slash before 'ana' and adding one after) are consistently applied across multiple test cases. This is good for maintaining consistency, but we should ensure that these changes align with the actual behavior of the updated code.
f"HeroParser-{settings.blizzard_host}/{locale}{settings.heroes_path}/ana", | |
f"HeroParser-{settings.blizzard_host}/{locale}{settings.heroes_path}/ana", |
Quality Gate passedIssues Measures |
Summary by Sourcery
Fix the issue with missing chapter content on the Juno hero page by updating the parsing logic and adjusting the URL path format for hero pages. Update test cases to align with these changes.
Bug Fixes:
Enhancements:
Tests: