Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
MUL-8778 feat(ui): rectangle buttons and chips, round only for named exceptions (#10132)
Jiayuan Zhangad2bfcd5038b
diff --git a/apps/desktop/eslint.config.mjs b/apps/desktop/eslint.config.mjsindex 3e56f67aec..6065f65c47 100644--- a/apps/desktop/eslint.config.mjs+++ b/apps/desktop/eslint.config.mjs@@ -1,6 +1,7 @@import globals from "globals";import reactConfig from "@multica/eslint-config/react";import { ICON_LIBRARY_IMPORT_PATTERNS } from "@multica/eslint-config/base";+import { NO_ROUND_CONTROLS } from "@multica/eslint-config/control-shape";export default [...reactConfig,@@ -75,6 +76,7 @@ export default [message:"Direct router.navigate from application code breaks the Coordinator protocol (MUL-4741). Route it through the navigation adapter in src/platform.",},+ NO_ROUND_CONTROLS,],},},diff --git a/packages/eslint-config/control-shape.js b/packages/eslint-config/control-shape.jsnew file mode 100644index 0000000000..1f3f97f82b--- /dev/null+++ b/packages/eslint-config/control-shape.js@@ -0,0 +1,26 @@+// Clickable controls are rounded rectangles on the radius ladder: rounded-md+// up to 28px tall, rounded-lg for 32–36px. Round is reserved for+// avatars, status dots and counts, switches, radios, sliders, color swatches,+// the floating chat launcher and the composer send/stop button; those carry an+// inline disable naming the exception.+//+// Only an unprefixed `rounded-full` on the className of a button-like element+// is flagged. `after:rounded-full` and friends paint decoration, and a span+// inside a button (a badge, an avatar) is not the control's own shape.+//+// Exported for `no-restricted-syntax`, whose options flat config replaces+// wholesale: a package that sets its own entries must list this one again.++const CONTROL =+ "JSXOpeningElement[name.name=/^(button|a|Button|IconButton|AppLink|PillButton|ClearablePillButton)$/]";+const CLASS_NAME = `${CONTROL} > JSXAttribute[name.name='className']`;+const ROUND = "/(^|\\s)rounded-full(\\s|$)/";++export const NO_ROUND_CONTROLS = {+ selector: [+ `${CLASS_NAME} Literal[value=${ROUND}]`,+ `${CLASS_NAME} TemplateElement[value.raw=${ROUND}]`,+ ].join(", "),+ message:+ "Buttons, links and chips are rounded rectangles (rounded-md up to 28px, rounded-lg for 32–36px). Keep rounded-full for the named exceptions — avatars, dots and counts, switches, radios, swatches, the chat launcher, the composer send button — and mark one with an inline disable that names it.",+};diff --git a/packages/eslint-config/control-shape.test.js b/packages/eslint-config/control-shape.test.jsnew file mode 100644index 0000000000..c104831c8c--- /dev/null+++ b/packages/eslint-config/control-shape.test.js@@ -0,0 +1,53 @@+import assert from "node:assert/strict";+import { test } from "node:test";+import { Linter } from "eslint";+import tseslint from "typescript-eslint";+import { NO_ROUND_CONTROLS } from "./control-shape.js";++const linter = new Linter();++function flagged(code) {+ const messages = linter.verify(+ code,+ [+ {+ files: ["**/*.tsx"],+ languageOptions: {+ parser: tseslint.parser,+ parserOptions: { ecmaFeatures: { jsx: true } },+ },+ rules: { "no-restricted-syntax": ["error", NO_ROUND_CONTROLS] },+ },+ ],+ "fixture.tsx",+ );+ const fatal = messages.find((m) => m.fatal);+ if (fatal) throw new Error(`fixture failed to parse: ${fatal.message}`);+ return messages.length > 0;+}++const FLAGGED = [+ ["native button", '<button className="rounded-full border px-2" />'],+ ["Button", '<Button size="sm" className="rounded-full" />'],+ ["IconButton", '<IconButton className="text-muted-foreground rounded-full" />'],+ ["link", '<a className="rounded-full px-3" />'],+ ["cn() argument", '<button className={cn("inline-flex rounded-full", x && "ring-2")} />'],+ ["conditional branch", '<Button className={open ? "rounded-full" : "rounded-md"} />'],+ ["template literal", "<button className={`rounded-full ${tone}`} />"],+];++const ALLOWED = [+ ["rectangle", '<Button className="rounded-md" />'],+ ["variant-prefixed", '<button className="after:rounded-full" />'],+ ["badge inside a button", '<button className="rounded-md"><span className="rounded-full" /></button>'],+ ["non-control element", '<span className="rounded-full bg-muted px-2" />'],+ ["look-alike class", '<button className="rounded-full-ish" />'],+];++for (const [name, code] of FLAGGED) {+ test(`flags rounded-full on a ${name}`, () => assert.equal(flagged(code), true));+}++for (const [name, code] of ALLOWED) {+ test(`allows ${name}`, () => assert.equal(flagged(code), false));+}diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.jsonindex e6da0e8099..f71d0a5015 100644--- a/packages/eslint-config/package.json+++ b/packages/eslint-config/package.json@@ -9,7 +9,8 @@"exports": {"./base": "./base.js","./react": "./react.js",- "./next": "./next.js"+ "./next": "./next.js",+ "./control-shape": "./control-shape.js"},"dependencies": {"@eslint/js": "^9.28.0",diff --git a/packages/ui/components/common/quick-emoji-picker.tsx b/packages/ui/components/common/quick-emoji-picker.tsxindex 20fe23e70a..f1f6208ebe 100644--- a/packages/ui/components/common/quick-emoji-picker.tsx+++ b/packages/ui/components/common/quick-emoji-picker.tsx@@ -44,7 +44,7 @@ function QuickEmojiPicker({ onSelect, align = "start", className, ariaLabel = "A<buttontype="button"aria-label={ariaLabel}- className={cn("inline-flex shrink-0 items-center justify-center h-6 w-6 rounded-full text-muted-foreground hover:bg-accent hover:text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", className)}+ className={cn("inline-flex shrink-0 items-center justify-center h-6 w-6 rounded-md text-muted-foreground hover:bg-accent hover:text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", className)}><SmilePlus className="h-3.5 w-3.5" aria-hidden /></button>diff --git a/packages/ui/components/common/reaction-bar.tsx b/packages/ui/components/common/reaction-bar.tsxindex dbe6755bfb..a3a9073fa0 100644--- a/packages/ui/components/common/reaction-bar.tsx+++ b/packages/ui/components/common/reaction-bar.tsx@@ -63,7 +63,7 @@ function ReactionBar({<buttontype="button"onClick={() => onToggle(g.emoji)}- className={`inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-caption transition-colors hover:bg-brand/15 ${+ className={`inline-flex items-center gap-1 rounded-md border px-2 py-0.5 text-caption transition-colors hover:bg-brand/15 ${g.reacted? "border-brand/30 bg-brand/8 text-brand": "border-brand/10 bg-brand/4 text-muted-foreground"diff --git a/packages/ui/components/common/submit-button.tsx b/packages/ui/components/common/submit-button.tsxindex 1f7d284a9b..9fb2bd8690 100644--- a/packages/ui/components/common/submit-button.tsx+++ b/packages/ui/components/common/submit-button.tsx@@ -68,6 +68,7 @@ function SubmitButton({const stopButton = (<Buttonsize="icon-sm"+ // eslint-disable-next-line no-restricted-syntax -- composer send button, the one round buttonclassName="rounded-full"onPointerDown={keepFocusInComposer}onMouseDown={keepFocusInComposer}@@ -91,6 +92,7 @@ function SubmitButton({<Buttonsize="icon-sm"className={cn(+ // eslint-disable-next-line no-restricted-syntax -- composer send button, the one round button"rounded-full",showReason && "aria-disabled:opacity-50 aria-disabled:cursor-not-allowed aria-disabled:active:translate-y-0",)}diff --git a/packages/ui/docs/button.md b/packages/ui/docs/button.mdindex 79a92ef77a..9de30099fb 100644--- a/packages/ui/docs/button.md+++ b/packages/ui/docs/button.md@@ -23,6 +23,12 @@ Text sizes: `xs`, `sm`, `default`, `lg`. Icon sizes: `icon-xs`, `icon-sm`, `iconUse `disabled` when an action is unavailable. For pending actions, compose a spinner with `disabled` and `aria-busy`; Button has no `loading` prop. Icon-only buttons need an accessible name. Keep visible keyboard focus.+## Shape++Buttons, links and clickable chips are rounded rectangles. Each size already carries its radius: `rounded-md` up to 28px (`xs`, `sm`, `icon-xs`, `icon-sm`) and `rounded-lg` for 32–36px. A chip next to a Button takes the Button's shape, not a pill.++`rounded-full` is reserved for avatars, status dots and counts, switches, radios, sliders, color swatches, the floating chat launcher and the composer send/stop button. Lint rejects it on any other button-like element; an exception carries an inline disable that names it.+## Correct```tsxdiff --git a/packages/ui/eslint.config.mjs b/packages/ui/eslint.config.mjsindex 51952011a1..50f2322f62 100644--- a/packages/ui/eslint.config.mjs+++ b/packages/ui/eslint.config.mjs@@ -1,7 +1,15 @@import reactConfig from "@multica/eslint-config/react";+import { NO_ROUND_CONTROLS } from "@multica/eslint-config/control-shape";export default [...reactConfig,+ {+ files: ["**/*.tsx"],+ ignores: ["**/*.test.tsx"],+ rules: {+ "no-restricted-syntax": ["error", NO_ROUND_CONTROLS],+ },+ },{files: ["icons/drawings/*.mjs"],languageOptions: {diff --git a/packages/views/agents/create/builder-conversation.tsx b/packages/views/agents/create/builder-conversation.tsxindex 55015f375b..0e35315e75 100644--- a/packages/views/agents/create/builder-conversation.tsx+++ b/packages/views/agents/create/builder-conversation.tsx@@ -222,7 +222,7 @@ export function BuilderConversation({key={prompt}type="button"onClick={() => void onSend(prompt)}- className="rounded-full border bg-background px-3 py-1.5 text-caption transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"+ className="rounded-md border bg-background px-3 py-1.5 text-caption transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">{prompt}</button>diff --git a/packages/views/autopilots/components/subscriber-multi-select.tsx b/packages/views/autopilots/components/subscriber-multi-select.tsxindex 92d401f9a1..da6626e7ae 100644--- a/packages/views/autopilots/components/subscriber-multi-select.tsx+++ b/packages/views/autopilots/components/subscriber-multi-select.tsx@@ -69,7 +69,7 @@ export function SubscriberMultiSelect({{selectedMembers.map((m) => (<spankey={m.user_id}- className="inline-flex items-center gap-1 rounded-full border bg-background px-2 py-0.5 text-caption"+ className="inline-flex items-center gap-1 rounded-md border bg-background px-2 py-0.5 text-caption"><ActorAvatar actorType="member" actorId={m.user_id} size="xs" /><span className="max-w-[10rem] truncate">{m.name}</span>@@ -99,7 +99,7 @@ export function SubscriberMultiSelect({trigger={<spanclassName={cn(- "inline-flex items-center gap-1 rounded-full border border-dashed px-2 py-0.5 text-caption text-muted-foreground",+ "inline-flex items-center gap-1 rounded-md border border-dashed px-2 py-0.5 text-caption text-muted-foreground","hover:border-primary/40 hover:text-foreground transition-colors cursor-pointer",)}>diff --git a/packages/views/chat/components/chat-add-menu.tsx b/packages/views/chat/components/chat-add-menu.tsxindex 45b58071b4..10aefb60a1 100644--- a/packages/views/chat/components/chat-add-menu.tsx+++ b/packages/views/chat/components/chat-add-menu.tsx@@ -66,7 +66,7 @@ export function ChatAddMenu({size="icon-sm"disabled={disabled}label={t(($) => $.input.add_tooltip)}- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"><Plus /></IconButton>diff --git a/packages/views/chat/components/chat-message-list.test.tsx b/packages/views/chat/components/chat-message-list.test.tsxindex a571772b1e..e6fdf4060c 100644--- a/packages/views/chat/components/chat-message-list.test.tsx+++ b/packages/views/chat/components/chat-message-list.test.tsx@@ -584,7 +584,7 @@ describe("ChatMessageList quick actions skeleton", () => {created_at: "2026-07-22T00:00:00Z",};- it("renders pill skeletons for the message awaiting its supplement", () => {+ it("renders chip skeletons for the message awaiting its supplement", () => {const qc = new QueryClient();const { container } = render(<I18nProvider locale="en" resources={TEST_RESOURCES}>@@ -599,7 +599,7 @@ describe("ChatMessageList quick actions skeleton", () => {</QueryClientProvider></I18nProvider>,);- expect(container.querySelectorAll(".rounded-full[aria-hidden] , [aria-hidden] .rounded-full").length).toBeGreaterThan(0);+ expect(container.querySelectorAll('[aria-hidden] [data-slot="skeleton"]').length).toBeGreaterThan(0);expect(screen.queryByRole("button", { name: /suggested/i })).toBeNull();});@@ -617,7 +617,7 @@ describe("ChatMessageList quick actions skeleton", () => {</QueryClientProvider></I18nProvider>,);- expect(container.querySelector("[aria-hidden] .rounded-full")).toBeNull();+ expect(container.querySelector('[aria-hidden] [data-slot="skeleton"]')).toBeNull();});});diff --git a/packages/views/chat/components/chat-message-list.tsx b/packages/views/chat/components/chat-message-list.tsxindex cf4531c0c9..0ff41ce9c1 100644--- a/packages/views/chat/components/chat-message-list.tsx+++ b/packages/views/chat/components/chat-message-list.tsx@@ -785,7 +785,7 @@ function QuickActions({type="button"variant={action.primary ? "brandSubtle" : "outline"}size="sm"- className="max-w-full rounded-full px-3"+ className="max-w-full px-3"disabled={blocked}onClick={() => void handleSelect(action)}/>@@ -807,7 +807,7 @@ function QuickActions({type="button"variant="ghost"size="icon-xs"- className="shrink-0 rounded-full text-faint-foreground hover:text-foreground"+ className="shrink-0 text-faint-foreground hover:text-foreground"disabled={blocked}aria-label={regenerateLabel}onClick={() => void handleRegenerate()}@@ -843,7 +843,7 @@ function QuickActionsHeading() {);}-// Pill-shaped placeholders shown between chat:done (which declared a pending+// Chip-shaped placeholders shown between chat:done (which declared a pending// supplement) and chat:quick_actions. Widths are staggered so the row reads// as "buttons coming", not a loading bar. aria-hidden: nothing actionable to// announce yet.@@ -856,9 +856,9 @@ function QuickActionsSkeleton() {<div className="mt-2 border-t border-border/40 pt-2 animate-in fade-in duration-300"><div className="flex flex-wrap items-center gap-2" aria-hidden="true"><QuickActionsHeading />- <Skeleton className="h-8 w-24 rounded-full" />- <Skeleton className="h-8 w-32 rounded-full" />- <Skeleton className="h-8 w-28 rounded-full" />+ <Skeleton className="h-7 w-24" />+ <Skeleton className="h-7 w-32" />+ <Skeleton className="h-7 w-28" /></div></div>);diff --git a/packages/views/chat/components/chat-window.tsx b/packages/views/chat/components/chat-window.tsxindex cdbbe45698..86f1e19971 100644--- a/packages/views/chat/components/chat-window.tsx+++ b/packages/views/chat/components/chat-window.tsx@@ -828,7 +828,7 @@ export function ChatWindow() {<Buttonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"onClick={handleNewChat}/>}diff --git a/packages/views/chat/components/new-chat-button.tsx b/packages/views/chat/components/new-chat-button.tsxindex 719b37b1cd..0403bed901 100644--- a/packages/views/chat/components/new-chat-button.tsx+++ b/packages/views/chat/components/new-chat-button.tsx@@ -185,7 +185,7 @@ export function NewChatButton({<Buttonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"aria-label={label}onClick={() => {if (only && !isAgentRuntimeBound(only)) {@@ -215,7 +215,7 @@ export function NewChatButton({<IconButtonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"label={label}tooltipSide={side === "top" ? "top" : "bottom"}/>diff --git a/packages/views/chat/components/quick-agent-bar.tsx b/packages/views/chat/components/quick-agent-bar.tsxindex fadbf9b121..2a5ff17935 100644--- a/packages/views/chat/components/quick-agent-bar.tsx+++ b/packages/views/chat/components/quick-agent-bar.tsx@@ -68,6 +68,7 @@ export function QuickAgentBar({type="button"aria-label={agent.name}onClick={() => onStartNewChat(agent)}+ // eslint-disable-next-line no-restricted-syntax -- avatar row: the pinned agent's avatar is the buttonclassName="flex size-[34px] shrink-0 items-center justify-center rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring"/>}@@ -105,6 +106,7 @@ export function QuickAgentBar({// Filled circle (not a dashed outline) so it reads as the exact// same size as the filled agent avatars — an empty outline looks// larger at the same pixel diameter. Same ring as the avatars.+ // eslint-disable-next-line no-restricted-syntax -- avatar row: this button sits in the row of round agent avatarsclassName="flex size-[34px] shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground ring-1 ring-inset ring-border outline-none transition-colors hover:bg-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"/>}diff --git a/packages/views/common/avatar-crop-dialog.tsx b/packages/views/common/avatar-crop-dialog.tsxindex de70251178..52e08da1f3 100644--- a/packages/views/common/avatar-crop-dialog.tsx+++ b/packages/views/common/avatar-crop-dialog.tsx@@ -171,7 +171,7 @@ export function AvatarCropDialog({onClick={() => setRotation((r) => (r + 90) % 360)}disabled={pending}aria-label={t(($) => $.avatar_crop.rotate)}- className="absolute right-2 top-2 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-background/90 text-foreground shadow-sm transition-colors hover:bg-background disabled:opacity-50"+ className="absolute right-2 top-2 z-10 flex h-8 w-8 items-center justify-center rounded-lg bg-background/90 text-foreground shadow-sm transition-colors hover:bg-background disabled:opacity-50"><RotateCw className="h-4 w-4" /></button>diff --git a/packages/views/common/avatar-upload-control.tsx b/packages/views/common/avatar-upload-control.tsxindex a70c994c9e..88a1cf5970 100644--- a/packages/views/common/avatar-upload-control.tsx+++ b/packages/views/common/avatar-upload-control.tsx@@ -247,6 +247,7 @@ export function AvatarUploadControl({"flex items-center justify-center","focus-visible:ring-2 focus-visible:ring-ring","disabled:cursor-not-allowed disabled:opacity-60",+ // eslint-disable-next-line no-restricted-syntax -- avatar: the control is the avatar itself"rounded-full",className,)}@@ -371,6 +372,7 @@ export function AvatarUploadControl({setPreviewError(false);onClear();}}+ // eslint-disable-next-line no-restricted-syntax -- avatar: remove badge pinned to the avatar's cornerclassName="absolute -right-1.5 -top-1.5 flex h-5 w-5 items-center justify-center rounded-full border bg-background text-muted-foreground shadow-sm transition-colors hover:bg-muted hover:text-foreground"aria-label={t(($) => $.avatar_upload.remove)}>diff --git a/packages/views/common/color-picker.tsx b/packages/views/common/color-picker.tsxindex 5b0ecb8f0e..4b462a6ad2 100644--- a/packages/views/common/color-picker.tsx+++ b/packages/views/common/color-picker.tsx@@ -298,6 +298,7 @@ export function ColorPickerPanel({onChange(preset);}}className={cn(+ // eslint-disable-next-line no-restricted-syntax -- color swatch"size-5 rounded-full transition-transform hover:scale-110",currentHex === preset &&"ring-2 ring-ring ring-offset-2 ring-offset-surface-raised",diff --git a/packages/views/common/pill-button.tsx b/packages/views/common/pill-button.tsxindex 51a6d3bf06..02782da763 100644--- a/packages/views/common/pill-button.tsx+++ b/packages/views/common/pill-button.tsx@@ -24,7 +24,7 @@ import { cn } from "@multica/ui/lib/utils";// `--avatar-slot-size` (read by the base avatar), label chips by dropping// their vertical padding.const PILL_CHROME =- "inline-flex h-[var(--button-height-xs)] items-center rounded-full border text-caption min-w-0 max-w-56 overflow-hidden transition-colors " ++ "inline-flex h-[var(--button-height-xs)] items-center rounded-md border text-caption min-w-0 max-w-56 overflow-hidden transition-colors " +"[--avatar-slot-size:1rem] [&_[data-slot=label-chip]]:py-0";export function PillButton({@@ -37,7 +37,7 @@ export function PillButton({type="button"className={cn(PILL_CHROME,- "gap-1.5 px-2.5",+ "gap-1.5 px-2","hover:bg-accent/60 cursor-pointer","data-popup-open:bg-accent data-popup-open:text-accent-foreground","disabled:cursor-not-allowed disabled:hover:bg-transparent",@@ -103,8 +103,8 @@ export function ClearablePillButton({type="button"disabled={disabled}className={cn(- "flex h-full min-w-0 items-center gap-1.5 overflow-hidden pl-2.5 cursor-pointer",- clearable ? "pr-1" : "pr-2.5",+ "flex h-full min-w-0 items-center gap-1.5 overflow-hidden pl-2 cursor-pointer",+ clearable ? "pr-1" : "pr-2","disabled:cursor-not-allowed",)}{...props}diff --git a/packages/views/editor/dynamic-block.tsx b/packages/views/editor/dynamic-block.tsxindex 602504d600..45b18bad2a 100644--- a/packages/views/editor/dynamic-block.tsx+++ b/packages/views/editor/dynamic-block.tsx@@ -338,7 +338,7 @@ function CollapsibleBody({type="button"variant="outline"size="sm"- className="absolute bottom-3 left-1/2 -translate-x-1/2 rounded-full bg-surface shadow-[var(--surface-shadow)]"+ className="absolute bottom-3 left-1/2 -translate-x-1/2 bg-surface shadow-[var(--surface-shadow)]"onClick={onExpand}><ChevronDown />@@ -395,7 +395,7 @@ function SelfCollapsingBody({ children }: { children: ReactNode }) {type="button"variant="outline"size="sm"- className="absolute bottom-3 left-1/2 -translate-x-1/2 rounded-full bg-surface shadow-[var(--surface-shadow)]"+ className="absolute bottom-3 left-1/2 -translate-x-1/2 bg-surface shadow-[var(--surface-shadow)]"onClick={() => setExpanded(true)}><ChevronDown />diff --git a/packages/views/eslint.config.mjs b/packages/views/eslint.config.mjsindex b390628342..18bb90d8ab 100644--- a/packages/views/eslint.config.mjs+++ b/packages/views/eslint.config.mjs@@ -1,4 +1,5 @@import reactConfig from "@multica/eslint-config/react";+import { NO_ROUND_CONTROLS } from "@multica/eslint-config/control-shape";import i18next from "eslint-plugin-i18next";import {NO_UNTRANSLATED_ATTRIBUTES,@@ -33,6 +34,7 @@ export default ["error",NO_UNTRANSLATED_ATTRIBUTES,NO_UNTRANSLATED_TOAST,+ NO_ROUND_CONTROLS,],},},diff --git a/packages/views/issues/components/board-column.tsx b/packages/views/issues/components/board-column.tsxindex 6de552641e..7d4cadec21 100644--- a/packages/views/issues/components/board-column.tsx+++ b/packages/views/issues/components/board-column.tsx@@ -238,7 +238,7 @@ export const BoardColumn = memo(function BoardColumn({<Buttonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"aria-label={tCommon(($) => $.more_actions)}><MoreHorizontal className="size-3.5" />@@ -255,7 +255,7 @@ export const BoardColumn = memo(function BoardColumn({<Buttonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"aria-label={tCommon(($) => $.more_actions)}><MoreHorizontal className="size-3.5" />@@ -285,7 +285,7 @@ export const BoardColumn = memo(function BoardColumn({<Buttonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"aria-label={t(($) => $.board.add_issue_tooltip)}onClick={() => {const data = {diff --git a/packages/views/issues/components/comment-input.tsx b/packages/views/issues/components/comment-input.tsxindex 10cee585cb..aed5dd3543 100644--- a/packages/views/issues/components/comment-input.tsx+++ b/packages/views/issues/components/comment-input.tsx@@ -319,6 +319,7 @@ function CommentInput({ issueId, onSubmit, onAccepted, onEditAnnotation }: Comme<Buttonsize="sm"variant="destructive"+ // eslint-disable-next-line no-restricted-syntax -- composer send button, the one round buttonclassName="rounded-full"onClick={submit}disabled={!canSend || submitting || gate.uploading}diff --git a/packages/views/issues/components/issue-detail.tsx b/packages/views/issues/components/issue-detail.tsxindex 112dad7811..79a3b90f01 100644--- a/packages/views/issues/components/issue-detail.tsx+++ b/packages/views/issues/components/issue-detail.tsx@@ -591,7 +591,7 @@ function JumpToLatestButton({ onClick, label }: { onClick: () => void; label: stvariant="outline"size="sm"onClick={onClick}- className="absolute bottom-full left-1/2 mb-6 -translate-x-1/2 rounded-full bg-background shadow-md dark:bg-background dark:hover:bg-muted"+ className="absolute bottom-full left-1/2 mb-6 -translate-x-1/2 bg-background shadow-md dark:bg-background dark:hover:bg-muted"><ArrowDown />{label}diff --git a/packages/views/issues/components/issue-wakeup-header-chip.tsx b/packages/views/issues/components/issue-wakeup-header-chip.tsxindex 160f332404..dcbef2f87e 100644--- a/packages/views/issues/components/issue-wakeup-header-chip.tsx+++ b/packages/views/issues/components/issue-wakeup-header-chip.tsx@@ -71,7 +71,7 @@ export const IssueWakeupHeaderChip = memo(function IssueWakeupHeaderChip({title={label}aria-label={`${label}${primary.count > 1 ? ` +${primary.count - 1}` : ""} · ${t(($) => $.wakeups.wait.open)}`}className={cn(- "inline-flex h-7 max-w-72 min-w-0 items-center gap-1.5 rounded-full border border-border px-2.5 text-caption hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring",+ "inline-flex h-7 max-w-72 min-w-0 items-center gap-1.5 rounded-md border border-border px-2.5 text-caption hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring",primary.kind === "paused" ? "text-warning" : "text-foreground",)}>diff --git a/packages/views/issues/components/list-view.tsx b/packages/views/issues/components/list-view.tsxindex d8101ac2e3..949b9f934c 100644--- a/packages/views/issues/components/list-view.tsx+++ b/packages/views/issues/components/list-view.tsx@@ -631,7 +631,7 @@ function StatusAccordionItem({<Buttonvariant="ghost"size="icon-sm"- className="rounded-full text-muted-foreground opacity-0 group-hover/header:opacity-100 transition-opacity"+ className="text-muted-foreground opacity-0 group-hover/header:opacity-100 transition-opacity"onClick={() => {const defaults = {status: status,diff --git a/packages/views/issues/components/reply-annotations.tsx b/packages/views/issues/components/reply-annotations.tsxindex 88187111c8..cddb523b7b 100644--- a/packages/views/issues/components/reply-annotations.tsx+++ b/packages/views/issues/components/reply-annotations.tsx@@ -37,7 +37,7 @@ export function ReplyAnnotations({ draftKey, annotations, disabled, onEditAnnotaonClick={(event) => event.stopPropagation()}><div className="flex max-h-64 flex-col gap-2 overflow-y-auto">{annotations.map((annotation, index) => <div key={annotation.id} className="flex items-start gap-1">- <span aria-hidden="true" className="mt-1 flex size-6 shrink-0 items-center justify-center rounded-full bg-muted text-caption tabular-nums">{index + 1}</span>+ <span aria-hidden="true" className="mt-1 flex size-6 shrink-0 items-center justify-center rounded-md bg-muted text-caption tabular-nums">{index + 1}</span><div className="min-w-0 flex-1"><button type="button" disabled={disabled}aria-label={t(($) => $.reply.annotations.edit, { number: index + 1 })}diff --git a/packages/views/issues/components/reply-input.tsx b/packages/views/issues/components/reply-input.tsxindex d66c1ce4e3..40f8c1980d 100644--- a/packages/views/issues/components/reply-input.tsx+++ b/packages/views/issues/components/reply-input.tsx@@ -322,6 +322,7 @@ function ReplyInput({<Buttonsize="sm"variant="destructive"+ // eslint-disable-next-line no-restricted-syntax -- composer send button, the one round buttonclassName="rounded-full"onClick={submit}disabled={!canSend || submitting || gate.uploading}diff --git a/packages/views/issues/components/swimlane-view.tsx b/packages/views/issues/components/swimlane-view.tsxindex 552530c805..074e303108 100644--- a/packages/views/issues/components/swimlane-view.tsx+++ b/packages/views/issues/components/swimlane-view.tsx@@ -1475,7 +1475,7 @@ function SwimLaneViewImpl({variant="ghost"size="icon-sm"aria-label={t(($) => $.board.hide_column)}- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"><MoreHorizontal className="size-3.5" /></Button>@@ -1493,7 +1493,7 @@ function SwimLaneViewImpl({variant="ghost"size="icon-sm"aria-label={t(($) => $.board.hide_column)}- className="rounded-full text-muted-foreground"+ className="text-muted-foreground"><MoreHorizontal className="size-3.5" /></Button>diff --git a/packages/views/issues/components/use-comment-annotations.tsx b/packages/views/issues/components/use-comment-annotations.tsxindex c259ebfdfc..7147e9e280 100644--- a/packages/views/issues/components/use-comment-annotations.tsx+++ b/packages/views/issues/components/use-comment-annotations.tsx@@ -257,7 +257,7 @@ export function useCommentAnnotations({ draftKey, sources, enabled, onAdded, ediif (index < 0) return null;return <CommentSelectionBubble key={anchor.id} range={anchor.range} source={anchor.root} owner={draftKey}markerRanges={markerRanges.get(anchor.root)}>- <IconButton variant="brandSubtle" size="icon-sm" className="size-6 rounded-full text-caption tabular-nums aria-expanded:ring-2 aria-expanded:ring-brand"+ <IconButton variant="brandSubtle" size="icon-sm" className="size-6 text-caption tabular-nums aria-expanded:ring-2 aria-expanded:ring-brand"aria-expanded={editingId === anchor.id}label={t(($) => $.reply.annotations.edit, { number: index + 1 })}onClick={() => editAnnotation(anchor.id)}>{index + 1}</IconButton>diff --git a/packages/views/labels/label-chip.tsx b/packages/views/labels/label-chip.tsxindex be12a8c266..0aeb1899c3 100644--- a/packages/views/labels/label-chip.tsx+++ b/packages/views/labels/label-chip.tsx@@ -84,6 +84,7 @@ export function LabelChip({ label, onRemove, className, fullName }: LabelChipPro// bg-current/20 uses the computed text color so the hover state is// visible on both light and dark chip backgrounds. hover:bg-black/10// was invisible on darker chips (anything requiring light text).+ // eslint-disable-next-line no-restricted-syntax -- clear button inside a round label tagclassName="flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full hover:bg-current/20 focus:outline-none focus:ring-1 focus:ring-current"aria-label={t(($) => $.remove_label, { name: label.name })}>diff --git a/packages/views/layout/feature-intro.tsx b/packages/views/layout/feature-intro.tsxindex ecd8ca6bbc..b6fe0279ae 100644--- a/packages/views/layout/feature-intro.tsx+++ b/packages/views/layout/feature-intro.tsx@@ -256,6 +256,7 @@ export function FeatureIntroCarousel({aria-current={i === index ? "true" : undefined}onClick={() => go(i)}className={cn(+ // eslint-disable-next-line no-restricted-syntax -- carousel page dots"h-1.5 rounded-full transition-all motion-reduce:transition-none",i === index ? "w-4 bg-foreground" : "w-1.5 bg-muted-foreground/30 hover:bg-muted-foreground/60",)}diff --git a/packages/views/modals/create-issue.tsx b/packages/views/modals/create-issue.tsxindex 1c13ebd20e..6ea8216003 100644--- a/packages/views/modals/create-issue.tsx+++ b/packages/views/modals/create-issue.tsx@@ -1218,7 +1218,7 @@ export function ManualCreatePanel({data-property-error={propertyErrorId === property.id || undefined}className={cn(propertyErrorId === property.id &&- "rounded-full ring-2 ring-destructive",+ "rounded-md ring-2 ring-destructive",)}><CustomPropertyValueInput@@ -1252,7 +1252,7 @@ export function ManualCreatePanel({{parentIssueId && parentIssueLocked ? (<spandata-testid="manual-sub-issue-chip"- className="inline-flex items-center gap-1 rounded-full bg-muted px-2 py-0.5 text-caption text-muted-foreground"+ className="inline-flex items-center gap-1 rounded-md bg-muted px-2 py-0.5 text-caption text-muted-foreground">{t(($) => $.create_issue.subissue_of, {identifier: parentIssue?.identifier@@ -1261,11 +1261,11 @@ export function ManualCreatePanel({})}</span>) : parentIssueId && parentIssue ? (- <div className="inline-flex items-center rounded-full border text-caption transition-colors hover:bg-accent/60">+ <div className="inline-flex items-center rounded-md border text-caption transition-colors hover:bg-accent/60"><buttontype="button"onClick={() => setParentPickerOpen(true)}- className="flex items-center gap-1.5 py-1 pl-2.5 cursor-pointer"+ className="flex items-center gap-1.5 py-1 pl-2 cursor-pointer"><ArrowUp className="size-3 text-muted-foreground" /><span>@@ -1290,9 +1290,9 @@ export function ManualCreatePanel({{childIssues.map((c) => (<divkey={c.id}- className="inline-flex items-center rounded-full border text-caption transition-colors hover:bg-accent/60"+ className="inline-flex items-center rounded-md border text-caption transition-colors hover:bg-accent/60">- <div className="flex items-center gap-1.5 py-1 pl-2.5">+ <div className="flex items-center gap-1.5 py-1 pl-2"><ArrowDown className="size-3 text-muted-foreground" /><span>{t(($) => $.create_issue.subissue_chip, { identifier: c.identifier })}</span></div>diff --git a/packages/views/modals/create-squad.tsx b/packages/views/modals/create-squad.tsxindex a5378b1479..db5c360200 100644--- a/packages/views/modals/create-squad.tsx+++ b/packages/views/modals/create-squad.tsx@@ -591,7 +591,7 @@ function MemberChip({}) {const { t } = useT("modals");return (- <span className="inline-flex items-center gap-1 rounded-full border bg-background px-1.5 py-0.5 text-caption">+ <span className="inline-flex items-center gap-1 rounded-md border bg-background px-1.5 py-0.5 text-caption"><ActorAvatar actorType={m.type} actorId={m.id} size="xs" /><span className="max-w-[120px] truncate">{m.name}</span><TooltipHint label={t(($) => $.create_squad.members_remove_aria, { name: m.name })}>@@ -603,7 +603,7 @@ function MemberChip({onRemove();}}aria-label={t(($) => $.create_squad.members_remove_aria, { name: m.name })}- className="rounded-full text-muted-foreground hover:text-foreground"+ className="rounded-sm text-muted-foreground hover:text-foreground"><X className="h-3 w-3" /></button>diff --git a/packages/views/modals/quick-create-issue.tsx b/packages/views/modals/quick-create-issue.tsxindex a07934c0e6..181d9bd542 100644--- a/packages/views/modals/quick-create-issue.tsx+++ b/packages/views/modals/quick-create-issue.tsx@@ -910,7 +910,7 @@ export function AgentCreatePanel({{parentIssueId && (<spandata-testid="agent-sub-issue-chip"- className="inline-flex items-center gap-1 rounded-full bg-muted px-2 py-0.5 text-caption text-muted-foreground"+ className="inline-flex items-center gap-1 rounded-md bg-muted px-2 py-0.5 text-caption text-muted-foreground"title={t(($) => $.create_issue.agent.sub_issue_of, {identifier: parentIssueIdentifier ?? "",})}diff --git a/packages/views/onboarding/steps/step-platform-fork.tsx b/packages/views/onboarding/steps/step-platform-fork.tsxindex 28cc2a2e25..78e6e8d9bc 100644--- a/packages/views/onboarding/steps/step-platform-fork.tsx+++ b/packages/views/onboarding/steps/step-platform-fork.tsx@@ -212,7 +212,7 @@ function ForkPrimary({ onClick }: { onClick: () => void }) {</div><spanaria-hidden- className="inline-flex shrink-0 items-center gap-1.5 rounded-full bg-background/10 px-4 py-2 text-label font-medium transition-colors group-hover:bg-background/20"+ className="inline-flex shrink-0 items-center gap-1.5 rounded-lg bg-background/10 px-4 py-2 text-label font-medium transition-colors group-hover:bg-background/20">{t(($) => $.step_platform.download_button)}<ArrowRight className="h-3.5 w-3.5" />diff --git a/packages/views/onboarding/steps/step-runtime-connect.tsx b/packages/views/onboarding/steps/step-runtime-connect.tsxindex ec61d562f0..81d02fdd26 100644--- a/packages/views/onboarding/steps/step-runtime-connect.tsx+++ b/packages/views/onboarding/steps/step-runtime-connect.tsx@@ -559,7 +559,7 @@ function EmptyCard({</div><spanaria-hidden- className="inline-flex shrink-0 items-center gap-1.5 rounded-full border bg-background px-4 py-2 text-label font-medium text-foreground transition-colors group-hover:border-foreground group-hover:bg-foreground group-hover:text-background"+ className="inline-flex shrink-0 items-center gap-1.5 rounded-lg border bg-background px-4 py-2 text-label font-medium text-foreground transition-colors group-hover:border-foreground group-hover:bg-foreground group-hover:text-background">{actionLabel}{busy ? (diff --git a/packages/views/settings/components/issue-statuses-tab.tsx b/packages/views/settings/components/issue-statuses-tab.tsxindex c95fa2268b..b29f6578da 100644--- a/packages/views/settings/components/issue-statuses-tab.tsx+++ b/packages/views/settings/components/issue-statuses-tab.tsx@@ -532,7 +532,7 @@ function StatusRow({{mergeBadgeHref && (<AppLinkhref={mergeBadgeHref}- className="inline-flex shrink-0 items-center gap-1 rounded-full bg-info/10 px-1.5 py-0.5 text-micro font-medium text-info transition-colors hover:bg-info/15 focus-visible:outline-2 focus-visible:outline-ring"+ className="inline-flex shrink-0 items-center gap-1 rounded-md bg-info/10 px-1.5 py-0.5 text-micro font-medium text-info transition-colors hover:bg-info/15 focus-visible:outline-2 focus-visible:outline-ring"><Zap className="size-3" aria-hidden="true" />{t(($) => $.issue_statuses.pr_auto_complete_badge)}diff --git a/packages/views/settings/components/properties-tab.tsx b/packages/views/settings/components/properties-tab.tsxindex 1136877c1b..3319395074 100644--- a/packages/views/settings/components/properties-tab.tsx+++ b/packages/views/settings/components/properties-tab.tsx@@ -594,6 +594,7 @@ function PropertyEditorDialog({<buttontype="button"aria-label={option.color}+ // eslint-disable-next-line no-restricted-syntax -- color swatchclassName="size-6 shrink-0 cursor-pointer rounded-full border border-surface-border transition-transform hover:scale-110"style={{ backgroundColor: option.color }}/>diff --git a/packages/views/workflows/column-handoff.tsx b/packages/views/workflows/column-handoff.tsxindex 6e2db03d9a..ab194dca34 100644--- a/packages/views/workflows/column-handoff.tsx+++ b/packages/views/workflows/column-handoff.tsx@@ -49,7 +49,7 @@ export function ColumnHandoff({label ? (<buttontype="button"- className="inline-flex min-w-0 max-w-32 items-center gap-1 rounded-full border border-surface-border bg-background/70 py-0.5 pl-0.5 pr-2 text-caption transition-colors hover:bg-accent"+ className="inline-flex min-w-0 max-w-32 items-center gap-1 rounded-md border border-surface-border bg-background/70 py-0.5 pl-0.5 pr-2 text-caption transition-colors hover:bg-accent"aria-label={t(($) => $.workflows.hands_off_to, { name: label })}title={t(($) => $.workflows.hands_off_to, { name: label })}>@@ -59,7 +59,7 @@ export function ColumnHandoff({) : (<buttontype="button"- className="inline-flex items-center gap-0.5 rounded-full px-1.5 py-0.5 text-caption text-muted-foreground opacity-0 transition-opacity hover:bg-accent hover:text-foreground focus-visible:opacity-100 group-hover/column:opacity-100 data-popup-open:opacity-100"+ className="inline-flex items-center gap-0.5 rounded-md px-1.5 py-0.5 text-caption text-muted-foreground opacity-0 transition-opacity hover:bg-accent hover:text-foreground focus-visible:opacity-100 group-hover/column:opacity-100 data-popup-open:opacity-100"><Plus aria-hidden className="size-3" />{t(($) => $.workflows.handoff.add)}