Skip to content

fix: QuotePermission badge label Basic → Free#1121

Merged
huacnlee merged 5 commits into
mainfrom
fix/quote-permission-basic-label
Jun 29, 2026
Merged

fix: QuotePermission badge label Basic → Free#1121
huacnlee merged 5 commits into
mainfrom
fix/quote-permission-basic-label

Conversation

@endless-bot

@endless-bot endless-bot commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

背景

PR #1120(Nasdaq Basic → US LV1 全量替换)合并并部署后发现:文档中所有 <QuotePermission> 组件的 badge 仍显示 "Basic" / "基础行情",而非预期的 "Free"。

根因:quote-permissions.yamllevels.basic.label 字段控制 badge 文字,PR #1120 更新了各命令的 description,但遗漏了这个 label 字段。

修改

文件 字段 Before After
quote-permissions.yaml levels.basic.label.en Basic Free
quote-permissions.yaml levels.basic.label.zh-CN 基础行情 免费
quote-permissions.yaml levels.basic.label.zh-HK 基礎行情 免費

影响范围

所有使用 <QuotePermission command="..." /><QuotePermission level="basic" /> 的文档页面(CLI market-data、quote subscribe、watchlist 等),badge 从 "Basic" 变为 "Free",与 Pricing 页面 US LV1 "Free" 标签一致。

验证

bun run dev
# 访问任意 CLI 行情命令文档,如 /docs/cli/market-data/quote
# 确认 QuotePermission badge 显示 "Free" 而非 "Basic"

🤖 Generated with Claude Code

endless-bot and others added 2 commits June 29, 2026 04:25
之前注册就送的是 Nasdaq Basic,而我们现在调整为注册就用 US LV1 了,我们现在不需要写 Nasdaq Basic 了。US

Generated by Endless task #29.

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
levels.basic.label was showing "Basic"/"基础行情"/"基礎行情" as the
badge text in the QuotePermission component across all CLI and API
docs pages. This was leftover from the Nasdaq Basic → US LV1 migration
(PR #1120) which updated command descriptions but missed this label.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@endless-bot endless-bot changed the title 检查整个项目更新 Pricing 关于行情授权的规则。 之前注册就送的是 Nasdaq Basic,而我们现在调整为注册就用 US LV1 了,我们现在不需要写 Nasdaq Basic 了。US fix: QuotePermission badge label Basic → Free Jun 29, 2026
endless-bot and others added 3 commits June 29, 2026 07:07
depth shows US LV1 1-level bid/ask free by default, so the badge
should be "Free" (basic), not "LV1 Real-time" (lv1/paid).
The command-level description already explains HK requires LV1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
之前注册就送的是 Nasdaq Basic,而我们现在调整为注册就用 US LV1 了,我们现在不需要写 Nasdaq Basic 了。US

Generated by Endless task #29.

Co-authored-by: Huacnlee Li Huashun <huacnlee@longbridge-inc.com>
@huacnlee huacnlee merged commit 5cc6eb5 into main Jun 29, 2026
2 checks passed
@huacnlee huacnlee deleted the fix/quote-permission-basic-label branch June 29, 2026 07:33
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.

2 participants