Repository navigation
feat(community): 新增 GitHub 社区贡献捐赠荣誉体系、典藏皮肤与 Token 加速 - #680
Merged
Merged
Conversation
- 新增 docs/donate/supporters.json 与 README 兜底解析,内置维护者 TNT-Likely 最高荣誉特判 - 接入 GitHub Token(零写权限只读 PAT)解除检查更新与 Star 请求 60/h 速率限制,支持 401 自动降级与 403/429 快捷引导 - 新增「GitHub 社区与 Token」页面,聚合 6 个生态关联项目贡献统计与捐赠核验 - 新增 3 款主仓典藏日夜动态皮肤(青灯刻木 / 松间采蜜 / 星野归巢)、我的页头像光环与荣誉徽章、以及分享海报方案 A 纸面落款印 - 补齐简中 / 繁中 / 英文文案与 15 条单元/组件测试
- docs/donate/supporters.json 新增 SeanHuang413(春风亭,微信支付 ¥9.99,issue #678),updatedAt 更新为 2026-12-01 - README.md / README_EN.md 支持者表格按金额降序插入对应条目
Owner
Author
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.
改动说明
新增本机只读 GitHub Personal Access Token 配置能力、BeeCount 家族 6 仓贡献与捐赠支持者统计,以及 3 项社区荣誉奖励与暗黑模式皮肤标签对比度修复。
1. GitHub 只读 Token 与限流加速
lib/services/github/github_token_store.dart):Token 严格仅存于本机SharedPreferences,不参与云同步、配置导入导出与日志输出;支持脱敏展示与 24 小时缓存。lib/services/update/update_checker.dart、lib/providers/github_star_provider.dart):自动注入Bearer鉴权头将限流从60 次/小时提升至5,000 次/小时;遇 HTTP 401 自动标记失效并降级匿名请求;遇 403/429 限流在非 iOS 平台弹窗提供「配置 Token」快捷入口。2. 生态 6 仓贡献汇总与支持者名单
docs/donate/supporters.json):新增含维护者特判(TNT-Likely)、档位阈值(1 / 50 / 150)与 README 完整支持者列表的 JSON(含最新捐赠支持者春风亭 [Donation] #678)。pubspec.yaml、lib/services/github/github_community_service.dart):将docs/donate/supporters.json直接打包随包兜底,同时在刷新时优先动态拉取 GitHubmain最新版并持久化到本机缓存,不发版即可实时更新支持者名单。BeeCount、BeeCount-Cloud、BeeCount-Website、BeeCount-Design、beecount-openharmony、honeycomb;代码贡献严格按Commit > 0 || 已合并 PR > 0计入(不含 Issue)。3. 社区荣誉体系与 3 项奖励
lib/pages/settings/github_community_page.dart、lib/pages/settings/about/bindings/support_about_controls.dart、lib/pages/main/mine/widgets/mine_profile.dart):TNT-Likely享有最高级「蜂巢共创者」三峰皇冠双层光环与全部奖励;lib/styles/header_skins/community_skins.dart、assets/community_skins/):青灯刻木(代码贡献者)、松间采蜜(捐赠支持者)、星野归巢(双重共创者 / 维护者);lib/pages/shared/widgets/community_honor_widgets.dart):可独立开关,点击徽章直达社区页。共创/ 靛青筑巢/ 琥珀暖蜜),可独立开关。4. 暗黑模式皮肤选择页标签对比度修复
lib/pages/settings/header_skin_page.dart在启用整页皮肤且处于暗黑模式时,因card.soft.withValues(alpha: 1)将 6% 半透明白拉满成#FFFFFFFF导致标签纯白不可读的问题,改为Color.alphaBlend(card.soft, card.overlay)。5. 本地化与测试
app_zh_TW.arb)与英文文案并通过flutter gen-l10n生成。test/github_community_test.dart、test/styles/header_skins_test.dart、test/widgets/v4_skin_selector_page_test.dart、test/widgets/v4_support_pages_test.dart)。隔离验收证据(App-Only)
beecount-qa-m1b_2tn9(仅 App 模式,不涉及 Cloud 服务端与双向同步)TNT-Likely/BeeCount @ 49770f648c89a4f7225ae352fa382b5267d6f560com.tntlikely.beecount.qa与专属 App Group(无 iCloud 权限残留)flutter analyze0 issues;核心社区/皮肤/支持页单元与组件测试全绿;beecount_business_ui6/6、scripts/qa23/23 全绿index.html(已通过unzip -t与SHA256SUMS校验,ZIP SHA-256:cd27b9667b899269856c97c832532b301796ac0a9c9a16b7802c4b66c40cb841;当前代理浏览器未登录 GitHub 网页会话,原版 HTML / ZIP 附件保存在本机验收目录,登录网页后可一键补传)@TNT-Likely真实头像supporters.json本地打包 + 动态更新缓存api.github.com/user401 报错回退、方案 A 落款印、冷重启持久化与解绑复位全通技术附录(构建身份与校验哈希)
TNT-Likely/BeeCount @ 49770f648c89a4f7225ae352fa382b5267d6f560com.tntlikely.beecount.qa,com.tntlikely.beecount.qa.BeeCountWidgetExtensioncd27b9667b899269856c97c832532b301796ac0a9c9a16b7802c4b66c40cb841index.html,可执行shasum -a 256 -c SHA256SUMS校验完整性。