Conversation
- /core-attendance 페이지 추가 - 날짜/팀/팀원 기반 출석 관리 UI 구현 - axios 기반 API 클라이언트 작성 및 서버 연동 (dates, teams, members, records, summary) - 오늘 날짜 추가, 팀원 개별/전체 출석 토글 기능 지원 - 요약 카드 및 팀별 출석 현황 표시 - URL query parameter 동기화 (leadName, teamId, date) - NextUI 컴포넌트(Card, Input, Button, Checkbox, Select 등) 활용한 UI 구성
feat(core-attendance): 출석 관리 페이지 추가
- API 베이스 경로를 로 변경
- 날짜 목록: GET 사용(오늘 추가/삭제 지원)
- 팀 목록: GET (권한 기반 서버 필터)
- 멤버+출석 현황: GET 로딩 후 체크박스 초기화
- 출석 저장(스냅샷): PUT { userIds, present }
- 요약: GET 재조회로 카운트 동기화
- URL 파라미터 동기화 유지:
- 낙관적 업데이트 적용 및 오류시 롤백 최소화
- 멤버 CRUD UI 제거(운영자 전용 화면으로 분리 예정)
- axios withCredentials 활성화(리프레시 토큰 대응)
BREAKING CHANGE:
구 엔드포인트(, , ) 의존 제거.
이제 출석 저장은 날짜 기준 스냅샷(사용자 ID 목록 + present)으로 전송합니다.
Affects: src/app/core_attendance/page.jsx
Test Plan:
- [ ] 날짜 목록 로드/추가/삭제
- [ ] 리드 계정: 결과가 본인 팀만 포함되는지 확인
- [ ] 개별 체크 토글 → PUT 저장 → 요약 재조회 일관성 확인
- [ ] 전체 체크/해제 동작 및 요약 일관성 확인
- [ ] 관리자 계정: 쿼리로 필터 동작 확인
- [ ] 토큰 만료 시 withCredentials 기반 재발급(있을 경우) 확인
feat(core-attendance/front): meetings API로 마이그레이션 및 출석 UX 개편
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣ Related Issue
📝 PR Description
Screenshots (선택)
💬 Reviewer Request (선택)