docs: improve JSDoc/TypeDoc documentation — remove inline comments, add missing public API docs#1919
Conversation
- Remove all @public JSDoc tags from src/types/ and src/utils/ - Remove standalone/EOL inline comments from function bodies - Convert top-level // comments to proper JSDoc blocks in constants files - Expand JSDoc on effectUtils.ts exported functions with @param/@returns/@category/@korean - Clean // Fix: stub comments from constants/index.ts barrel No logic changes. TypeScript check: 0 errors.
…and deviceDetection
…nts, safeAreaUtils
…cFeedback, responsiveLayoutHelpers
…ng, mobileLayoutHelpers, mobileUIUtils
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
- Remove redundant comments that restate what code obviously does across CombatSystem.ts, EffectCalculator.ts, VitalPointSystem.ts, LayoutSystem.ts, PlayerEffectManager.ts, and sub-system files - Preserve WHY-explaining comments, Korean-language comments, math formula explanations, and architectural rationale - Upgrade bare // comments in game.ts to proper JSDoc blocks with @module, @category, and per-interface descriptions - Replace doubled comments before enums in effects.ts with single JSDoc /** */ doc-comments - Improve module-level JSDoc in types.ts and index.ts (remove auto-generated notice, add meaningful descriptions) Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
- Fix '맸통' → '몸통' (torso) in physicalAttributeValidation.ts - Fix '쳌둥벽력' → '천둥벽력' (Thunder Strike) in technique.ts - Fix '팔괴' → '팔괘' (Eight Trigrams) in controlMapping.ts and player-visual.ts - Fix '공' → '곤' (Gon/Earth trigram) comment in player-visual.ts - Fix '출혁' → '출혈' (blood loss) in player-visual.ts (two occurrences) - Fix '머향하기상태/콜백' → '몸향하기상태/콜백' in player-visual.ts - Fix '뉕3D속성' → '눈3D속성' (eye props) in facial.ts - Fix '섈3D속성' → '입3D속성' (mouth props) in facial.ts - Fix '펼기' → '펴기' (open hand) in hand-animation.ts (two occurrences) - Fix '무술출캘' → '무술출처' (martial art origin) in hand-animation.ts - Fix '부착뉴' → '부착뼈' (attached bones) in clothing.ts - Fix '뉴맵' → '뼈맵' (bone map) in clothing.ts - Fix '흥괴' → '흑괘' (Black Trigram) in PhysicsTypes.ts - Fix 'colour' → 'color' in ui.ts (four occurrences) Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
- Add class-level JSDoc to AudioManager with @example and @korean tags - Remove redundant inline comments restating obvious code behavior - Remove stale dev-note '// Fix:' comment in crossfade method - Replace '// Additional methods' / '// New optimized methods' section markers with proper method-level JSDoc where absent - Remove auto-generated filepath comment from index.ts - Remove redundant '// Re-export types that were missing' comment - Add getter JSDoc to isInitialized property Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
1 similar comment
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
…aned) Agent-Logs-Url: https://github.com/Hack23/blacktrigram/sessions/80a82719-26e4-4002-bea7-3ceff01cd636 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
…izer Agent-Logs-Url: https://github.com/Hack23/blacktrigram/sessions/80a82719-26e4-4002-bea7-3ceff01cd636 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
1 similar comment
🎯 Accessibility Test ResultsWCAG 2.1 Level AA Compliance Tests
Components Tested
Test Framework
|
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
📸 Automated UI Screenshots📋 Screenshots Captured (8)
📦 Download Screenshots📥 Download all screenshots from workflow artifacts
🤖 Generated by Playwright automation |
@publictags (redundant in TypeDoc) across all type filessrc/types/(constants, colors, ui, typography, index)src/utils/(deviceDetection, effectUtils, physicalAttributeValidation, player3DHelpers, math, haptics, etc.)