jskim-node #36

Merged
jskim merged 39 commits from jskim-node into main 2026-04-28 00:24:52 +00:00
Owner
No description provided.
jskim added 39 commits 2026-04-28 00:24:47 +00:00
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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>
이전 세션 작업물 일괄 커밋. POP.md 2~6차 로그 기록 내용.
3cd3eed7(공정실행 이식) 커밋의 선행 의존성.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace hardcoded /COMPANY_7/ URL prefixes across POP pages and
components with usePopCompanyPath() so navigation derives the company
code from the authenticated user.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy the POP terminal screens from COMPANY_7/pop to the other six
company folders (POP.md excluded). URLs are already companyCode-aware
via usePopCompanyPath, so the replicated code works per-company with
no further edits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Introduced a new controller for handling bulk uploads of sales orders via Excel, allowing users to efficiently manage large volumes of sales data.
- Implemented validation to ensure required fields are present and provided appropriate error messages for missing data.
- Enhanced the service layer to support item creation and master data management during the upload process.
- Updated routes to include a new endpoint for the bulk upload feature, ensuring secure access through token authentication.

These changes aim to streamline the sales order management process and improve user experience when handling bulk data uploads.
- Changed the `copyChecklistToSplit` function to be exported for better accessibility.
- Temporarily commented out the `getProcessList` and `getProcessResult` routes in `popProductionRoutes` due to missing implementations, with a note for future restoration.
- Updated the loop in `salesOrderBulkService` to use `Array.from()` for better clarity in iterating over entries.

These changes aim to improve code organization and maintainability while addressing current implementation gaps.
- Added `getProcessList` to retrieve the list of work order processes along with their results, grouped by process ID.
- Implemented `getProcessResult` to fetch details of a specific work order process result by its ID.
- Updated `popProductionRoutes` to enable the new endpoints for accessing process data.

These additions enhance the functionality of the POP production module, allowing for better tracking and management of work order processes and their results.
- per-company PopShell copies under (main)/COMPANY_*/pop/_components/common/
  (no longer imports @/components/pop/hardcoded/PopShell)
- new components/pop/shell/CompanySwitchModal for new POP entry
- AppLayout: SUPER_ADMIN POP-mode toggle + company-select modal flow
- usePopSettings: handle /COMPANY_X/pop/<tail> URLs (extractScreenKey)
- authController + AppLayout: drop legacy /pop fallback;
  use /\${companyCode}/pop/main when childMenus>1 lacks [POP_LANDING]

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Remove KpiCarousel/RecentActivity from pop main pages (7 companies)
- Empty banner default; rename settings key home -> main
- Strip API fetch/cache from usePopSettings, return hardcoded defaults
- Drop screen_layouts_pop auto-clone/fallback for regular users
- Add SUPER_ADMIN direct-entry branch in AppLayout pop handler

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
gbpark-node(ee8f274f) 머지 시 popProductionController.ts 충돌. 작업 중이던
mhkim 워킹트리 변경분(앞공정 양품 헬퍼/work_instruction 헤더 헬퍼/wi_*
커스텀 템플릿 우선 처리/CTE 기반 getProcessList 등)을 통째로 채택.
jskim merged commit 4fd2325f9d into main 2026-04-28 00:24:52 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jskim/vexplor_dev#36