[Improvement] 대시보드 API 타입 swagger 기준 전면 수정 #33
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#33
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?
설명
대시보드 API(
/v1/in/stats/dashboard) 응답 타입이 swagger와 불일치하여 전면 수정.작업 내용
types.ts: swagger 기준 타입 전면 교체 (DashboardKpi, DailyStat, HourlyStat, PlatformStat, TopMessage, DashboardData)DashboardPage.tsx: map 함수 4개 수정 (mapCards, mapChart, mapMessages, mapPlatform) + hasData 조건 개선ServiceDetailPage.tsx: KPI 필드명 변경 (total_sent→total_send, success_rate→계산식)DashboardFilter.tsx: 서비스 드롭다운 제거 (대시보드는 전체 서비스 통합 현황)dashboard.api.ts: 미사용 fetchServiceList/ServiceOption 제거체크리스트