[Feature] 발송 통계 페이지 API 연동 #39
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_WEB#39
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
설명
발송 통계 2개 페이지(통계 대시보드 + 발송 이력)를 Mock 데이터에서 실제 swagger API(
/v1/in/stats/*)로 연동한다.기기/메시지 관리와 동일한 패턴(
loadData+useCallback+ 서버 필터링) 적용.차트 컴포넌트(6개) JSX는 유지하고, 페이지/패널의 데이터 로직 + 필드 매핑만 변경.
체크리스트
types.ts: Mock 데이터 삭제, swagger 기준 요청/응답 타입 추가statistics.api.ts: 신규 생성 (6개 API 함수)StatisticsPage.tsx: 4개 API 병렬 호출 + mapper 함수로 차트 props 변환StatisticsHistoryPage.tsx: 서버 필터링, API 페이지네이션, 엑셀 다운로드HistorySlidePanel.tsx: fetchHistoryDetail API 호출, 로딩 스켈레톤