Skip to content

feat(notification): 알림 리스트 화면 추가 (#33)#54

Merged
kangddong merged 3 commits into
developfrom
feat/33-notification-list
Jun 29, 2026
Merged

feat(notification): 알림 리스트 화면 추가 (#33)#54
kangddong merged 3 commits into
developfrom
feat/33-notification-list

Conversation

@kangddong

Copy link
Copy Markdown
Collaborator

개요

캘린더 nav 우상단 종 아이콘 → 알림 리스트 화면으로 push, GET /notifications(cursor 페이징)로 알림함을 조회합니다. Closes #33

변경 사항

신규 — 알림 리스트

  • DoriNetwork: FetchNotificationsEndpoint(cursor:size:), NotificationItemResponse/NotificationPageResponse
  • Feature/Notification 모듈: NotificationListAPIClient(.live 주입) · NotificationListFeature(cursor 무한 스크롤) · NotificationListView(목록/빈상태/로딩) · NotificationRowView(제목·본문·시간·안읽음 점)
  • 캘린더: @Presents notificationList + navigationDestination, nav 우상단 종 아이콘

리팩터 — 알림 설정 모듈 이전

  • NotificationSettingsFeature/NotificationSettingsView/DoriToggleSwitchMyPage → Notification 모듈로 이동(알림 도메인 응집). MyPage·알림리스트가 동일 설정 화면 재사용
  • 알림 리스트 nav 우상단 설정 아이콘 → 알림 설정 화면 push

UX

  • 알림 화면 진입 시 커스텀 탭바 숨김(isTabBarVisiblecalendar.notificationList == nil 추가)
  • 다크모드 아이콘 가시성: renderingMode(.template) + nav foregroundStyle(.textPrimary)

결정 사항 (이슈 협의)

  • 종 배지 on/off: 단일 아이콘 고정(unread API 부재, 후속)
  • 알림 항목 탭: 동작 없음(이번 범위)
  • 페이징: cursor 무한 스크롤

검증

  • xcodebuild build(iPhone 16 / 17 Pro 26.4) BUILD SUCCEEDED
  • FeatureNotificationTests 6/6 (첫 로드·재진입 가드·무한스크롤·hasNext 가드·에러)
  • FeatureMyPage 회귀 18/18 (이전한 설정/토글 스냅샷 포함)
  • FeatureCalendarTests 8/8 (종 아이콘 추가로 CalendarGrid baseline 재기록)
  • 시뮬 실서버: GET /notifications?size=20 200 + 디코딩 확인

후속 (별건)

  • 종 배지 on/off, 알림 항목 탭 네비게이션, 정식 스냅샷 baseline(피그마 spec)
  • DoriToggleSwitch는 범용 컴포넌트 → 향후 DesignSystem 승격 검토
  • MyPage에 남은 설정/토글 스냅샷 테스트를 Notification 테스트로 이전

🤖 Generated with Claude Code

kangddong and others added 3 commits June 12, 2026 01:40
- 캘린더 nav 우상단 종 아이콘 → 알림 리스트 화면 push
- GET /notifications (cursor 페이징) + 무한 스크롤, 빈/목록 상태, 안읽음 표시
- 알림 설정 화면을 MyPage → Notification 모듈로 이전, 알림 리스트에서 설정 진입
- 알림 화면 진입 시 커스텀 탭바 숨김
- 다크모드 아이콘 가시성: renderingMode(.template) 적용
- CalendarGrid 스냅샷 baseline 재기록(종 아이콘 추가), 유닛 테스트 6종

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…mment truncation

Generated Common.xcconfig wrote raw https:// which xcconfig parses as a
comment, truncating BASE_URL to "https:" and causing CannotFindHost at
runtime. Switch printf to single quotes so the \$() trick survives into
the file, matching the local Common.xcconfig convention.
@kangddong kangddong merged commit 11ce0e6 into develop Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

알림 리스트 화면 추가

1 participant