undef-dice 2026-02-07
Comprehensive test coverage expansion, formatting tooling, architecture docs, and project metadata added
224 files · 23,064+ · 21,599-

Component and hook test suites

13 files changed
  • Chamber.test.tsx Chamber component tests
  • DiceRoller.test.tsx DiceRoller component tests
  • DiceScene.test.tsx DiceScene component tests
  • Die.test.tsx Die component tests
  • PlaybackDie.test.tsx PlaybackDie component tests
  • face-reader.test.ts Face reader unit tests
  • geometry-data.test.ts Geometry data unit tests
  • pre-simulate.test.ts Pre-simulate unit tests
  • useKeyboard.test.ts useKeyboard hook tests
  • useLongPress.test.ts useLongPress hook tests
  • useTimer.test.ts useTimer hook tests
  • EffectComposer.test.tsx EffectComposer effect tests (expanded)
  • PanelGlow.test.tsx PanelGlow effect tests (expanded)
  • Added component tests: Chamber.test.tsx, DiceRoller.test.tsx, DiceScene.test.tsx, Die.test.tsx, PlaybackDie.test.tsx qualify internal
    5 files
    • Chamber.test.tsx
    • DiceRoller.test.tsx
    • DiceScene.test.tsx
    • Die.test.tsx
    • PlaybackDie.test.tsx
  • Added core module tests: face-reader.test.ts, geometry-data.test.ts, pre-simulate.test.ts qualify internal
    3 files
    • face-reader.test.ts
    • geometry-data.test.ts
    • pre-simulate.test.ts
  • Added hook tests: useKeyboard.test.ts, useLongPress.test.ts, useTimer.test.ts qualify internal
    3 files
    • useKeyboard.test.ts
    • useLongPress.test.ts
    • useTimer.test.ts
  • Added effect tests: PanelGlow.test.tsx (expanded), EffectComposer.test.tsx (expanded) qualify internal
    2 files
    • PanelGlow.test.tsx
    • EffectComposer.test.tsx

UI component test suites

14 files changed
  • ActionRow.test.tsx ActionRow component tests
  • CameraControls.test.tsx CameraControls component tests
  • DiceButtons.test.tsx DiceButtons component tests
  • EffectsPanel.test.tsx EffectsPanel component tests
  • HistoryPanel.test.tsx HistoryPanel component tests
  • Modifiers.test.tsx Modifiers component tests
  • OptionsDrawer.test.tsx OptionsDrawer component tests
  • Presets.test.tsx Presets component tests
  • ResultsOverlay.test.tsx ResultsOverlay component tests
  • Sliders.test.tsx Sliders component tests
  • physics-mocks.ts Physics mock utilities for tests
  • three-mocks.ts Three.js mock utilities for tests
  • time-mock.ts Time mock utilities for tests
  • coverage-summary.json Generated coverage summary
  • Added UI component tests: ActionRow.test.tsx, CameraControls.test.tsx, DiceButtons.test.tsx, EffectsPanel.test.tsx, HistoryPanel.test.tsx, Modifiers.test.tsx, OptionsDrawer.test.tsx, Presets.test.tsx, ResultsOverlay.test.tsx, Sliders.test.tsx qualify behavioral
    5 files
    • ActionRow.test.tsx
    • DiceButtons.test.tsx
    • EffectsPanel.test.tsx
    • HistoryPanel.test.tsx
    • ResultsOverlay.test.tsx
  • Added test utilities: physics-mocks.ts, three-mocks.ts, time-mock.ts qualify internal
    3 files
    • physics-mocks.ts
    • three-mocks.ts
    • time-mock.ts
  • Generated coverage-summary.json qualify internal
    1 file
    • coverage-summary.json

Project infrastructure and metadata

11 files changed
  • .editorconfig Editor configuration for consistent formatting
  • .prettierrc Prettier formatting rules
  • .prettierignore Prettier ignore patterns
  • pre-commit Pre-commit hook for formatting
  • .nvmrc Node version pin
  • knip.json Dead code and unused dependency detection
  • architecture.md System design architecture overview
  • LICENSE AGPL-3.0 license
  • CONTRIBUTING.md Contribution guidelines
  • SECURITY.md Security policy
  • CHANGELOG.md Project changelog
  • Added .editorconfig, .prettierrc, .prettierignore for consistent formatting baseline errata
    3 files
    • .editorconfig
    • .prettierrc
    • .prettierignore
  • Added .husky/pre-commit hook and .nvmrc for Node version pinning baseline internal
    2 files
    • pre-commit
    • .nvmrc
  • Added knip.json for dead code and unused dependency detection baseline internal
    1 file
    • knip.json
  • Created docs/architecture.md describing the system design specify internal
    1 file
    • architecture.md
  • Added LICENSE (AGPL-3.0), CONTRIBUTING.md, SECURITY.md, CHANGELOG.md specify errata
    4 files
    • LICENSE
    • CONTRIBUTING.md
    • SECURITY.md
    • CHANGELOG.md

Source refactoring

9 files changed
  • Die.tsx Testability and prop interface improvements
  • PlaybackDie.tsx Testability and prop interface improvements
  • DiceScene.tsx Cleaner prop interfaces
  • UndefDiceApp.tsx Simplified
  • EffectComposer.tsx Simplified
  • undef-dice.css ~270 lines of styling changes
  • notation-parser.ts Minor fixes and type exports
  • face-reader.ts Minor fixes
  • messaging.ts Adjusted for test compatibility
  • Significant refactoring across React components (Die.tsx, PlaybackDie.tsx, DiceScene.tsx, UndefDiceApp.tsx) for testability and cleaner prop interfaces remediate internal
    4 files
    • Die.tsx
    • PlaybackDie.tsx
    • DiceScene.tsx
    • UndefDiceApp.tsx
  • Updated src/core/ modules with minor fixes and improved type exports remediate internal
    2 files
    • notation-parser.ts
    • face-reader.ts
  • Updated src/react-app/styles/undef-dice.css with ~270 lines of styling changes remediate internal
    1 file
    • undef-dice.css