History

Remove Ultrathink pill from composer header

- keep Ultrathink frame styling without extra wrapper padding toggles - drop the inline Ultrathink badge row in ChatView - clean up stray whitespace in ProviderService test

Julius Marminge committed 7 months ago

Commit 5c9cfcd1 parent e6254a82 files · +2 −10Browse files

Unified · Split

2 files
  1. apps/server/src/provider/Layers/ProviderService.test.ts +0 −1
  2. apps/web/src/components/ChatView.tsx +2 −9
apps/server/src/provider/Layers/ProviderService.test.ts+0−1
@@ -651,7 +651,6 @@ routing.layer("ProviderServiceLive routing", (it) => { · 650 unmodified lines
651 }),651 }),
652 );652 );
653 653
654
655 it.effect("lists no sessions after adapter runtime clears", () =>654 it.effect("lists no sessions after adapter runtime clears", () =>
656 Effect.gen(function* () {655 Effect.gen(function* () {
657 const provider = yield* ProviderService;656 const provider = yield* ProviderService;
apps/web/src/components/ChatView.tsx+2−9
@@ -3393,8 +3393,8 @@ export default function ChatView({ threadId }: ChatViewProps) { · 3392 unmodified lines
3393 >3393 >
3394 <div3394 <div
3395 className={cn(3395 className={cn(
3396 "group rounded-[22px] transition-colors duration-200",3396 "group rounded-[22px] p-px transition-colors duration-200",
3397 isClaudeUltrathink ? "ultrathink-frame p-[2px]" : "p-px",3397 isClaudeUltrathink ? "ultrathink-frame" : undefined,
3398 )}3398 )}
3399 onDragEnter={onComposerDragEnter}3399 onDragEnter={onComposerDragEnter}
3400 onDragOver={onComposerDragOver}3400 onDragOver={onComposerDragOver}
@@ -3442,13 +3442,6 @@ export default function ChatView({ threadId }: ChatViewProps) { · 41 unmodified lines
3442 hasComposerHeader ? "pt-2.5 sm:pt-3" : "pt-3.5 sm:pt-4",3442 hasComposerHeader ? "pt-2.5 sm:pt-3" : "pt-3.5 sm:pt-4",
3443 )}3443 )}
3444 >3444 >
3445 {isClaudeUltrathink ? (
3446 <div className="mb-2 flex items-center gap-2">
3447 <span className="ultrathink-pill inline-flex items-center rounded-md border border-transparent px-2.5 py-0.5 font-medium text-[12px] sm:text-[13px]">
3448 <span className="ultrathink-word">Ultrathink</span>
3449 </span>
3450 </div>
3451 ) : null}
3452 {composerMenuOpen && !isComposerApprovalState && (3445 {composerMenuOpen && !isComposerApprovalState && (
3453 <div className="absolute inset-x-0 bottom-full z-20 mb-2 px-1">3446 <div className="absolute inset-x-0 bottom-full z-20 mb-2 px-1">
3454 <ComposerCommandMenu3447 <ComposerCommandMenu