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.tsxChamber component testsDiceRoller.test.tsxDiceRoller component testsDiceScene.test.tsxDiceScene component testsDie.test.tsxDie component testsPlaybackDie.test.tsxPlaybackDie component testsface-reader.test.tsFace reader unit testsgeometry-data.test.tsGeometry data unit testspre-simulate.test.tsPre-simulate unit testsuseKeyboard.test.tsuseKeyboard hook testsuseLongPress.test.tsuseLongPress hook testsuseTimer.test.tsuseTimer hook testsEffectComposer.test.tsxEffectComposer effect tests (expanded)PanelGlow.test.tsxPanelGlow effect tests (expanded)
- Added component tests:
Chamber.test.tsx,DiceRoller.test.tsx,DiceScene.test.tsx,Die.test.tsx,PlaybackDie.test.tsxqualify internal5 files
Chamber.test.tsxDiceRoller.test.tsxDiceScene.test.tsxDie.test.tsxPlaybackDie.test.tsx
- Added core module tests:
face-reader.test.ts,geometry-data.test.ts,pre-simulate.test.tsqualify internal3 files
face-reader.test.tsgeometry-data.test.tspre-simulate.test.ts
- Added hook tests:
useKeyboard.test.ts,useLongPress.test.ts,useTimer.test.tsqualify internal3 files
useKeyboard.test.tsuseLongPress.test.tsuseTimer.test.ts
- Added effect tests:
PanelGlow.test.tsx(expanded),EffectComposer.test.tsx(expanded) qualify internal2 files
PanelGlow.test.tsxEffectComposer.test.tsx
UI component test suites
14 files changed
ActionRow.test.tsxActionRow component testsCameraControls.test.tsxCameraControls component testsDiceButtons.test.tsxDiceButtons component testsEffectsPanel.test.tsxEffectsPanel component testsHistoryPanel.test.tsxHistoryPanel component testsModifiers.test.tsxModifiers component testsOptionsDrawer.test.tsxOptionsDrawer component testsPresets.test.tsxPresets component testsResultsOverlay.test.tsxResultsOverlay component testsSliders.test.tsxSliders component testsphysics-mocks.tsPhysics mock utilities for teststhree-mocks.tsThree.js mock utilities for teststime-mock.tsTime mock utilities for testscoverage-summary.jsonGenerated 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.tsxqualify behavioral5 files
ActionRow.test.tsxDiceButtons.test.tsxEffectsPanel.test.tsxHistoryPanel.test.tsxResultsOverlay.test.tsx
- Added test utilities:
physics-mocks.ts,three-mocks.ts,time-mock.tsqualify internal3 files
physics-mocks.tsthree-mocks.tstime-mock.ts
- Generated
coverage-summary.jsonqualify internal1 file
coverage-summary.json
Project infrastructure and metadata
11 files changed
.editorconfigEditor configuration for consistent formatting.prettierrcPrettier formatting rules.prettierignorePrettier ignore patternspre-commitPre-commit hook for formatting.nvmrcNode version pinknip.jsonDead code and unused dependency detectionarchitecture.mdSystem design architecture overviewLICENSEAGPL-3.0 licenseCONTRIBUTING.mdContribution guidelinesSECURITY.mdSecurity policyCHANGELOG.mdProject changelog
- Added
.editorconfig,.prettierrc,.prettierignorefor consistent formatting baseline errata3 files
.editorconfig.prettierrc.prettierignore
- Added
.husky/pre-commithook and.nvmrcfor Node version pinning baseline internal2 files
pre-commit.nvmrc
- Added
knip.jsonfor dead code and unused dependency detection baseline internal1 file
knip.json
- Created
docs/architecture.mddescribing the system design specify internal1 file
architecture.md
- Added
LICENSE(AGPL-3.0),CONTRIBUTING.md,SECURITY.md,CHANGELOG.mdspecify errata4 files
LICENSECONTRIBUTING.mdSECURITY.mdCHANGELOG.md
Source refactoring
9 files changed
Die.tsxTestability and prop interface improvementsPlaybackDie.tsxTestability and prop interface improvementsDiceScene.tsxCleaner prop interfacesUndefDiceApp.tsxSimplifiedEffectComposer.tsxSimplifiedundef-dice.css~270 lines of styling changesnotation-parser.tsMinor fixes and type exportsface-reader.tsMinor fixesmessaging.tsAdjusted for test compatibility
- Significant refactoring across React components (
Die.tsx,PlaybackDie.tsx,DiceScene.tsx,UndefDiceApp.tsx) for testability and cleaner prop interfaces remediate internal4 files
Die.tsxPlaybackDie.tsxDiceScene.tsxUndefDiceApp.tsx
- Updated
src/core/modules with minor fixes and improved type exports remediate internal2 files
notation-parser.tsface-reader.ts
- Updated
src/react-app/styles/undef-dice.csswith ~270 lines of styling changes remediate internal1 file
undef-dice.css