Skip to content

feat: Physical games - #3848

Draft
gantoine wants to merge 2 commits into
masterfrom
posthog-code/physical-games
Draft

feat: Physical games#3848
gantoine wants to merge 2 commits into
masterfrom
posthog-code/physical-games

Conversation

@gantoine

Copy link
Copy Markdown
Member

Description
Explain the changes or enhancements you are proposing with this pull request.

Adds support for physical (DB-only) games: games you own on physical media that have no ROM file on disk.

  • Users can manually add a physical game by name or by UPC/barcode (with an in-browser barcode scanner), and it is matched to metadata automatically.
  • New is_physical and upc columns on roms (migration 0099_physical_roms), plus a UPC metadata handler for barcode lookups.
  • Backend endpoint to create physical ROMs, with the corresponding generated frontend types and API service.
  • v2 UI: Add Physical Game dialog and Barcode Scanner dialog, wired into the platform gallery.

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Screenshots (if applicable)

AI assistance: This branch was written with substantial AI assistance (Claude Code). The AI wrote the physical-games feature and later merged the latest master into the branch: resolving the locale-file conflicts, renumbering the Alembic migration to 0099, and verifying tests/typecheck. All changes were human-reviewed.

gantoine added 2 commits July 5, 2026 08:35
…al-games

# Conflicts:
#	frontend/src/locales/bg_BG/rom.json
#	frontend/src/locales/cs_CZ/rom.json
#	frontend/src/locales/de_DE/rom.json
#	frontend/src/locales/en_GB/rom.json
#	frontend/src/locales/en_US/rom.json
#	frontend/src/locales/es_ES/rom.json
#	frontend/src/locales/fr_FR/rom.json
#	frontend/src/locales/hu_HU/rom.json
#	frontend/src/locales/it_IT/rom.json
#	frontend/src/locales/ja_JP/rom.json
#	frontend/src/locales/ko_KR/rom.json
#	frontend/src/locales/pl_PL/rom.json
#	frontend/src/locales/pt_BR/rom.json
#	frontend/src/locales/ro_RO/rom.json
#	frontend/src/locales/ru_RU/rom.json
#	frontend/src/locales/tr_TR/rom.json
#	frontend/src/locales/zh_CN/rom.json
#	frontend/src/locales/zh_TW/rom.json
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​zxing/​browser@​0.1.510010010082100

View full report

@gantoine gantoine changed the title feat: add support for physical (DB-only) games feat: Physical games Jul 20, 2026
@gantoine gantoine added the on-hold Pending further research or blocked by another issue label Jul 23, 2026
@gantoine gantoine self-assigned this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

on-hold Pending further research or blocked by another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant