Skip to content

[#399] 위젯 탭 내비게이션을 연결한다#404

Merged
opficdev merged 4 commits intodevelopfrom
feat/#399-widget-navigation
Apr 30, 2026
Merged

[#399] 위젯 탭 내비게이션을 연결한다#404
opficdev merged 4 commits intodevelopfrom
feat/#399-widget-navigation

Conversation

@opficdev
Copy link
Copy Markdown
Owner

🔗 연관된 이슈

📝 작업 내용

📌 요약

  • Today 위젯 탭 시 TodayView로 이동하도록 딥링크 연결
  • Heatmap 위젯 탭 시 ProfileView로 이동하도록 딥링크 연결

🔍 상세

  • 위젯별 진입 URL을 정의하는 WidgetDeepLink 추가
  • 위젯 URL을 앱 탭으로 변환하는 MainTab 추가
  • MainViewTabView에 선택 상태와 탭 태그 적용
  • 로그인된 메인 화면에서만 위젯 URL 이벤트를 처리하도록 구성
  • Today/Heatmap 위젯에 각각 widgetURL 지정

📸 영상 / 이미지 (Optional)

Today.MP4
default.MP4
투데이 히트맵

@opficdev opficdev self-assigned this Apr 30, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이번 PR은 위젯에서 앱의 특정 탭으로 이동할 수 있는 딥링크 기능을 구현합니다. MainTab 열거형을 정의하고 MainView가 프로그래밍 방식의 탭 선택을 지원하도록 수정했으며, RootView에 딥링크 처리 로직을 추가했습니다. 리뷰에서는 로그인 여부와 관계없이 사용자의 진입 의도를 유지하여 UX를 개선할 것과, URL 생성 시 강제 언래핑 대신 URLComponents 등을 사용하여 안정성을 높일 것을 제안했습니다.

Comment thread DevLog/App/RootView.swift
Comment thread WidgetShared/WidgetDeepLink.swift Outdated
@opficdev opficdev merged commit 41ff16a into develop Apr 30, 2026
1 check passed
@opficdev opficdev deleted the feat/#399-widget-navigation branch April 30, 2026 14:16
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