feat(market): funnel visitors without BitFun to the download page - #2421
Merged
bobleer merged 3 commits intoAug 21, 2026
Merged
Conversation
…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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
MiniApp 市场和 Skin 市场的网页上都没有「下载 BitFun 客户端」的入口。从分享链接进来的访客拿到的是一个
.bfminiapp包或外观包 —— 没有桌面端就用不了,页面上却没有任何后续动作可做。Skin 市场原本有一条安装提示,但它指向 GitHub releases 列表,这不是新用户该落地的地方。
改动
两个市场的目录页和详情页都加上同一个引流卡片,指向
https://openbitfun.com/download:两边各自新增
GetBitfunCta.tsx和links.ts(Skin 的links.ts用BITFUN_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-marketpnpm run type-check:skin-market/test:skin-market/build:skin-marketpnpm run i18n:contract:test、pnpm run i18n:audit发布状态
已按
deploy/miniapp-market/README.md和deploy/skin-market/README.md从本分支 commit 发布到生产(未走 main):bitfun-miniapp-market→000f16945,healthybitfun-skin-market→f3fa4f92c,healthy合并后如果从 main 重新发布,需要确认 main 上已经包含这几个 commit,否则会把线上改动顶掉。