Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#629 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
react, typescript

调研方向

未指定任何文件、测试或入口点。首先检查 StackFlow 现有的 activity、navigation 和 plugin 接口,了解其对外部 PG-payment 或 SNS-login 流程的支持;要视为完成,需要一个达成共识的实现方案,而本次讨论尚未定义该方案。

由索引模型根据 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 分钟
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

daangn/stackflow 的其他 Issue

查看 daangn/stackflow 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。