fix: QuotePermission badge label Basic → Free#1121
Merged
Conversation
之前注册就送的是 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>
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>
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.
背景
PR #1120(Nasdaq Basic → US LV1 全量替换)合并并部署后发现:文档中所有
<QuotePermission>组件的 badge 仍显示 "Basic" / "基础行情",而非预期的 "Free"。根因:
quote-permissions.yaml的levels.basic.label字段控制 badge 文字,PR #1120 更新了各命令的description,但遗漏了这个label字段。修改
quote-permissions.yamllevels.basic.label.enBasicFreequote-permissions.yamllevels.basic.label.zh-CN基础行情免费quote-permissions.yamllevels.basic.label.zh-HK基礎行情免費影响范围
所有使用
<QuotePermission command="..." />或<QuotePermission level="basic" />的文档页面(CLI market-data、quote subscribe、watchlist 等),badge 从 "Basic" 变为 "Free",与 Pricing 页面 US LV1 "Free" 标签一致。验证
🤖 Generated with Claude Code