Skip to content

fix(web): 统一协议显示规范 - #498

Merged
tbphp merged 1 commit into
v2from
tbphp/unify-protocol-labels
Aug 30, 2026
Merged

fix(web): 统一协议显示规范#498
tbphp merged 1 commit into
v2from
tbphp/unify-protocol-labels

Conversation

@tbphp

@tbphp tbphp commented Aug 30, 2026

Copy link
Copy Markdown
Owner

关联 Issue / Related Issue

变更内容 / Change Content

  • Bug 修复 / Bug fix

  • 新功能 / New feature

  • 其他改动 / Other changes

  • 移除 openai-embeddings 在 AccessKey、路由检查、日志筛选和凭据测试中的专用友好名称与端点说明。

  • 所有协议统一展示 canonical value,不新增统一展示层或其他抽象。

  • 删除不再使用的三语专用协议文案,并同步更新正式 Embeddings 实施方案。

兼容性:仅调整前端展示;协议值、管理 API、数据面路由和持久化均不变,无数据迁移。

自查清单 / Checklist

  • 我已运行 make check,或在说明中写明无法运行的原因和未验证范围。 / I ran make check, or documented why it could not run and what remains unverified.
  • 本 PR 范围聚焦,未包含无关改动。 / This PR is focused and contains no unrelated changes.
  • 我已更新必要的公开文档或发布说明。 / I updated any required public documentation or release notes.
  • 我已确认提交、日志和测试数据不包含敏感信息。 / I confirmed that commits, logs, and fixtures contain no sensitive data.
  • 如适用,我已说明兼容性或数据迁移影响。 / Where applicable, I documented compatibility or data-migration impact.

Summary by CodeRabbit

  • 体验改进
    • 访问密钥、凭据测试、监控检查器及日志筛选中的协议名称统一显示原始协议值。
    • 移除协议选项和检查表单中的额外描述文字,界面展示更加一致简洁。
  • 本地化
    • 清理英语、日语和简体中文界面中不再使用的相关协议标签与描述翻译。

Copilot AI lite review requested due to automatic review settings August 30, 2026 02:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-30T02:22:22.109555Z 6012169 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: QUIET

Plan: Pro Plus

Run ID: 7794a916-5d78-448f-b36e-ba5e17945a02

📥 Commits

Reviewing files that changed from the base of the PR and between aee2111 and 6012169.

📒 Files selected for processing (9)
  • web/src/features/access-keys/AccessKeyCollection.vue
  • web/src/features/access-keys/AccessKeyScopeEditor.vue
  • web/src/features/groups/credentials/CredentialTestDialog.vue
  • web/src/features/monitor/InspectorForm.vue
  • web/src/features/monitor/InspectorTab.vue
  • web/src/features/monitor/LogsAdvancedFilterDrawer.vue
  • web/src/i18n/locales/en-US/core.ts
  • web/src/i18n/locales/ja-JP/core.ts
  • web/src/i18n/locales/zh-CN/core.ts
💤 Files with no reviewable changes (4)
  • web/src/i18n/locales/en-US/core.ts
  • web/src/i18n/locales/ja-JP/core.ts
  • web/src/i18n/locales/zh-CN/core.ts
  • web/src/features/monitor/InspectorForm.vue

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

前端各处的协议选项和结果字段现在直接显示原始协议值。代码移除了 openai-embeddings 的专用标签、描述及相关属性。英文、日文和中文翻译资源中删除了对应的标签与描述键。

Merge Risk: ⚪ Minimal · up to 60121

This change standardizes protocol labels in the web interface without changing protocol values, APIs, routing, or persistence. No actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed 标题“fix(web): 统一协议显示规范”准确概括了本次将 Web 端协议统一显示为 canonical value 的主要变更,内容简洁且与改动相关。
Description check ✅ Passed 描述包含关联 Issue、变更内容、兼容性影响和自查清单。虽然关联 Issue 使用“无”而不是模板中的“Closes #”,但已明确说明无关联 Issue;整体内容完整且与变更一致。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (5 skipped: 5 unsupported.)

✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch tbphp/unify-protocol-labels

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tbphp tbphp self-assigned this Aug 30, 2026
@tbphp tbphp added the bug Something isn't working label Aug 30, 2026
@tbphp tbphp added this to the v2.0.0 milestone Aug 30, 2026
@tbphp
tbphp merged commit 4479553 into v2 Aug 30, 2026
7 checks passed
@tbphp
tbphp deleted the tbphp/unify-protocol-labels branch August 30, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants