Repository navigation
Research: fit long model names in the model selector and name Kimi K3 - #1275
Merged
Merged
Conversation
The composer's model chip now grows to the full name when the row has room and truncates otherwise, so long names such as DeepSeek V4.1 Flash, DeepSeek Uncensored and GLM-5.3 Flash no longer push the composer controls onto a second row on phones. Phones show the thinking level as its tinted icon only. The More models menu is 320px wide and keeps each row on one line, with the badges, lock and check inline and every row the same height. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The upgrade prompts, pricing plans and promo dialog still listed Kimi K2.6, which is no longer served. They now name Kimi K3, the current Kimi model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Maple development preview: https://ceeabc60.maple-ca8.pages.dev Commit: Uses development API, billing, flags and PCR configuration. Cloudflare Access applies. |
This branch was successfully deployed
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.
Long model names broke the Research model selector. On phones, the composer's model button pushed the other composer buttons onto a second row. In the More models list, "DeepSeek V4.1 Flash Uncensored" wrapped onto two lines, with its badge and check mark pushed to the edge. This PR keeps both on one line. A second commit replaces the retired Kimi K2.6 with Kimi K3 in the plan and upgrade copy.
Changes
ModelSelector.tsx):grow basis-20 max-w-max min-w-0).ThinkingLevelSelector.tsx):sm, the button shows only its icon, which is already tinted when the level isn't Default.w-80(320px, was 256px).leading-4, so rows with a badge are no longer 4px taller than the rest.UpgradePromptDialog.tsx,pricingConfig.tsxandPromoDialog.tsx. Unchanged on purpose: Agent Mode's migration of a savedkimi-k2-6preference, and the tests that check K2.6 is rejected.Verification
Setup:
uncensored_deepseekoverride.All 51 measured composer states are on one row after the change. The 320px menu stays on screen at 375px.
Checks: the pre-commit hook passed on both commits: Research format, lint (0 errors), typecheck, and 1371 tests.
Not tested:
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.