feat: QR code for sharing results — scan to see speed on your phone

未关闭 适合新手
#45 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
领域
frontend, web-dev

调研方向

阅读包含现有 Share 按钮的 popup 代码,找到 buildShareUrl() 和 popup 的 Canvas 渲染入口。使用轻量级 QR 库添加一个 QR 按钮,用于显示该 URL 的二维码。完成标准是二维码显示在 popup 中,并且用手机扫描后可打开现有的可分享结果页面。

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

描述

community enhancement UX

Summary

Generate a QR code in the popup that links to the shareable result URL, so users can scan it with their phone to see or share the result.

Use case
  • User runs a test on their laptop
  • Wants to show ISP support agent on the phone
  • Clicks "QR" button → QR code appears in popup
  • Scans with phone → opens result page on phone
  • Shares directly from phone to WhatsApp, email, etc.
Why
  • QR sharing is natural in India (UPI payments trained everyone to scan QR codes)
  • Bridges desktop extension to mobile sharing seamlessly
  • Unique — no speed test extension has this
  • Tiny implementation (QR generation is ~3KB library)
Implementation
  • Use lightweight QR library (qrcode-generator, ~3KB minified)
  • Generate QR for the existing buildShareUrl() output
  • Display in popup via Canvas element
  • Add "QR" button next to existing Share button
主要语言
TypeScript
星标
1
派生
0
平均合并
15 天 20 小时
30 天内合并 PR
3

环境准备

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

从这里开始

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

ajithakdev/meterx 的其他 Issue

查看 ajithakdev/meterx 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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