Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

refactor(web): W1b — one spinner, named transitions, pulses on Dot (#896)

Yaowei Zhenga11cc294b49f
diff --git a/changelog/unreleased/2026-09-30-ui-migration-w1b.md b/changelog/unreleased/2026-09-30-ui-migration-w1b.md
new file mode 100644
index 00000000..76c1cc44
--- /dev/null
+++ b/changelog/unreleased/2026-09-30-ui-migration-w1b.md
@@ -0,0 +1,24 @@
+# Hand-drawn spinners, pulses and look-alike glyphs give way to the shared components
+
+- **Date:** 2026-09-30
+- **Type:** refactor
+- **Scope:** `web`
+
+[中文版](2026-09-30-ui-migration-w1b.zh.md)
+
+The de-slop batch of the UI package migration replaced the Web App's hand-drawn busy rings, hand-rolled pulses, `transition-all` and near-copies of registry glyphs with the shared package's `Spinner`, `Dot` and `ICONS`.
+
+## Details
+
+- **Spinners:** thirteen hand-drawn rings became the package's `Spinner`: the update dialog and the account-menu update row, loading earlier history, the subagent row, the Files panel's upload and save, the model page's sign-in wait, the protocol picker and the three detect buttons, the id generator, and a loading tab in the built-in browser's tab strip. The detect buttons and the id generator's button show it through `Button`'s `loading`.
+- **Pulses:** the chat panel's running-process dot, the org chart's running state and the conversation outline's "answering" preview take `Dot` with `pulse`. The fork button shows the `Spinner` while the fork runs, where its glyph used to pulse.
+- **Transitions:** the session rows' hover buttons, the sidebar's draft-delete and group-pin buttons, and the outline's ticks name the properties they animate instead of `transition-all`.
+- **Glyphs:** the tapered bin (memory, skills, hooks, benchmark, model and agent pages) draws `ICONS.trash`; the memory tab's edit pen draws `ICONS.penLine` and the finance page's budget pencil `ICONS.pencil`.
+- The web de-slop and glyph-path guard lists dropped every entry this batch cleared.
+
+## Visible changes in the default theme (Primer)
+
+- Spinners look alike everywhere: one arc on a faint track at 10, 12 or 14 px, in place of rings with 1–2 px borders. The update dialog's and the update row's spinners lost their 70% opacity.
+- Pulses are the `Dot`: the running-process dot and the org chart's dots take the tones' solid fills (success emerald-500 → emerald-700), and the chart's expanding ping halo is gone. The outline's "answering" preview shows a pulsing dot before the words instead of pulsing the text.
+- The trash and pencil glyphs are unified: the tapered bin became the registry's straight-sided bin, and the memory tab's pen and the finance page's pencil became the registry's pen and pencil.
+- The outline's active tick changes length without easing; its colour still eases.
diff --git a/changelog/unreleased/2026-09-30-ui-migration-w1b.zh.md b/changelog/unreleased/2026-09-30-ui-migration-w1b.zh.md
new file mode 100644
index 00000000..3048b4ee
--- /dev/null
+++ b/changelog/unreleased/2026-09-30-ui-migration-w1b.zh.md
@@ -0,0 +1,24 @@
+# 手绘加载圈、脉冲与近似字形改用共享组件
+
+- **Date:** 2026-09-30
+- **Type:** refactor
+- **Scope:** `web`
+
+[English](2026-09-30-ui-migration-w1b.md)
+
+UI 包迁移的去冗余批次把 Web App 里手绘的加载圈、自制的脉冲动画、`transition-all` 以及注册表字形的近似副本,换成了共享包的 `Spinner`、`Dot` 与 `ICONS`。
+
+## 细节
+
+- **加载圈**:十三处手绘圆环改用包内的 `Spinner`:更新对话框与账户菜单的更新行、加载更早的历史、子 Agent 行、文件面板的上传与保存、模型页的登录等待、协议选择器与三个检测按钮、id 生成按钮,以及内置浏览器标签栏里加载中的标签。检测按钮与 id 生成按钮通过 `Button` 的 `loading` 显示它。
+- **脉冲**:聊天面板里运行中进程的圆点、组织架构图的运行状态,以及对话大纲「正在回答」的预览,改用带 `pulse` 的 `Dot`。派生按钮在派生进行时显示 `Spinner`,不再让图标闪烁。
+- **过渡**:会话行的悬停按钮、侧边栏的草稿删除与分组置顶按钮,以及大纲刻度,改为写明所动画的属性,不再用 `transition-all`。
+- **字形**:收窄的垃圾桶(记忆、Skill、Hook、评估、模型与 Agent 页)改画 `ICONS.trash`;记忆页的编辑笔改画 `ICONS.penLine`,财务页预算格的铅笔改画 `ICONS.pencil`。
+- Web 端的去冗余检查清单与字形路径检查清单删去了本批清掉的全部条目。
+
+## 默认主题(通用)的可见变化
+
+- 各处加载圈外观一致:浅色底环上的一段弧线,10、12 或 14 px,取代 1–2 px 边框的圆环。更新对话框与更新行的加载圈不再有 70% 不透明度。
+- 脉冲统一为 `Dot`:运行中进程的圆点与组织架构图的圆点改用色调的实底色(成功色 emerald-500 → emerald-700),架构图向外扩散的光晕取消。大纲「正在回答」的预览在文字前显示一个脉冲圆点,文字本身不再闪烁。
+- 垃圾桶与铅笔字形统一:收窄的垃圾桶改为注册表的直边垃圾桶,记忆页的笔与财务页的铅笔改为注册表的笔与铅笔。
+- 大纲当前刻度的长度变化不再有缓动,颜色变化仍有缓动。
diff --git a/packages/web/src/components/account/update-modal.tsx b/packages/web/src/components/account/update-modal.tsx
index 8ad4cf0b..095539f9 100644
--- a/packages/web/src/components/account/update-modal.tsx
+++ b/packages/web/src/components/account/update-modal.tsx
@@ -14,7 +14,7 @@
* The flow and the actions live in `use-update-flow.ts`; this file only renders.
*/
import type { ReactNode } from "react";
-import { Button, Link } from "@prismshadow/penguin-ui";
+import { Button, Link, Spinner } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import { stripAnsi } from "../../lib/strip-ansi";
import { toneInk } from "../../lib/tone";
@@ -235,12 +235,7 @@ function Footer({ mode, flow }: { mode: UpdateMode; flow: UpdateFlow }): ReactNo
function Line({ spinner, children }: { spinner?: boolean; children: ReactNode }) {
return (
<p className="flex items-center gap-2 text-sm">
- {spinner && (
- <span
- aria-hidden
- className="inline-block h-3.5 w-3.5 shrink-0 animate-spin rounded-full border-[1.5px] border-current border-t-transparent opacity-70"
- />
- )}
+ {spinner && <Spinner size="md" label={S.common.loading} />}
<span>{children}</span>
</p>
);
diff --git a/packages/web/src/components/account/update-row.tsx b/packages/web/src/components/account/update-row.tsx
index 8e6fbb36..22b369b5 100644
--- a/packages/web/src/components/account/update-row.tsx
+++ b/packages/web/src/components/account/update-row.tsx
@@ -5,6 +5,7 @@
* update modal, which is where the flow is explained and acted on. The running version
* sits muted on the right. Renders nothing where this session can update nothing.
*/
+import { Spinner } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import { updateRowModel } from "../../lib/update-flow";
import type { UpdateFlow } from "../../lib/update-flow";
@@ -29,11 +30,12 @@ export function UpdateRow({
className={`${menuItemClass} flex items-center justify-between gap-2`}
>
<span className="flex min-w-0 items-center gap-2">
+ {/* The row's words already say what is running; hidden, the spinner stays out of the
+ menu item's accessible name. */}
{row.busy && (
- <span
- aria-hidden
- className="inline-block h-3 w-3 shrink-0 animate-spin rounded-full border-[1.5px] border-current border-t-transparent opacity-70"
- />
+ <span aria-hidden className="flex shrink-0">
+ <Spinner size="sm" label={S.common.loading} />
+ </span>
)}
{row.dot && <span aria-hidden className="h-2 w-2 shrink-0 rounded-full bg-accent" />}
<span className="min-w-0 truncate">{rowLabel(flow)}</span>
diff --git a/packages/web/src/components/layout/sidebar.tsx b/packages/web/src/components/layout/sidebar.tsx
index a8e655e9..2d081ab2 100644
--- a/packages/web/src/components/layout/sidebar.tsx
+++ b/packages/web/src/components/layout/sidebar.tsx
@@ -2869,7 +2869,7 @@ function DraftRow({
data-tooltip={S.chat.deleteDraft}
aria-label={S.chat.deleteDraft}
onClick={onDelete}
- className="flex h-6 w-6 shrink-0 items-center justify-center rounded text-gray-400 opacity-0 transition-all duration-150 hover:bg-gray-300/60 hover:text-red-600 focus-visible:opacity-100 group-hover:opacity-100 dark:hover:bg-gray-700 dark:hover:text-red-400"
+ className="flex h-6 w-6 shrink-0 items-center justify-center rounded text-gray-400 opacity-0 transition-[opacity,background-color,color] duration-150 hover:bg-gray-300/60 hover:text-red-600 focus-visible:opacity-100 group-hover:opacity-100 dark:hover:bg-gray-700 dark:hover:text-red-400"
>
<Icon d={ICONS.trash} size={14} />
</button>
@@ -2931,7 +2931,7 @@ function GroupPinButton({ pinned, onToggle }: { pinned: boolean; onToggle: () =>
aria-label={S.nav.pinGroup}
aria-pressed={pinned}
onClick={onToggle}
- className={`flex h-7 w-7 shrink-0 items-center justify-center rounded-md transition-all duration-150 hover:bg-gray-200/70 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200 ${
+ className={`flex h-7 w-7 shrink-0 items-center justify-center rounded-md transition-[opacity,background-color,color] duration-150 hover:bg-gray-200/70 hover:text-gray-800 dark:hover:bg-gray-800 dark:hover:text-gray-200 ${
pinned
? "text-gray-500 dark:text-gray-400"
: "text-gray-400 opacity-0 focus-visible:opacity-100 group-hover/header:opacity-100 dark:text-gray-500"
diff --git a/packages/web/src/components/ui/session-row-menu.tsx b/packages/web/src/components/ui/session-row-menu.tsx
index 3cdbf8fc..8a4e4a64 100644
--- a/packages/web/src/components/ui/session-row-menu.tsx
+++ b/packages/web/src/components/ui/session-row-menu.tsx
@@ -161,7 +161,7 @@ export function SessionRowMenuRows({
/** The hover buttons' shared reveal classes (see SessionRowHoverActions on why pointer events are gated with opacity). */
const hoverButtonClass =
- "pointer-events-none flex h-6 w-6 shrink-0 items-center justify-center rounded text-gray-400 opacity-0 transition-all duration-150 focus:pointer-events-auto focus:opacity-100 group-hover:pointer-events-auto group-hover:opacity-100";
+ "pointer-events-none flex h-6 w-6 shrink-0 items-center justify-center rounded text-gray-400 opacity-0 transition-[opacity,color] duration-150 focus:pointer-events-auto focus:opacity-100 group-hover:pointer-events-auto group-hover:opacity-100";
/**
* Hover affordance: icon-only buttons that fade in over the row — the direct actions
diff --git a/packages/web/src/features/agents/agents-page.tsx b/packages/web/src/features/agents/agents-page.tsx
index e7b7af09..7e46b42e 100644
--- a/packages/web/src/features/agents/agents-page.tsx
+++ b/packages/web/src/features/agents/agents-page.tsx
@@ -87,8 +87,7 @@ const CARD_ICONS = {
/** New chat (plus sign) */
newChat: ICONS.plus,
/** Delete (trash can) */
- trash:
- "M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m3 0l-1 13a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 7m4 4v6m4-6v6",
+ trash: ICONS.trash,
/** Total session count (chat bubble) */
sessions: "M8 10h8M8 14h5M21 12a9 9 0 1 1-4-7.5",
/** Vault key count (key: bow + teeth) */
diff --git a/packages/web/src/features/agents/hooks-tab.tsx b/packages/web/src/features/agents/hooks-tab.tsx
index a0ed10a5..de2c17ab 100644
--- a/packages/web/src/features/agents/hooks-tab.tsx
+++ b/packages/web/src/features/agents/hooks-tab.tsx
@@ -52,7 +52,7 @@ import { useAiBridge } from "../ai-create";
import { downloadArchive } from "./archive-download";
import { buildHookImportPrompt } from "./hook-import";
import { usePromptInjection } from "./prompt-injection-controls";
-import { TRASH_ICON, UPLOAD_LABEL_CLASS } from "./skills-tab";
+import { UPLOAD_LABEL_CLASS } from "./skills-tab";
/** Zip pending an overwrite confirmation: the payload to resend with overwrite: true plus the package name for the confirm copy. */
interface PendingOverwrite {
@@ -319,7 +319,7 @@ export function HooksTab({
disabled={busy}
onClick={() => setRemoving(hook.name)}
>
- <GlyphIcon d={TRASH_ICON} size={14} />
+ <GlyphIcon d={ICONS.trash} size={14} />
</Button>
</div>
);
diff --git a/packages/web/src/features/agents/memory-tab.tsx b/packages/web/src/features/agents/memory-tab.tsx
index ca10df9f..f3e2efa1 100644
--- a/packages/web/src/features/agents/memory-tab.tsx
+++ b/packages/web/src/features/agents/memory-tab.tsx
@@ -78,15 +78,6 @@ import { NoticeStrip } from "../../components/ui/notice-strip";
/** Same breakpoint as the chat page's panels: \u22651024px the view opens as a side Drawer, below it as a bottom Sheet. */
const DESKTOP_QUERY = "(min-width: 1024px)";
-/**
- * Row-action glyphs (icon-only buttons, the skills tab's affordance) that differ from the
- * registry's drawings: edit is feather's edit-3 (`ICONS.penLine` is a wider pen), delete is the
- * tapered bin (`ICONS.trash` is straight-sided). View reads `ICONS.eye`.
- */
-const PENCIL_ICON = "M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z";
-const TRASH_ICON =
- "M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m3 0l-1 13a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 7m4 4v6m4-6v6";
-
/**
* The small ghost button's look on a `<label>`: the Button component only renders a `<button>`,
* and the import control has to wrap a file input (the Agent State section's transfer label does
@@ -504,7 +495,7 @@ export function MemoryTab({
title={S.memory.edit}
onClick={() => openEditor(scope, file)}
>
- <GlyphIcon d={PENCIL_ICON} size={14} className="text-gray-600 dark:text-gray-300" />
+ <GlyphIcon d={ICONS.penLine} size={14} className="text-gray-600 dark:text-gray-300" />
</IconButton>
<IconButton
variant="danger"
@@ -512,7 +503,7 @@ export function MemoryTab({
title={S.memory.delete}
onClick={() => setRemoving({ scope, file })}
>
- <GlyphIcon d={TRASH_ICON} size={14} />
+ <GlyphIcon d={ICONS.trash} size={14} />
</IconButton>
</div>
);
diff --git a/packages/web/src/features/agents/skills-tab.tsx b/packages/web/src/features/agents/skills-tab.tsx
index 82860c2a..3deaea89 100644
--- a/packages/web/src/features/agents/skills-tab.tsx
+++ b/packages/web/src/features/agents/skills-tab.tsx
@@ -27,6 +27,7 @@ import {
DownloadIcon,
GlyphIcon,
HiddenFileInput,
+ ICONS,
IconButton,
SettingsEmpty,
SkeletonList,
@@ -54,10 +55,6 @@ import { HelpFold } from "../../components/ui/help-fold";
/** The Button look on the upload `<label>`; the Hooks tab's upload label borrows it. */
export const UPLOAD_LABEL_CLASS = buttonClass("secondary", "sm");
-/** Delete (trash can) icon path — the same glyph as the agents page card delete; the Hooks tab's row delete borrows it. */
-export const TRASH_ICON =
- "M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m3 0l-1 13a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 7m4 4v6m4-6v6";
-
/** Zip pending an overwrite confirmation: the payload to resend with overwrite: true plus the skill name for the confirm copy. */
interface PendingOverwrite {
dataBase64: string;
@@ -309,7 +306,7 @@ export function SkillsTab({
disabled={busy}
onClick={() => setRemoving(skill.name)}
>
- <GlyphIcon d={TRASH_ICON} size={14} />
+ <GlyphIcon d={ICONS.trash} size={14} />
</IconButton>
</div>
))}
diff --git a/packages/web/src/features/benchmark/benchmark-page.tsx b/packages/web/src/features/benchmark/benchmark-page.tsx
index 665e2dcb..f32ada79 100644
--- a/packages/web/src/features/benchmark/benchmark-page.tsx
+++ b/packages/web/src/features/benchmark/benchmark-page.tsx
@@ -23,6 +23,7 @@ import {
Button,
EmptyState,
GlyphIcon,
+ ICONS,
ICON_GAP,
ICON_SIZE,
Skeleton,
@@ -56,10 +57,6 @@ import { UseBenchmarkModal } from "./use-benchmark-modal";
/** The Skills a design conversation is opened with (see the create modal below). */
const BENCHMARK_DESIGN_SKILLS = ["benchmark-design", "agent-evaluation"];
-/** Delete (trash can), the same card-row mark the Agents list carries. */
-const TRASH_ICON =
- "M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m3 0l-1 13a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 7m4 4v6m4-6v6";
-
/** How many tested Agents a card names before the rest fold into a "+n". */
const AVATARS_SHOWN = 3;
@@ -271,7 +268,7 @@ export function BenchmarkCard({
onClick={onDelete}
className={masked ? "relative z-10" : undefined}
>
- <GlyphIcon d={TRASH_ICON} size={ICON_SIZE.iconButton} />
+ <GlyphIcon d={ICONS.trash} size={ICON_SIZE.iconButton} />
</Button>
)}
</div>
diff --git a/packages/web/src/features/builtin-browser/browser-tab-strip.tsx b/packages/web/src/features/builtin-browser/browser-tab-strip.tsx
index aaad5ce6..1dddc8df 100644
--- a/packages/web/src/features/builtin-browser/browser-tab-strip.tsx
+++ b/packages/web/src/features/builtin-browser/browser-tab-strip.tsx
@@ -13,7 +13,7 @@
*/
import { useState } from "react";
import type { BuiltinBrowserTab } from "@prismshadow/penguin-server/api";
-import { CloseIcon, GlyphIcon, ICONS, ICON_SIZE, PlusIcon } from "@prismshadow/penguin-ui";
+import { CloseIcon, GlyphIcon, ICONS, ICON_SIZE, PlusIcon, Spinner } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import { toneDot, toneInk } from "../../lib/tone";
import { faviconSrc, isBlankUrl, tabLabel } from "./address";
@@ -35,11 +35,7 @@ function TabIcon({ tab }: { tab: BuiltinBrowserTab }) {
}
if (tab.loading) {
return (
- <span
- aria-hidden
- style={{ width: ICON_SIZE.inlineGlyph, height: ICON_SIZE.inlineGlyph }}
- className="inline-block shrink-0 animate-spin rounded-full border-[1.5px] border-current border-t-transparent text-gray-400 dark:text-gray-500"
- />
+ <Spinner size="md" label={S.common.loading} className="text-gray-400 dark:text-gray-500" />
);
}
const src = faviconSrc(tab.favicon, window.location.origin);
diff --git a/packages/web/src/features/chat/chat-page.tsx b/packages/web/src/features/chat/chat-page.tsx
index 266462a1..eeeac1c4 100644
--- a/packages/web/src/features/chat/chat-page.tsx
+++ b/packages/web/src/features/chat/chat-page.tsx
@@ -36,6 +36,7 @@ import {
ActivityIcon,
Button,
CopyButton,
+ Dot,
EmptyState,
GlyphIcon,
ICONS,
@@ -158,7 +159,7 @@ import { advancePanelTaskScope, createPanelTaskScope } from "./panel-task-scope"
import { useSessionDraft } from "./use-session-draft";
import { useSessionStream } from "./use-session-stream";
import { PanelsToolbar } from "./panels-toolbar";
-import { toneDot, toneInk } from "../../lib/tone";
+import { toneInk } from "../../lib/tone";
import { STAT_ICONS } from "../../lib/stat-icons";
import { exitedProcessIds, reportableProcessFailure } from "./process-list";
@@ -2296,14 +2297,14 @@ export function ChatPage() {
<ul className="mt-1 space-y-1.5">
{processes.map((p) => (
<li key={p.processId} className="flex items-center gap-2">
- <span
- aria-hidden
- className={`h-1.5 w-1.5 shrink-0 rounded-full ${
- p.running
- ? `animate-pulse ${toneDot.busy}`
- : "bg-gray-300 dark:bg-gray-600"
- }`}
- />
+ {p.running ? (
+ <Dot tone="success" pulse />
+ ) : (
+ <span
+ aria-hidden
+ className="h-1.5 w-1.5 shrink-0 rounded-full bg-gray-300 dark:bg-gray-600"
+ />
+ )}
<span className="min-w-0 flex-1">
<Truncated text={p.cmd} className="font-mono text-xs" codeTooltip />
<span className="block truncate text-[11px] text-gray-400 dark:text-gray-500">
diff --git a/packages/web/src/features/chat/conversation-outline.tsx b/packages/web/src/features/chat/conversation-outline.tsx
index f6a601fe..0ef4e1cc 100644
--- a/packages/web/src/features/chat/conversation-outline.tsx
+++ b/packages/web/src/features/chat/conversation-outline.tsx
@@ -36,7 +36,7 @@
*/
import { useEffect, useRef, useState } from "react";
import type { FocusEvent, MouseEvent, RefObject } from "react";
-import { GlyphIcon } from "@prismshadow/penguin-ui";
+import { Dot, GlyphIcon } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import { Dropdown } from "../../components/ui/dropdown";
import type { OutlineEntry } from "./outline-model";
@@ -331,9 +331,10 @@ export function ConversationOutline({
className="group/tick pointer-events-auto flex w-10 items-center pl-2.5"
>
{/* The visible tick: a short bar, longer and darker at the reading position
- (the button is the real hit target — pitch-tall and wider than the bar). */}
+ (the button is the real hit target — pitch-tall and wider than the bar). Only
+ the colour eases; the length snaps, since tweening a width is layout motion. */}
<span
- className={`h-[2px] rounded-full transition-all duration-150 ${
+ className={`h-[2px] rounded-full transition-colors duration-150 ${
active
? "w-5 bg-gray-800 dark:bg-gray-200"
: "w-3.5 bg-gray-300 group-hover/tick:bg-gray-500 dark:bg-gray-700 dark:group-hover/tick:bg-gray-400"
@@ -364,11 +365,11 @@ export function ConversationOutline({
{hovered.question || S.chat.outlineNoText}
</p>
{cardAnswer !== "" && (
- <p
- className={`mt-1 line-clamp-3 text-sm leading-snug text-gray-500 dark:text-gray-400 ${
- hovered.answer === "" ? "animate-pulse" : ""
- }`}
- >
+ <p className="mt-1 line-clamp-3 text-sm leading-snug text-gray-500 dark:text-gray-400">
+ {/* An empty answer here is the reply still being written: the live dot says so. */}
+ {hovered.answer === "" && (
+ <Dot tone="success" pulse className="mr-1.5 align-middle" />
+ )}
{cardAnswer}
</p>
)}
@@ -457,11 +458,10 @@ export function OutlineMenuButton({
{entry.question || S.chat.outlineNoText}
</span>
{answer !== "" && (
- <span
- className={`mt-0.5 block truncate text-xs text-gray-500 dark:text-gray-400 ${
- entry.answer === "" ? "animate-pulse" : ""
- }`}
- >
+ <span className="mt-0.5 block truncate text-xs text-gray-500 dark:text-gray-400">
+ {entry.answer === "" && (
+ <Dot tone="success" pulse className="mr-1.5 align-middle" />
+ )}
{answer}
</span>
)}
diff --git a/packages/web/src/features/chat/message-stream.tsx b/packages/web/src/features/chat/message-stream.tsx
index 5307d79e..0a3140b4 100644
--- a/packages/web/src/features/chat/message-stream.tsx
+++ b/packages/web/src/features/chat/message-stream.tsx
@@ -9,7 +9,7 @@
*/
import { useEffect, useLayoutEffect, useRef, useState } from "react";
import type { ReactNode, RefObject } from "react";
-import { EmptyState } from "@prismshadow/penguin-ui";
+import { EmptyState, Spinner } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import type { ChatItem } from "../../lib/omni/stream-model";
import type { MemoryChangeRow } from "../../lib/omni/memory-changes";
@@ -458,7 +458,7 @@ export function MessageStream({
<div className="flex justify-center pb-2">
{older.loading ? (
<span className="flex items-center gap-2 py-1 text-xs text-gray-400 dark:text-gray-500">
- <span className="inline-block h-3 w-3 animate-spin rounded-full border-2 border-gray-400 border-t-transparent" />
+ <Spinner size="sm" label={S.common.loading} />
{S.chat.loadingEarlier}
</span>
) : older.error !== null ? (
diff --git a/packages/web/src/features/chat/subagent-chip.tsx b/packages/web/src/features/chat/subagent-chip.tsx
index 20b1c38b..435a756c 100644
--- a/packages/web/src/features/chat/subagent-chip.tsx
+++ b/packages/web/src/features/chat/subagent-chip.tsx
@@ -8,7 +8,7 @@
* subtree, so a nested approval stays discoverable with the panel closed. Clicking opens the
* panel focused on this child via ctx.onOpenSubagent.
*/
-import { AgentAvatar } from "@prismshadow/penguin-ui";
+import { AgentAvatar, Spinner } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import { hasPendingWithinOrigin } from "../../lib/omni/stream-model";
import type { StreamModel } from "../../lib/omni/stream-model";
@@ -61,10 +61,7 @@ export function SubagentChip({
</span>
)}
{running && (
- <span
- aria-hidden
- className="inline-block h-2.5 w-2.5 shrink-0 animate-spin rounded-full border border-gray-400 border-t-transparent"
- />
+ <Spinner size="xs" label={S.common.loading} className="text-gray-400 dark:text-gray-500" />
)}
{pending && (
<span aria-hidden className={`h-1.5 w-1.5 shrink-0 rounded-full ${toneDot.attention}`} />
diff --git a/packages/web/src/features/chat/task-stats-line.tsx b/packages/web/src/features/chat/task-stats-line.tsx
index 611f95ae..f12e8bfb 100644
--- a/packages/web/src/features/chat/task-stats-line.tsx
+++ b/packages/web/src/features/chat/task-stats-line.tsx
@@ -28,7 +28,7 @@
*/
import { useState } from "react";
import type { TracePosition } from "@prismshadow/penguin-server/api";
-import { CopyButton, GlyphIcon } from "@prismshadow/penguin-ui";
+import { CopyButton, GlyphIcon, Spinner } from "@prismshadow/penguin-ui";
import { formatTaskStats } from "../../lib/omni/task-stats";
import type { TaskStats } from "../../lib/omni/task-stats";
import {
@@ -199,23 +199,26 @@ export function TaskStatsLine({
onClick={() => setConfirmingFork(true)}
className="flex h-5 w-5 shrink-0 items-center justify-center rounded transition-colors duration-150 hover:bg-gray-100 hover:text-gray-600 disabled:cursor-wait disabled:opacity-50 dark:hover:bg-gray-800 dark:hover:text-gray-300"
>
- <svg
- width="13"
- height="13"
- viewBox="0 0 24 24"
- fill="none"
- stroke="currentColor"
- strokeWidth="1.7"
- strokeLinecap="round"
- strokeLinejoin="round"
- aria-hidden
- className={forking ? "animate-pulse" : ""}
- >
- <circle cx="6" cy="5" r="2" />
- <circle cx="18" cy="7" r="2" />
- <circle cx="6" cy="19" r="2" />
- <path d="M6 7v8M8 11h4a6 6 0 0 0 6-2" />
- </svg>
+ {forking ? (
+ <Spinner size="sm" label={S.common.loading} />
+ ) : (
+ <svg
+ width="13"
+ height="13"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="1.7"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ aria-hidden
+ >
+ <circle cx="6" cy="5" r="2" />
+ <circle cx="18" cy="7" r="2" />
+ <circle cx="6" cy="19" r="2" />
+ <path d="M6 7v8M8 11h4a6 6 0 0 0 6-2" />
+ </svg>
+ )}
</button>
<ConfirmModal
open={confirmingFork}
diff --git a/packages/web/src/features/chat/workspace-browser.tsx b/packages/web/src/features/chat/workspace-browser.tsx
index 5b4e2867..3e66ad30 100644
--- a/packages/web/src/features/chat/workspace-browser.tsx
+++ b/packages/web/src/features/chat/workspace-browser.tsx
@@ -58,6 +58,7 @@ import {
ICONS,
ICON_SIZE,
SkeletonList,
+ Spinner,
useCopied,
} from "@prismshadow/penguin-ui";
import { REHYPE_PLUGINS, REMARK_PLUGINS } from "../../lib/markdown-plugins";
@@ -1801,7 +1802,7 @@ export function WorkspaceBrowser({
aria-label={uploadLabel}
/>
{uploading !== null ? (
- <span className="inline-block h-3 w-3 shrink-0 animate-spin rounded-full border-[1.5px] border-current border-t-transparent" />
+ <Spinner size="sm" label={uploadLabel} />
) : (
<GlyphIcon d={ICONS.upload} size={ICON_SIZE.iconButton} />
)}
@@ -2361,7 +2362,7 @@ export function WorkspaceBrowser({
className={`${iconActionClass} disabled:opacity-40`}
>
{saving ? (
- <span className="inline-block h-3 w-3 shrink-0 animate-spin rounded-full border-[1.5px] border-current border-t-transparent" />
+ <Spinner size="sm" label={S.common.saving} />
) : (
<GlyphIcon d={STAT_ICONS.check} size={ICON_SIZE.iconButton} />
)}
diff --git a/packages/web/src/features/company/chart-card.tsx b/packages/web/src/features/company/chart-card.tsx
index fa49bcdd..4f0513fc 100644
--- a/packages/web/src/features/company/chart-card.tsx
+++ b/packages/web/src/features/company/chart-card.tsx
@@ -36,11 +36,13 @@
import { useEffect } from "react";
import type { ReactNode } from "react";
import type { OrgEmployeeItem, OrgEmployeeState } from "@prismshadow/penguin-server/api";
-import { AgentAvatar, GlyphIcon, ICONS, ICON_SIZE } from "@prismshadow/penguin-ui";
+import { AgentAvatar, Dot, GlyphIcon, ICONS, ICON_SIZE } from "@prismshadow/penguin-ui";
+import type { ToneName } from "@prismshadow/penguin-ui";
import { S } from "../../lib/strings";
import { useRowContextMenu } from "../../components/ui/context-menu";
import { formatMoney, formatPercent } from "../../lib/format";
import { toneDot, toneInk } from "../../lib/tone";
+import type { Tone } from "../../lib/tone";
import type { Currency } from "../../state/theme";
import { Dropdown } from "../../components/ui/dropdown";
import { budgetTone } from "./finance-tree";
@@ -51,20 +53,22 @@ import { employeeStateTone } from "./chart-view";
/** The legend's order: the states a reader is most likely to be looking for first. */
const LEGEND_STATES: readonly OrgEmployeeState[] = ["running", "idle", "paused"];
-/** A 6px state dot with its label beside it; the running dot carries a pulsing halo (transform-only, so reduced motion leaves a plain dot). */
+/** The app's tones in the shared package's names: a busy dot takes the success fill. */
+const DOT_TONE: Record<Tone, ToneName> = {
+ busy: "success",
+ attention: "attention",
+ success: "success",
+ link: "info",
+ danger: "danger",
+ muted: "neutral",
+};
+
+/** A 6px state dot with its label beside it; the running dot pulses, reduced motion stills it. */
export function ChartStateDot({ state }: { state: OrgEmployeeState }) {
- const tone = employeeStateTone(state);
const label = S.company.employeeStates[state] ?? state;
return (
<span className="inline-flex shrink-0 items-center gap-1.5">
- <span className="relative flex h-1.5 w-1.5 shrink-0" aria-hidden>
- {state === "running" && (
- <span
- className={`absolute inline-flex h-full w-full animate-ping rounded-full opacity-75 ${toneDot[tone]}`}
- />
- )}
- <span className={`relative inline-flex h-1.5 w-1.5 rounded-full ${toneDot[tone]}`} />
- </span>
+ <Dot tone={DOT_TONE[employeeStateTone(state)]} pulse={state === "running"} />
<span>{label}</span>
</span>
);
diff --git a/packages/web/src/features/company/finance-page.tsx b/packages/web/src/features/company/finance-page.tsx
index 30332404..5110a8ce 100644
--- a/packages/web/src/features/company/finance-page.tsx
+++ b/packages/web/src/features/company/finance-page.tsx
@@ -41,6 +41,7 @@ import {
CloseIcon,
EmptyState,
GlyphIcon,
+ ICONS,
ICON_GAP,
ICON_SIZE,
} from "@prismshadow/penguin-ui";
@@ -92,10 +93,6 @@ import type { SpendStateKey } from "./finance-tree";
import { agentPrincipal } from "./principals";
import { NoticeStrip } from "../../components/ui/notice-strip";
-/** Pencil (lucide): the budget cell's edit affordance. */
-const PENCIL_ICON =
- "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4";
-
/** Percent (lucide percent): the ratio tile's glyph. */
const PERCENT_ICON =
"M19 5 5 19M6.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zM17.5 20a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z";
@@ -653,7 +650,7 @@ export function FinancePage() {
: formatMoney(employee.budget, currency)}
</span>
<GlyphIcon
- d={PENCIL_ICON}
+ d={ICONS.pencil}
size={ICON_SIZE.inlineGlyph}
className="text-gray-300 transition-colors duration-150 group-hover:text-gray-600 dark:text-gray-600 dark:group-hover:text-gray-300"
/>
diff --git a/packages/web/src/features/models/models-page.tsx b/packages/web/src/features/models/models-page.tsx
index 84c0ce28..9e5c8f1b 100644
--- a/packages/web/src/features/models/models-page.tsx
+++ b/packages/web/src/features/models/models-page.tsx
@@ -59,6 +59,7 @@ import {
Link,
ProviderLogo,
SkeletonList,
+ Spinner,
buttonClass,
} from "@prismshadow/penguin-ui";
import * as api from "../../api/endpoints";
@@ -220,13 +221,10 @@ function inputToUsd(inputStr: string, currency: Currency): string {
}
/**
- * Group-header action glyphs this page draws itself (24x24 line paths); add, bulk key and the
- * catalog sync read `ICONS.plus`, `ICONS.key` and `ICONS.rotateCw`. The trash can is the tapered
- * bin the agent cards' delete action wears, not the registry's straight-sided `ICONS.trash`.
+ * The one group-header action glyph this page draws itself (a 24x24 line path), an arrow entering
+ * a door: authorize with the provider and come back with a key. Add, bulk key, the catalog sync
+ * and delete read `ICONS.plus`, `ICONS.key`, `ICONS.rotateCw` and `ICONS.trash`.
*/
-const TRASH_ICON =
- "M4 7h16M9 7V5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2m3 0l-1 13a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2L6 7m4 4v6m4-6v6";
-/** Arrow entering a door: authorize with the provider and come back with a key. */
const SIGN_IN_ICON = "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3";
/** Speed-test glyphs (24x24 line paths): gauge for the group action, clock = TTFT, zap = TPS. */
@@ -1450,7 +1448,7 @@ export function ModelsPage() {
title={S.models.deleteGroup}
onClick={() => setDeleteGroupFor(group.provider.id)}
>
- <GlyphIcon d={TRASH_ICON} size={ICON_SIZE.groupHeaderAction} />
+ <GlyphIcon d={ICONS.trash} size={ICON_SIZE.groupHeaderAction} />
<span className="hidden @3xl:inline">{S.models.deleteGroup}</span>
</Button>
)}
@@ -2070,18 +2068,11 @@ function AddGroupDialog({
<Button
variant="link"
size="sm"
- disabled={detecting || busy}
+ loading={detecting}
+ disabled={busy}
onClick={() => void detect()}
title={S.models.detectProtocolHint}
className="shrink-0"
- leading={
- detecting && (
- <span
- aria-hidden
- className="inline-block h-2.5 w-2.5 shrink-0 animate-spin rounded-full border border-current border-t-transparent"
- />
- )
- }
>
{detecting ? S.models.detecting : S.models.detectProtocol}
</Button>
@@ -3387,18 +3378,10 @@ function ModelDialog({
<Button
variant="link"
size="sm"
- disabled={detecting}
+ loading={detecting}
onClick={() => void detectFromButton()}
title={S.models.detectProtocolHint}
className="shrink-0"
- leading={
- detecting && (
- <span
- aria-hidden
- className="inline-block h-2.5 w-2.5 shrink-0 animate-spin rounded-full border border-current border-t-transparent"
- />
- )
- }
>
{detecting ? S.models.detecting : S.models.detectProtocol}
</Button>
@@ -3653,18 +3636,10 @@ function ModelDialog({
<Button
variant="link"
size="sm"
- disabled={visionDetecting}
+ loading={visionDetecting}
onClick={() => void detectVisionFromButton()}
title={S.models.detectVisionHint}
className="shrink-0"
- leading={
- visionDetecting && (
- <span
- aria-hidden
- className="inline-block h-2.5 w-2.5 shrink-0 animate-spin rounded-full border border-current border-t-transparent"
- />
- )
- }
>
{visionDetecting ? S.models.detectingVision : S.models.detectVision}
</Button>
@@ -4075,7 +4050,7 @@ function ModelOAuthDialog({
)}
{phase === "waiting" && !manual && (
<p className="flex items-center gap-1.5 text-xs text-gray-500 dark:text-gray-400">
- <span className="inline-block h-2.5 w-2.5 shrink-0 animate-spin rounded-full border border-current border-t-transparent" />
+ <Spinner size="xs" label={S.common.loading} />
{S.models.oauthWaiting}
</p>
)}
diff --git a/packages/web/src/features/models/protocol-suffix.tsx b/packages/web/src/features/models/protocol-suffix.tsx
index 6f790d75..62cf1e47 100644
--- a/packages/web/src/features/models/protocol-suffix.tsx
+++ b/packages/web/src/features/models/protocol-suffix.tsx
@@ -30,7 +30,7 @@
* the call site — so no extra row appears in the happy path.
*/
import { useState } from "react";
-import { ChevronDown } from "@prismshadow/penguin-ui";
+import { ChevronDown, Spinner } from "@prismshadow/penguin-ui";
import { Dropdown } from "../../components/ui/dropdown";
import { ChoiceCheck, menuRowClass, menuRowTone } from "../../components/ui/field";
// This menu is an OptionMenu by hand (its trigger lives inside the base URL field, which
@@ -99,14 +99,7 @@ export function ProtocolSuffixMenu({
<span className="truncate">{path}</span>
{/* Same 10px box as the chevron it replaces: switching to the busy state must not
resize the trigger, or the input's reserved padding would jump mid-detection. */}
- {detecting ? (
- <span
- aria-hidden
- className="inline-block h-2.5 w-2.5 shrink-0 animate-spin rounded-full border border-current border-t-transparent"
- />
- ) : (
- <ChevronDown size={10} />
- )}
+ {detecting ? <Spinner size="xs" label={S.models.detecting} /> : <ChevronDown size={10} />}
</button>
}
>
diff --git a/packages/web/src/features/semantic-id/semantic-id-field.tsx b/packages/web/src/features/semantic-id/semantic-id-field.tsx
index f800c576..2137a6ed 100644
--- a/packages/web/src/features/semantic-id/semantic-id-field.tsx
+++ b/packages/web/src/features/semantic-id/semantic-id-field.tsx
@@ -162,16 +162,12 @@ export function SemanticIdField({
<Button
size="sm"
title={S.semanticId.generateId}
- aria-busy={busy || undefined}
- disabled={disabled || busy || !derivable || projectId === null}
+ loading={busy}
+ disabled={disabled || !derivable || projectId === null}
onClick={() => void generate()}
className="shrink-0 whitespace-nowrap"
+ leading={<GlyphIcon d={SPARKLES_ICON} size={ICON_SIZE.inlineGlyph} />}
>
- {busy ? (
- <span className="inline-block h-3 w-3 animate-spin rounded-full border-[1.5px] border-current border-t-transparent" />
- ) : (
- <GlyphIcon d={SPARKLES_ICON} size={ICON_SIZE.inlineGlyph} />
- )}
{S.semanticId.generateIdLabel}
</Button>
</div>
diff --git a/packages/web/test/deslop.test.ts b/packages/web/test/deslop.test.ts
index 37a2842a..ab769729 100644
--- a/packages/web/test/deslop.test.ts
+++ b/packages/web/test/deslop.test.ts
@@ -3,8 +3,8 @@
*
* The same checks the package holds itself to (`packages/ui/src/testing/deslop.ts`, run over
* `packages/ui/src` by `packages/ui/test/deslop.test.ts`), run over the web app, where the tells
- * K-redesign §1.5 counts still stand: `transition-all`, a hover scale, pings and pulses on things
- * that are not live, thirteen hand-drawn spinners, one-hue notice boxes, 10–11 px text, uppercase
+ * K-redesign §1.5 counts still stand: size and transform tweens off their homes, a hover scale,
+ * pulses on things that are not live, one-hue notice boxes, 10–11 px text, uppercase
* micro-titles. Each of those is in {@link ALLOWLIST} — per file, per rule, how many and the wave
* that removes them — and nothing else may appear. The counts are exact both ways: a new hit fails
* as new slop, and a hit that goes away fails until its entry shrinks, so the list only tightens and
@@ -48,24 +48,18 @@ const POLICY: DeslopPolicy = {
/**
* What the web app still holds, seeded from K-redesign §1.5, by path under `packages/web/src`:
* `{ rule: [count, wave] }`. The wave is the one whose PR rewrites those lines — where §1.5 names
- * it (`transition-all`, spinners, pings → W1b; the hover scale → W2's SwatchPicker; one-hue boxes →
- * W4's Notice), that wave; otherwise the wave that moves or rebuilds the file (A-architecture §7:
- * W1 marks and actions, W2 forms, W3 overlays, W4 layout, navigation, notices and data display, W5
- * content, W6 chat, W7 files, shell and dock, W8 charts). `W1b+W7` splits an entry between two.
+ * it (the hover scale → W2's SwatchPicker; one-hue boxes → W4's Notice), that wave; otherwise the
+ * wave that moves or rebuilds the file (A-architecture §7: W1 marks and actions, W2 forms, W3
+ * overlays, W4 layout, navigation, notices and data display, W5 content, W6 chat, W7 files, shell
+ * and dock, W8 charts). `Wn+Wm` splits an entry between two.
* `W10` is the follow-up sweep of the code that landed on main while the waves were in flight.
*/
const ALLOWLIST: DeslopAllowlist = {
- "components/account/update-modal.tsx": {
- 1: [1, "W4"],
- 3: [1, "W4"],
- 6: [1, "W4"],
- 11: [2, "W1b"],
- },
- "components/account/update-row.tsx": { 11: [2, "W1b"] },
+ "components/account/update-modal.tsx": { 1: [1, "W4"], 3: [1, "W4"], 6: [1, "W4"] },
"components/layout/app-layout.tsx": { 1: [1, "W7"] },
"components/layout/project-dialogs.tsx": { 13: [1, "W3"] },
"components/layout/sidebar.tsx": {
- 1: [5, "W1b+W7"],
+ 1: [3, "W7"],
12: [5, "W7"],
13: [3, "W7"],
14: [2, "W7"],
@@ -76,7 +70,6 @@ const ALLOWLIST: DeslopAllowlist = {
"components/ui/option-menu.tsx": { 13: [1, "W2"] },
"components/ui/paged-dialog.tsx": { 13: [1, "W3"], 14: [2, "W3"] },
"components/ui/segmented.tsx": { 12: [2, "W2"] },
- "components/ui/session-row-menu.tsx": { 1: [1, "W1b"] },
"components/ui/sheet.tsx": { 19: [1, "W3"] },
"components/ui/switch.tsx": { 1: [1, "W2"] },
"components/ui/toast.tsx": { 9: [4, "W4"] },
@@ -93,31 +86,29 @@ const ALLOWLIST: DeslopAllowlist = {
"features/benchmark/benchmark-page.tsx": { 13: [1, "W4"], 18: [1, "W4"] },
"features/benchmark/create-benchmark-modal.tsx": { 13: [1, "W3"] },
"features/benchmark/evaluation-detail-modal.tsx": { 13: [2, "W3"] },
- "features/builtin-browser/browser-tab-strip.tsx": { 11: [2, "W10"], 12: [2, "W10"] },
+ "features/builtin-browser/browser-tab-strip.tsx": { 12: [2, "W10"] },
"features/chat/agent-topology-view.tsx": { 12: [1, "W6"], 13: [3, "W6"] },
"features/chat/chat-input.tsx": { 7: [1, "W6"], 12: [7, "W6"], 13: [5, "W6"] },
- "features/chat/chat-page.tsx": { 6: [1, "W1b"], 12: [2, "W6"], 13: [3, "W6"], 15: [1, "W4"] },
+ "features/chat/chat-page.tsx": { 12: [2, "W6"], 13: [3, "W6"], 15: [1, "W4"] },
"features/chat/code-block.tsx": { 13: [1, "W5"] },
"features/chat/context-gauge.tsx": { 12: [5, "W8"] },
- "features/chat/conversation-outline.tsx": { 1: [1, "W1b"], 6: [2, "W1b"], 12: [1, "W6"] },
+ "features/chat/conversation-outline.tsx": { 12: [1, "W6"] },
"features/chat/disclosure-row.tsx": { 13: [1, "W4"], 14: [2, "W4"] },
"features/chat/draft-view.tsx": { 12: [1, "W6"], 13: [2, "W6"] },
"features/chat/drop-zone.tsx": { 18: [1, "W7"] },
"features/chat/live-duration.tsx": { 6: [1, "W4"] },
"features/chat/memory-view.tsx": { 13: [2, "W6"] },
"features/chat/message-item.tsx": { 4: [2, "W6"], 13: [3, "W6"] },
- "features/chat/message-stream.tsx": { 11: [2, "W1b"] },
"features/chat/model-picker-modal.tsx": { 12: [1, "W10"] },
"features/chat/shortcuts-folder.tsx": { 12: [1, "W7"] },
"features/chat/step-banner.tsx": { 13: [1, "W6"], 14: [2, "W6"] },
- "features/chat/subagent-chip.tsx": { 11: [2, "W1b"], 13: [1, "W6"] },
+ "features/chat/subagent-chip.tsx": { 13: [1, "W6"] },
"features/chat/subagents-view.tsx": { 13: [2, "W6"], 14: [2, "W6"] },
- "features/chat/task-stats-line.tsx": { 6: [1, "W1b"], 13: [1, "W6"], 15: [1, "W4"] },
+ "features/chat/task-stats-line.tsx": { 13: [1, "W6"], 15: [1, "W4"] },
"features/chat/tool-call-card.tsx": { 6: [2, "W6"] },
"features/chat/work-group.tsx": { 13: [1, "W6"] },
"features/chat/workspace-browser.tsx": {
1: [1, "W7"],
- 11: [4, "W1b"],
12: [4, "W7"],
13: [1, "W7"],
18: [1, "W7"],
@@ -130,7 +121,7 @@ const ALLOWLIST: DeslopAllowlist = {
"features/company/channel-header.tsx": { 13: [4, "W6"] },
"features/company/channel-sidebar.tsx": { 12: [2, "W4"], 13: [6, "W4"], 14: [2, "W4"] },
"features/company/channel-view.tsx": { 12: [1, "W6"], 13: [6, "W6"] },
- "features/company/chart-card.tsx": { 6: [1, "W1b"], 12: [1, "W8"], 13: [5, "W8"] },
+ "features/company/chart-card.tsx": { 12: [1, "W8"], 13: [5, "W8"] },
"features/company/employee-dialogs.tsx": { 12: [1, "W4"] },
"features/company/finance-gauge.tsx": { 13: [1, "W8"] },
"features/company/finance-page.tsx": { 12: [3, "W4"], 13: [6, "W4"] },
@@ -149,8 +140,7 @@ const ALLOWLIST: DeslopAllowlist = {
"features/dock/dock-launcher.tsx": { 13: [1, "W7"], 18: [3, "W7"], 19: [4, "W7"] },
"features/dock/dock-panel.tsx": { 1: [2, "W7"], 12: [2, "W7"] },
"features/models/model-tags.ts": { 13: [1, "W10"] },
- "features/models/models-page.tsx": { 1: [1, "W4"], 11: [8, "W1b"], 12: [7, "W4"], 13: [8, "W4"] },
- "features/models/protocol-suffix.tsx": { 11: [2, "W1b"] },
+ "features/models/models-page.tsx": { 1: [1, "W4"], 12: [7, "W4"], 13: [8, "W4"] },
"features/plugins/plugin-detail-page.tsx": { 13: [2, "W4"] },
"features/plugins/plugin-detail.tsx": { 13: [1, "W4"] },
"features/plugins/plugins-page.tsx": {
@@ -162,7 +152,6 @@ const ALLOWLIST: DeslopAllowlist = {
"features/schedules/schedule-form-modal.tsx": { 13: [2, "W2"] },
"features/schedules/schedule-panel.tsx": { 12: [1, "W4"] },
"features/schedules/schedule-suggestions.tsx": { 12: [1, "W4"], 13: [1, "W4"] },
- "features/semantic-id/semantic-id-field.tsx": { 11: [2, "W1b"] },
"features/settings/proxy-section.tsx": { 13: [1, "W2"] },
"features/settings/setting-row.tsx": { 1: [1, "W2"], 2: [1, "W2"] },
"features/settings/shortcut-recorder.tsx": { 12: [1, "W10"], 13: [1, "W10"] },
diff --git a/packages/web/test/icon-registry.test.ts b/packages/web/test/icon-registry.test.ts
index df3366f7..d9253cec 100644
--- a/packages/web/test/icon-registry.test.ts
+++ b/packages/web/test/icon-registry.test.ts
@@ -5,12 +5,12 @@
* A path typed out in a feature file is how one bin came to be drawn five ways and a redraw came to
* reach one surface and not the others. So new glyphs go into the registry, named for what they
* draw, and a feature file reads them from there. What feature files still hold is listed below per
- * file, with the wave that moves or rebuilds the file (`W1b+W4` splits an entry between two);
- * `W10` is the follow-up sweep of the code that landed on main while the waves were in flight.
- * `W1b` marks a near-copy of a registry glyph that differs from it by a grid unit or more — the
- * tapered bin, the feather and lucide pencils — and stays until someone decides to redraw it onto
- * the registry's. The counts are exact both ways, like the de-slop list: a new path fails as new,
- * and one that goes away fails until its entry shrinks, so the list only tightens.
+ * file, with the wave that moves or rebuilds the file (`W7+W10` splits an entry between two);
+ * `W10` is the follow-up sweep of the code that landed on main while the waves were in flight. A
+ * near-copy of a registry glyph is not kept beside it: the call site draws the registry's, so a bin
+ * or a pencil looks the same everywhere. The counts are exact both ways, like the de-slop list: a
+ * new path fails as new, and one that goes away fails until its entry shrinks, so the list only
+ * tightens.
*
* Two shapes are counted: a `const *_ICON` whose value is path data, and a literal `d="M…"` on an
* element. A computed path (a chart's line, a sparkline, the topology view's edges) is not a
@@ -28,9 +28,6 @@ const ALLOWLIST: Readonly<Record<string, readonly [number, string]>> = {
"components/layout/app-layout.tsx": [3, "W7"],
"components/layout/sidebar.tsx": [6, "W7"],
"components/ui/info-popover.tsx": [1, "W3"],
- "features/agents/memory-tab.tsx": [2, "W1b"],
- "features/agents/skills-tab.tsx": [1, "W1b"],
- "features/benchmark/benchmark-page.tsx": [1, "W1b"],
"features/chat/attached-files-banner.tsx": [1, "W6"],
"features/chat/chat-input.tsx": [5, "W6"],
"features/chat/conversation-outline.tsx": [1, "W6"],
@@ -45,11 +42,11 @@ const ALLOWLIST: Readonly<Record<string, readonly [number, string]>> = {
"features/company/channel-header.tsx": [4, "W6"],
"features/company/channel-sidebar.tsx": [2, "W4"],
"features/company/channel-view.tsx": [1, "W6"],
- "features/company/finance-page.tsx": [2, "W1b+W4"],
+ "features/company/finance-page.tsx": [1, "W4"],
"features/company/handbook-explorer.tsx": [1, "W4"],
"features/company/shared.tsx": [2, "W4"],
"features/dock/dock-panel.tsx": [3, "W7+W10"],
- "features/models/models-page.tsx": [5, "W1b+W4"],
+ "features/models/models-page.tsx": [4, "W4"],
"features/plugins/plugins-page.tsx": [2, "W4"],
"features/schedules/schedule-panel.tsx": [3, "W4"],
"features/schedules/schedule-suggestions.tsx": [3, "W4"],