Commit Graph

5 Commits

Author SHA1 Message Date
liumangmang 7d003ff822 refactor: rewrite SettingsPage as lightweight container with hooks and components
Extracted cron utilities to utils/schedule.js, all state management
(15+ useState) to useSettingsForm hook, and 5 config sections + 2 dialogs
+ 1 status badge into focused components. SettingsPage reduced from
~700 lines to ~130 line container.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-08 12:06:26 +08:00
liumangmang 998658da7b refactor: rewrite WorkbenchPage as lightweight container with hooks
Replaced ~800 line monolithic WorkbenchPage.jsx with ~80 line container
delegating to useTaskStream (WebSocket events), useTaskRunner (start logic),
TaskControlPanel, TaskProgressBar, StageStatsPanel (config-driven 40+
StatCards), TaskInfoPanel, TaskFileList, and TaskLogStream.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-07 23:26:05 +08:00
liumangmang 9b4ba98484 refactor: rewrite ExceptionPage as lightweight container with hooks
Replaced 800+ line monolithic ExceptionPage.jsx with a ~180 line
container that delegates to useExceptionSummary, useExceptionList,
useExceptionDetail, useRepairTask, and useWizardState hooks.
Renders ExceptionWizard (wizard mode) or ExceptionListView (advanced
mode), with MissingTagsInlinePanel as escape hatch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-07 21:13:41 +08:00
liumangmang d111d0def0 Add library exception move action 2026-04-30 14:37:44 +08:00
liumangmang 796f19990f Add MusicWorkshop application 2026-04-30 14:34:28 +08:00