-
-
Notifications
You must be signed in to change notification settings - Fork 258
I lied, more fixes #2071
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
I lied, more fixes #2071
Conversation
Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information. |
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.
Pull Request Overview
This PR adds support for new “Hasheous” links, updates existing external URLs, and centralizes external data source listings in the GameInfo component.
- Wraps various scrapper IDs (LaunchBox, RA, Hasheous, etc.) in anchor tags with updated URLs across
PlatformInfoDrawer.vue
andTitle.vue
. - Introduces a computed
dataSources
list andcoverImageSource
inGameInfo.vue
for the “Data provided by” section. - Extends backend models and response schemas to include
hasheous_id
in identification logic and adds amoby_slug
computed field.
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
frontend/src/components/Gallery/AppBar/Platform/PlatformInfoDrawer.vue | Fixed ScreenScraper URL, switched Moby link to use moby_slug , and added RetroAchievements & Hasheous anchor links |
frontend/src/components/Details/Title.vue | Wrapped LaunchBox, RA, and Hasheous chips in <a> with updated URLs |
frontend/src/components/Details/Info/GameInfo.vue | Added dataSources & coverImageSource computed properties and new UI row for data attribution |
backend/models/rom.py | Included hasheous_id in is_unidentified and is_fully_identified properties |
backend/models/platform.py | Included ra_id and hasheous_id in platform identification logic |
backend/endpoints/responses/platform.py | Imported MOBYGAMES_PLATFORM_LIST and added @computed_field moby_slug |
Files not reviewed (1)
- frontend/src/generated/models/PlatformSchema.ts: Language not supported
Comments suppressed due to low confidence (2)
backend/endpoints/responses/platform.py:54
- There are no existing tests for the new
moby_slug
computed field. Add unit tests to verify correct slug lookup for known platforms and that it returns null whenmoby_id
is missing or the slug is not inMOBYGAMES_PLATFORM_LIST
.
@computed_field # type: ignore
frontend/src/components/Details/Info/GameInfo.vue:298
- The new “Data provided by” UI block should be covered by component tests to ensure it renders correctly when
rom.is_identified
is true and hides when false, including all contained anchor links.
<v-row v-if="rom.is_identified">
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified Files
|
Description
Explain the changes or enhancements you are proposing with this pull request.
Checklist
Please check all that apply.
Screenshots