Repository navigation
feat(home): 重做默认公开首页(品牌与服务说明),公开页头隐藏未知版本 - #47
Merged
Merged
Conversation
商标证据(OPENPALM)需要一张能说明服务内容的未登录首页截图。 - 首页首屏显示 status.system_name 品牌名,并用一句话说明这是用于管理、路由、监控和分析 AI 模型与 API 访问及使用情况的统一 API 网关 / SaaS 平台 - 功能区改为四块:统一接入、路由与负载均衡、用量监控与分析、密钥与计费管理 - 删除无法核实的统计数字(50+/100+/50+/10+)及其组件 - 去掉首页文案中的 NewAPI 字样;docs_link 未配置时不再回落到 docs.newapi.pro,直接隐藏文档按钮 - 公开页头的版本标签在版本未知时不渲染(管理员更新对话框与应用内页头不变) - 仅改 en.json / zh.json,新增 13 个键;保留 AGPL 头与页脚上游署名 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
HQ-Review R1 @ 7aca004: APPROVE 逐项核对了 diff 和相关源码:改动范围只在首页、公开页头版本标签和 en/zh 两个语言文件,没有动 Go、计费、鉴权、AGPL 头和页脚上游署名, 以下各项都不阻塞合并:
|
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.
目标:让未登录首页的首屏截图能清楚显示 OpenPalm 品牌和服务说明(用作商标使用证据)。
HQ-Task: T261114-02
变更
status.system_name,并说明这是用于管理、路由、监控和分析 AI 模型与 API 访问及使用情况的统一 API 网关 / SaaS 平台。Stats、StatItem组件和常量)。docs_link未配置时不再回落到 docs.newapi.pro,直接隐藏文档按钮。hideWhenVersionUnknown,只有公开页头使用;管理员更新对话框与应用内页头不变)。en.json、zh.json(新增 13 个键,插入在 translation 末尾);AGPL 头与页脚上游署名未动。验证(实测,Windows,Bun 1.4.0)
bun install --frozen-lockfile通过;bun x tsc -b(tsc 7.0.2,等价bun check -b)无错误。bun run test:244 个文件 / 2720 个用例全部通过(含新增的版本标签隐藏用例)。bun run build成功。OpenPalm与服务说明;不含NewAPI、Unknown version、旧统计数字。未处理 / 注意
© 2026 New API(上游署名,按要求保留,在首屏之外)。docs_link默认值为 https://docs.newapi.pro,未配置时页头与首页的“文档”按钮仍指向它(Go 代码,不在本任务范围)。🤖 Generated with Claude Code