undef-engine 2026-01-20
Storybook setup and Trade Wars game screens
147 files · 22,267+ · 312-

Storybook integration

5 files changed
  • eslint.config.js Updated ESLint config for Storybook
  • package.json Added Storybook dependencies
  • Button.stories.ts Added Button story
  • Header.stories.ts Added Header story
  • Page.stories.ts Added Page story
  • Set up Storybook for frontend component documentation with Button, Header, and Page stories instantiate behavioral
    2 files
    • package.json
    • Button.stories.ts

Trade Wars game screens

6 files changed
  • BankScreen.tsx Created in-game banking screen
  • ContrabandScreen.tsx Created illicit trading screen
  • ShipyardScreen.tsx Created ship upgrade screen
  • NavigationPhase.tsx Updated navigation phase
  • TWModal.tsx Created Trade Wars modal component
  • TWStatRow.tsx Created Trade Wars stat row component
  • Created BankScreen, ContrabandScreen, and ShipyardScreen for Trade Wars instantiate behavioral
    3 files
    • BankScreen.tsx
    • ContrabandScreen.tsx
    • ShipyardScreen.tsx
  • Added shared TWModal and TWStatRow components instantiate internal
    2 files
    • TWModal.tsx
    • TWStatRow.tsx

Trade Wars Storybook stories

7 files changed
  • CombatPhase.stories.tsx Added Combat phase story
  • GameOverPhase.stories.tsx Added GameOver phase story
  • LobbyPhase.stories.tsx Added Lobby phase story
  • NavigationPhase.stories.tsx Added Navigation phase story
  • PlanetPhase.stories.tsx Added Planet phase story
  • TradingPhase.stories.tsx Added Trading phase story
  • BankScreen.stories.tsx Added Bank screen story
  • Added Storybook stories for all Trade Wars phases and screens instantiate internal
    3 files
    • CombatPhase.stories.tsx
    • NavigationPhase.stories.tsx
    • BankScreen.stories.tsx

Routing and component updates

3 files changed
  • App.tsx Updated routing with expanded Trade Wars paths
  • TradeWarsBoard.tsx Updated Trade Wars board
  • LobbyPhase.tsx Updated Trade Wars lobby
  • Updated App.tsx routing and TradeWarsBoard with expanded Trade Wars paths decouple internal
    2 files
    • App.tsx
    • TradeWarsBoard.tsx