Skip to content

改变端点映射文案 - #2896

Merged
Calcium-Ion merged 1 commit into
QuantumNous:mainfrom
seefs001:fix/tips-model-manager
Feb 8, 2026
Merged

改变端点映射文案#2896
Calcium-Ion merged 1 commit into
QuantumNous:mainfrom
seefs001:fix/tips-model-manager

Conversation

@seefs001

@seefs001 seefs001 commented Feb 8, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • UI/UX Changes
    • Updated the model endpoint configuration interface with persistent warning banners for improved clarity regarding endpoint scope.
    • Simplified the endpoint field label across all supported languages (English, French, Japanese, Russian, Vietnamese, and Chinese).
    • Replaced inline tooltips with prominent alert banners to better highlight configuration scope information.

@coderabbitai

coderabbitai Bot commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

Modified the EditModelModal component to replace inline tooltip hints with persistent Banner components displaying endpoint scope warnings. Updated translation keys across six language locales, removing a detailed notice and introducing a concise endpoints field label.

Changes

Cohort / File(s) Summary
Modal Component Updates
web/src/components/table/models/modals/EditModelModal.jsx
Replaced Tooltip + IconInfoCircle with Banner + IconAlertTriangle to display persistent warnings near vendor selection and endpoints JSON editor. Updated endpoints field label from composed tooltip-rich text to simplified translated string.
Localization Updates
web/src/i18n/locales/en.json, fr.json, ja.json, ru.json, vi.json, zh.json
Added new translation entry "在模型广场向用户展示的端点" with language-specific equivalents. Removed outdated notice entry about endpoint mapping display-only behavior across all language files.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • #2582: Directly related modification to EditModelModal.jsx's endpoints UI — this PR replaces Tooltip+Info icon with persistent Banner, contrasting with the complementary approach in the retrieved PR.

Poem

🐰 A banner waves where tooltips hid,
Warning signs for all the kids,
Six tongues now speak the endpoint call,
Cleaner UI to serve us all!
Labels refined, the old note gone,
Modal magic carries on! ✨

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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 and usage tips.

@Calcium-Ion
Calcium-Ion merged commit f4f144b into QuantumNous:main Feb 8, 2026
1 check was pending
ennnnny pushed a commit to ennnnny/new-api that referenced this pull request Mar 17, 2026
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