본문으로 건너뛰기

CMS CRUD

상태: 가이드. 슬롯·경량 헥사 조립 기준으로 씁니다. ExampleItem DeviceProductionManagePage는 이력 참고. download f.* 미선언 → 검증된 예제 아님. fe-v1-findings · application-structure

슬롯​

필수​

슬롯요구
filter포털 Select 또는 keyword+status. 공통코드는 Select+nameMaps
listManagementPageLayout list. 서버 페이징, Badge. 표는 ManagementTableShell
detail행 클릭 Sheet/Card
form등록/수정 스키마 폼
loading / empty / error최초 Skeleton, 빈+다음 행동, 실패+재시도. loading-action-ux
action pendingPendingButton / savePending. 중복 제출 방지, 버튼 크기 유지
refresh / page재조회는 목록 유지+ListRefreshBanner, 추가 페이지는 하단 로딩
dark / responsive하드 계약

기능 있을 때​

슬롯요구
Chip / Select+nameMaps공통코드 있을 때
excel downloadexport 있을 때. excel-download

경량 헥사 조립 스케치​

presentation/
XxxManagePage
useXxxManage # 화면 연결: 필터 UI, 캐시, Flow/기능 호출
application/
ListXxx / LoadXxxDetail / SaveXxx / DeactivateXxx # 개별 (직접 호출 가능)
XxxManageFlow # 필요할 때만 조합
ports/
XxxRepository # 계약
adapters/
http/HttpXxxRepository
demo/DemoXxxRepository
app/composition/ # 계약 ← 구현 연결

ManagementPageLayout
filter / list / sheets

단일 목록 조회는 useXxxManage → ListXxx 직접 호출로 충분할 수 있습니다. 등록+후속 처리처럼 조합이 있으면 Flow를 둡니다.

ExampleItem 경로 (이력)​

역할경로
페이지src/components/pages/DeviceProductionManagePage.tsx
레이아웃src/components/templates/ManagementPageLayout.tsx
훅·apisrc/hooks/useDeviceProductions.ts, src/api/deviceProductions.ts
DownloadModalsrc/components/organisms/DownloadModal.tsx
Knowledgeconsole-crud-base-set

스모크​

  • 필터 조회 후 목록 갱신
  • Chip/Badge raw code 없음 (공통코드 있을 때)
  • 상세·저장 pending (더블클릭 1회 요청)
  • 최초 Skeleton vs 재조회 배너 구분
  • (export) applied 필터, 페이징 순회, xlsx
  • 빈·에러·재시도·다크·768px
  • (선택) ops-ui-interaction 카탈로그에서 피드백 확인

오케스트레이션​

frontend-cms-one-set