Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

다른 호스트로 이동해야할 때 처리에 관하여

オープン
#629 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
react, typescript

調査の方向性

ファイル、テスト、またはエントリポイントは指定されていません。まず、外部の PG-payment または SNS-login フローに対応する StackFlow の既存のアクティビティ、ナビゲーション、プラグインのサーフェスを確認してください。完了とするには、合意された実装方針が必要ですが、この議論ではまだ定義されていません。

索引モデルが issue の本文から書いたものです。

説明

(english question follows korean)

안녕하세요, StackFlow 도입 과정에서 기술적인 확인이 필요하여 질문드립니다!

서비스를 만들며 PG 결제 / SNS 로그인처럼 특정 상황에서 서비스 외부로 이동했다가 다시 특정 Activity로 돌아오는 수요가 있는데요.
이 수요를 어떤 방식으로 구현하는게 당근 팀에서 생각하는 모범답안일지가 궁금합니다.

지금 당장 생각했던 방향성으로는, 페이지 이동 / 팝업등의 이벤트를 가로채 외부 서비스일 경우,
사전에 준비한 iframe만 존재하는 Activity로 이동을 시켜 프로세스를 진행하게 하는것이 제일 먼저 생각나는데요.

이럴 경우에는 iframe에서 프로세스가 완료되었을때 postMessage 등을 사용해서 callback 처리를 별도로 해야하는 불편함이 생기지만,
지금의 상황에서는 가장 최적해라고 판단할수도 있는데요.

-> SOP 문제를 잊고 있었네요 🫠

혹시라도 실제로 사용하고 계신 레퍼런스 / 더 좋은 구현 방안이 있다면 같이 논의해보면 행복할 듯 합니다!
감사합니다 :)

--

Hello, I have a question regarding the technical aspects of StackFlow implementation.

While developing a service, there's a need to navigate outside the service and then return to a specific activity in certain situations, such as PG payments or SNS logins.
I'm curious about the Carrot team's best approach for implementing this requirement.

The direction I'm currently considering is intercepting events like page transitions and pop-ups, and if it's an external service,
the first thing that comes to mind is to navigate to an activity that only contains a pre-prepared iframe and proceed with the process.

This approach requires a separate callback using postMessage or something similar when the process is completed in the iframe, which is inconvenient.
But for the current situation, this may be the most optimal solution.

-> I forgot about the SOP issue. 🫠

If you have any references or better implementations you're using, I'd be happy to discuss them!
Thank you :)

主要言語
TypeScript
スター
1k
フォーク
114
平均マージ
59分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

daangn/stackflow のほかの issue

daangn/stackflow の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。