undef-engine 2026-01-04
Shared hook helpers, card ID standardization, and frontend refresh
925 files · 38,209+ · 26,746-

Shared hook helper utilities

4 files changed
  • hooks_helpers.py Created DRY utility functions for game hooks
  • base.py Updated base hook with helper integration
  • components.py Updated flow components
  • engine.py Updated flow engine
  • Created shared hooks_helpers with DRY utility functions for rotation, submissions, and validation decouple behavioral
    1 file
    • hooks_helpers.py
  • Updated six or more games to use hooks_helpers utilities instead of duplicated logic decouple internal
    1 file
    • base.py

Card ID field standardization

2 files changed
  • models.py Standardized Card.id field
  • loader.py Updated loader for card ID format
  • Standardized Card.id field across all games and removed redundant id_field from content registry remediate internal
    1 file
    • models.py
  • Fixed Terrible Psychiatrist content registry to use card_id field remediate internal
    1 file
    • loader.py

Frontend component refresh

8 files changed
  • App.tsx Major routing and layout updates
  • EmojiPicker.tsx Significant emoji picker rework
  • CardContent.tsx Updated card content display
  • AdminDashboard.tsx Updated admin dashboard
  • GameBoard.tsx Updated game board base
  • GameBoardRouter.tsx Updated game board routing
  • Modal.tsx Updated modal component
  • Lobby.tsx Updated lobby component
  • Updated nearly all frontend components with refreshed patterns, including major changes to App.tsx, EmojiPicker, and CardContent decouple internal
    3 files
    • App.tsx
    • EmojiPicker.tsx
    • CardContent.tsx
  • Updated admin components, game boards, and shared utilities across the frontend decouple internal
    3 files
    • AdminDashboard.tsx
    • GameBoard.tsx
    • GameBoardRouter.tsx

Test fixes for content service integration

3 files changed
  • BluffaloBoard.test.tsx Updated test mocks for content service
  • CawBoard.test.tsx Updated test mocks for content service
  • DebateClubBoard.test.tsx Updated test mocks
  • Fixed DixitCard model validator and content service patching in tests remediate internal
    1 file
    • BluffaloBoard.test.tsx
  • Fixed game packs test mock to use correct import paths qualify internal
    1 file
    • CawBoard.test.tsx