feat(pop): port production/process screen from legacy POP (Phase A + B-1)
Phase A — Legacy POP 이식: - Copy WorkOrderList, ProcessWork, AcceptProcessModal, ProcessDetailModal, DefectTypeModal, ProcessTimer to app/(main)/COMPANY_7/pop/_components/production/ - New useProcessData hook: single sync call on mount + 3s throttle + toast errors - Add /COMPANY_7/pop/production/process to usePopSettings URL mapping - Update POP.md work log (legacy POP copy exception for this task) Phase B-1 — ProcessWork 1st section split: - Extract MaterialInputSection (ProcessWork 2993→2637, -356 lines) - Plan revision: TimerPanel removed (dead code confirmed in original) Plan: .claude/plans/pop-process-execution.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -120,6 +120,7 @@ const POP_SCREEN_MAP: Record<string, number> = {
|
||||
"/pop/outbound/sales": 5,
|
||||
"/pop/production": 8,
|
||||
"/pop/production/process": 7,
|
||||
"/COMPANY_7/pop/production/process": 7,
|
||||
};
|
||||
|
||||
// URL -> settingsKey mapping
|
||||
@@ -132,6 +133,7 @@ const PATH_TO_SETTINGS_KEY: Record<string, keyof PopSettings["screens"]> = {
|
||||
"/pop/outbound/sales": "outbound",
|
||||
"/pop/production": "processExecution",
|
||||
"/pop/production/process": "processExecution",
|
||||
"/COMPANY_7/pop/production/process": "processExecution",
|
||||
};
|
||||
|
||||
function getScreenIdFromPath(pathname: string): number | null {
|
||||
|
||||
Reference in New Issue
Block a user