Skip to content

Revert "[fix] 공유하기 브리징 제거"#10

Merged
seongwon030 merged 1 commit intomainfrom
revert-7-fix/share-bridge-delete
Jan 25, 2026
Merged

Revert "[fix] 공유하기 브리징 제거"#10
seongwon030 merged 1 commit intomainfrom
revert-7-fix/share-bridge-delete

Conversation

@seongwon030
Copy link
Member

@seongwon030 seongwon030 commented Jan 25, 2026

웹 share api가 브리지없이 동작하지 않아서 다시 복구했습니다..

Summary by CodeRabbit

릴리스 노트

  • New Features
    • 공유 기능이 추가되었습니다. 이제 사용자는 제목, 텍스트, URL 정보와 함께 콘텐츠를 공유할 수 있습니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@seongwon030 seongwon030 self-assigned this Jan 25, 2026
@seongwon030 seongwon030 merged commit 4fdeed9 into main Jan 25, 2026
1 check was pending
@coderabbitai
Copy link

coderabbitai bot commented Jan 25, 2026

Caution

Review failed

The pull request is closed.

스크린샷

WebView를 통한 공유 기능을 구현하기 위해 메시지 핸들러 훅과 타입을 확장하고, 클럽 상세 화면에 Share 지원을 추가했습니다.

변경사항

응집 / 파일(들) 변경 요약
WebView 메시지 타입 정의
types/webview-message.types.ts
SHARE 메시지 타입 추가: { type: 'SHARE'; payload: { title: string; text: string; url: string } }
메시지 핸들러 훅
hooks/use-webview-message-handler.ts
onShare 콜백 옵션 추가 및 WebViewMessageTypes.SHARE 메시지 처리 로직 구현
클럽 상세 화면
ui/club-detail/club-detail-screen.tsx
react-native Share API 통합, useWebViewMessageHandler에 onShare 핸들러 구현, 임포트 경로 단일 인용부호 정규화

시퀀스 다이어그램

sequenceDiagram
    actor WebView
    participant Handler as useWebViewMessageHandler
    participant Screen as ClubDetailScreen
    participant Share as React Native Share

    WebView->>Handler: WebViewMessage { type: 'SHARE', payload }
    Handler->>Handler: Switch on message type
    Handler->>Screen: onShare(payload)
    Screen->>Share: Share.share({ title, text, url })
    Share->>Share: Native share dialog
    Share-->>Screen: Share complete/cancel
    Screen-->>Handler: Promise resolved
Loading

예상 코드 리뷰 노력

🎯 2 (Simple) | ⏱️ ~12분

관련 가능성 있는 PR

제안된 리뷰어

  • SeongHoonC
✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@seongwon030 seongwon030 deleted the revert-7-fix/share-bridge-delete branch January 25, 2026 09:51
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