Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/model.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
BrainIcon,
CaretDownIcon,
CheckIcon,
FileMagnifyingGlassIcon,
GaugeIcon,
MagnifyingGlassIcon,
} from "@phosphor-icons/react";
import { type ModelProvider, ThinkingLevel } from "@codeworksh/widget/codework";
Expand Down Expand Up @@ -403,7 +403,7 @@ function Thinking({ hostDir, model, value, onChange }: ThinkingPickerProps) {
: "This model does not reason"
}
>
<GaugeIcon className="size-3.5 shrink-0" aria-hidden />
<BrainIcon className="size-3.5 shrink-0" aria-hidden />
<span className="truncate">{choosable ? levelLabels[shown] : "Reasoning"}</span>
<CaretDownIcon
className="size-3 shrink-0 text-ink-muted transition-transform duration-150 ease-out group-data-[state=open]:rotate-180"
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/settings/workspaces.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export function WorkspacesSettings() {
aria-label={`Reorder ${workspace.name}`}
title="Drag to reorder, or use the up and down arrow keys"
aria-describedby="workspace-order-help"
className="grid size-7 shrink-0 cursor-grab place-items-center rounded-md text-ink-muted/50 outline-none hover:bg-selection-subtle hover:text-ink focus-visible:ring-2 focus-visible:ring-brand active:cursor-grabbing disabled:cursor-default disabled:opacity-30"
className="grid size-7 shrink-0 cursor-grab place-items-center rounded-md text-ink-muted outline-none hover:bg-selection-subtle hover:text-ink focus-visible:ring-2 focus-visible:ring-brand active:cursor-grabbing disabled:cursor-default disabled:opacity-30"
onKeyDown={(event) => {
if (event.key !== "ArrowUp" && event.key !== "ArrowDown") return;
event.preventDefault();
Expand All @@ -165,7 +165,7 @@ export function WorkspacesSettings() {
}}
onDragEnd={dragEnd}
>
<DotsSixVerticalIcon className="size-4" aria-hidden />
<DotsSixVerticalIcon weight="bold" className="size-4" aria-hidden />
</button>
<span className="hidden size-9 shrink-0 items-center justify-center rounded-lg border border-edge bg-ink/3 text-ink-muted @min-[440px]:flex">
<StackIcon className="size-4" aria-hidden />
Expand Down
20 changes: 18 additions & 2 deletions apps/web/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,24 @@
backdrop-filter: none;
}

/* The sidebar opens and closes at once, from its button or its shortcut alike: it is toggled many times a
* day, and tweening the content edge reflows the transcript and composer on every frame. */
/* The sidebar slides while the content edge and the title bar's controls follow it, all on one curve so
* they move as a unit. Hiding keeps it visible until the slide ends; a drag-resize tracks the pointer. */
.app-shell [data-slot="sidebar"] > .shell-sidebar {
transition:
transform 200ms var(--ease-drawer),
visibility 0s;
}
.app-shell [data-collapsible="offcanvas"] > .shell-sidebar {
transition:
transform 200ms var(--ease-drawer),
visibility 0s 200ms;
}
.app-shell :is([data-slot="sidebar-gap"], [data-slot="sidebar-navigation"]) {
transition: width 200ms var(--ease-drawer);
}
.app-shell[data-resizing] :is([data-slot="sidebar-gap"], [data-slot="sidebar-navigation"]) {
transition: none;
}

@property --composer-height {
syntax: "<length>";
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/widgets/threads/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export function SectionHeader({
{group !== undefined && (
<>
<DotsSixVerticalIcon
weight="bold"
className="ml-auto size-3.5 cursor-grab text-ink-muted opacity-0 group-hover/header:opacity-100"
aria-hidden
/>
Expand Down
4 changes: 3 additions & 1 deletion apps/web/src/wm/frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ export function Frame(props: FrameProps) {
ref={handleRef}
className={`flex min-w-0 flex-1 items-center gap-1.5 py-1 ${canDrag ? "cursor-grab active:cursor-grabbing" : ""}`}
>
{canDrag && <DotsSixVerticalIcon className="size-3 shrink-0 text-ink-muted/40" aria-hidden />}
{canDrag && (
<DotsSixVerticalIcon weight="bold" className="size-3 shrink-0 text-ink-muted" aria-hidden />
)}
{icon !== undefined && <IconOf icon={icon} className="size-3.5 shrink-0 text-ink-muted" />}
{lead !== undefined && (
<>
Expand Down