gitpoint / gitpoint/git-point

Browser redirect inside app

未关闭
#741 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good for beginners help wanted
主要语言
JavaScript
星标
4.8k
派生
771
PR 合并指标
30 天内没有已合并 PR

描述

When I click on a different Github link from an issue comment, isn't it supposed to redirect me to the actual issue inside that repository instead of opening my default browser and redirecting to the url from there?

I think a solution to this would be if you detected whether or not a comment includes a Github link, then add an onClick property to the link and prevent the default action, so that instead of actually opening the browser, it instead executes an action which redirects the user to the repository inside the app.

贡献指南

打开贡献指南

调研方向

首先定位 React Native 应用中 issue 评论里的链接是如何渲染的,并追踪指向其他 repository 的 GitHub 链接的行为。完成标准是:评论中的 GitHub issue 链接会在应用内打开对应的 issue,而不是在默认浏览器中打开;报告中未指定任何文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react-native
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

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