feat: 대시보드 API 연동 (#29) #30
No reviewers
SPMS/Owners
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#30
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/SPMS-29-dashboard-api"
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?
📋 작업 요약
POST /v1/in/stats/dashboard)로 전환POST /v1/in/service/list)로 연동🔗 관련 이슈 (Related Issues)
Closes #29
🛠️ 작업 내용 (Changes)
src/features/dashboard/types.ts— 대시보드 API 타입 정의 (DashboardRequest, DashboardData, DashboardKpi 등)src/api/dashboard.api.ts— fetchDashboard, fetchServiceList API 함수 신규 생성src/features/dashboard/components/DashboardFilter.tsx— 하드코딩 SERVICES 제거, fetchServiceList API 연동, onSearch에 serviceCode 추가src/features/dashboard/pages/DashboardPage.tsx— 랜덤 데이터 함수 제거, API 호출 전환, 데이터 매핑 함수 구현, 에러/빈 데이터 오버레이 분리📢 리뷰어 참고 사항 (To Reviewers)
cloud_off, 빈 데이터:inbox아이콘)✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)