Skip to content

feat(market): funnel visitors without BitFun to the download page - #2421

Merged
bobleer merged 3 commits into
GCWing:mainfrom
bobleer:bob/miniapp-market-download-button-dfd68b
Aug 21, 2026
Merged

feat(market): funnel visitors without BitFun to the download page#2421
bobleer merged 3 commits into
GCWing:mainfrom
bobleer:bob/miniapp-market-download-button-dfd68b

Conversation

@bobleer

@bobleer bobleer commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

问题

MiniApp 市场和 Skin 市场的网页上都没有「下载 BitFun 客户端」的入口。从分享链接进来的访客拿到的是一个 .bfminiapp 包或外观包 —— 没有桌面端就用不了,页面上却没有任何后续动作可做。

Skin 市场原本有一条安装提示,但它指向 GitHub releases 列表,这不是新用户该落地的地方。

改动

两个市场的目录页和详情页都加上同一个引流卡片,指向 https://openbitfun.com/download

  • MiniApp 市场:首页 hero 文案下方,以及详情页「下载 .bfminiapp / 收藏」按钮下方。
  • Skin 市场:目录页 masthead 右栏(替换原来指向 GitHub releases 的安装提示),以及详情页下载按钮下方。详情页保留「设置 > 外观」的导入说明,改为一行普通提示,服务已经装了 BitFun 的用户。

两边各自新增 GetBitfunCta.tsxlinks.ts(Skin 的 links.tsBITFUN_DOWNLOAD_URL 取代不再使用的 BITFUN_RELEASES_URL)。文案按各自的语言集补齐:MiniApp 三语(en-US / zh-CN / zh-TW),Skin 双语(en-US / zh-CN)。

第三个 commit 是发布时发现的既有问题:src/apps/skin-market-server/Dockerfile 没有把 patches/ 拷进构建上下文,pnpm install --frozen-lockfile 会在校验 patch 哈希时直接失败。和 55a7dc0 给 MiniApp 镜像做的修复相同。

验证

  • pnpm run type-check:miniapp-market / test:miniapp-market / build:miniapp-market
  • pnpm run type-check:skin-market / test:skin-market / build:skin-market
  • pnpm run i18n:contract:testpnpm run i18n:audit
  • 本地 Vite 代理生产 API,人工检查四个界面(两市场 × 目录/详情)、中英文、深浅色、桌面与移动宽度。

发布状态

已按 deploy/miniapp-market/README.mddeploy/skin-market/README.md 从本分支 commit 发布到生产(未走 main):

  • bitfun-miniapp-market000f16945,healthy
  • bitfun-skin-marketf3fa4f92c,healthy

合并后如果从 main 重新发布,需要确认 main 上已经包含这几个 commit,否则会把线上改动顶掉。

…page

A .bfminiapp package is inert without the desktop client, so a visitor who
lands on a shared listing link had no way to act on it. The catalog hero and
every listing now carry the same callout to https://openbitfun.com/download.
The catalog masthead and every appearance page pointed at the GitHub releases
list, which is not where a new user should land. Both now carry the same
callout to https://openbitfun.com/download, and the detail page keeps the
"Settings > Appearance" import hint as a plain line for people who already
run BitFun.
pnpm hashes every patch named by the workspace lockfile, so a build context
without `patches/` fails `pnpm install --frozen-lockfile` before any web
source is copied. Same fix as 55a7dc0 did for the MiniApp image.
@bobleer
bobleer merged commit 29d0bcc into GCWing:main Aug 21, 2026
10 checks passed
@bobleer
bobleer deleted the bob/miniapp-market-download-button-dfd68b branch August 21, 2026 11:44
1688mengdie pushed a commit to 1688mengdie/BitFun that referenced this pull request Aug 21, 2026
…ng#2421-GCWing#2423, miniapp/skin market download funnel, set-build-version drop --offline)

Sync upstream/main d5f3c5e: 6 commits (GCWing#2423 beta-build cargo update online / GCWing#2421 miniapp-market download button / drop --offline from workspace lockfile sync / skin-market pnpm patches / skin+miniapp market funnel visitors to download page). Zero conflicts; local customizations (Cargo.lock ratatui/bitflags/image, skin-market-server Cargo.toml) untouched.
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