
CodingOnStarandClaude Opus 4.5
c080c48aba
refactor(debug): extract hooks and components, add comprehensive tests
Extract reusable hooks and components from debug/index.tsx:
- useInputValidation, useFormattingChangeConfirm, useModalWidth hooks
- useTextCompletion hook for text completion logic
- DebugHeader component for header UI
- TextCompletionResult component for completion display
Add comprehensive test coverage for debug-with-multiple-model:
- chat-item.spec.tsx (23 tests)
- debug-item.spec.tsx (25 tests)
- model-parameter-trigger.spec.tsx (14 tests)
- text-generation-item.spec.tsx (16 tests)
- index.spec.tsx expanded (84 tests)
Total: 183 tests passing with 95%+ coverage
Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 11:42:09 +08:00
..
2026-01-21 16:31:48 +08:00
2026-01-14 17:20:49 +08:00
2025-12-31 11:13:22 +08:00
2025-12-29 14:52:32 +08:00
2026-01-27 11:42:09 +08:00
2026-01-21 16:31:48 +08:00
2026-01-06 20:18:27 +08:00
2025-12-29 14:52:32 +08:00
2026-01-21 16:31:48 +08:00
2025-07-10 14:14:02 +08:00
2025-12-23 16:58:55 +08:00
2025-12-31 11:13:22 +08:00
2026-01-10 17:16:18 +09:00
2026-01-21 16:31:48 +08:00
2026-01-04 19:59:06 +08:00
2025-12-18 15:00:15 +08:00
2026-01-23 11:35:14 +08:00
2025-12-23 16:58:55 +08:00
2025-12-23 16:58:55 +08:00
2026-01-14 16:23:58 +08:00