feat(web): model pill — brand glyph + model name capsule in proxy-logs - #1371
Closed
DeliciousBuding wants to merge 1 commit into
Closed
DeliciousBuding wants to merge 1 commit into
DeliciousBuding wants to merge 1 commit into
Conversation
Model identifiers rendered as plain truncated text; a capsule with the brand glyph (existing vendored BrandIcon set) reads faster and matches the established models-page brand column. Unknown models degrade to the plain name (no empty pill); token-driven surface works in both themes. Co-authored-by: Cursor <cursor@vectorcontrol.tech>
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.
用户建议参考上游日志页的模型胶囊(品牌 logo + 型号名)。按 clean-room 约束只参考信息架构,用本仓已有的 vendored BrandIcon 资产 + token 体系自研实现:
ModelPill(components/common):胶囊 = 品牌字形 + 截断型号名;未知模型退化为纯文本(不渲染空胶囊);bg-muted/40+ 细边框,双主题实证截图。vitest 相关域 52 全绿(含 3 个新组件测试)· lint/format/knip 绿 · 双主题截图人工过目。