Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

docs(spec): record the radial menu redesign (D678)

vastsaa9d53703bbe6
diff --git a/docs/spec/04-ux/06-settings-ia.md b/docs/spec/04-ux/06-settings-ia.md
index 5c31eb36a..8ab811897 100644
--- a/docs/spec/04-ux/06-settings-ia.md
+++ b/docs/spec/04-ux/06-settings-ia.md
@@ -339,7 +339,7 @@ Settings is a **full-window page** that replaces the app sidebar + main chrome (
standard 240px field-column cap. Labels stay on one line; when space is
insufficient, the control moves below the title and whole options wrap
within the available pane width without horizontal overflow.
-- **Radial context menu** is a card in AI after Defaults with one switch
+- **Radial context menu** is a card in General after Sidebar with one switch
(**Enable on the transcript background**) and four direction pickers
(**Up**, **Right**, **Down**, **Left**). The switch is off when
`AppSettings.radialMenu.enabled` is absent or false, which keeps the vertical
diff --git a/docs/spec/04-ux/09-interaction-patterns.md b/docs/spec/04-ux/09-interaction-patterns.md
index 225326c7d..1252a2b96 100644
--- a/docs/spec/04-ux/09-interaction-patterns.md
+++ b/docs/spec/04-ux/09-interaction-patterns.md
@@ -686,13 +686,16 @@ may be retained while exactly one workspace supplies the visible shell context.
### 1.11 Transcript background radial menu (opt-in)
-- **Settings → AI → Radial context menu** carries one switch and four
+- **Settings → General → Radial context menu** carries one switch and four
direction pickers. The switch is off unless `AppSettings.radialMenu.enabled`
is true, so an upgrade keeps the vertical menu every earlier build shipped.
- With the switch on, a right-click on the empty transcript background opens a
four-sector ring centred on the pointer instead of the vertical conversation
- menu. Message rows, markdown links, file references, tool rows, the sidebar,
- and the work panel keep their vertical menus.
+ menu. Each sector shows its action's icon and label at rest, so the ring is
+ readable without hovering; the sector under the pointer or keyboard focus
+ fills with the hover tone, and the hub at the centre is a recessed well that
+ marks the click point. Message rows, markdown links, file references, tool
+ rows, the sidebar, and the work panel keep their vertical menus.
- The vocabulary is: copy conversation, select conversation text, copy the last
answer, scroll to top, jump to latest, open the built-in browser, toggle the work
panel (Open work panel, or Close work panel while it is open), open the
@@ -703,10 +706,14 @@ may be retained while exactly one workspace supplies the visible shell context.
folder also before the session has a project path). There is no terminal
action: the work panel ships no terminal surface.
- The sector under the pointer highlights; clicking it runs the action and
- closes the ring. A click on the hub or outside closes without running.
- Arrow keys move the highlight clockwise and counter-clockwise, Enter runs the
- highlighted action, and Escape or Tab dismisses. Focus returns through the
- same outside-press, scroll, resize, and blur listeners as `ContextMenu`.
+ closes the ring. A click on the hub or outside closes without running. The
+ standard marking gesture works too: a right-press that starts while the ring
+ is open runs the sector it is released on, and releasing in the hub dismisses
+ without running — the release trailing the right-click that opened the ring
+ is inert. Arrow keys move the highlight clockwise and counter-clockwise,
+ Enter runs the highlighted action, and Escape or Tab dismisses. Focus returns
+ through the same outside-press, scroll, resize, and blur listeners as
+ `ContextMenu`.
- Placement follows the shared floating-layer contract: a viewport-fixed portal
measured before reveal, clamped inside the window with the same 8px margin,
so a right-click near an edge moves the ring rather than clipping it.
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.md
index 3de443c3f..d1f307f80 100644
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@ -5357,25 +5357,32 @@ window; opening a normal panel afterward must still work.
#### E2E-CHAT-radial-background-menu: Radial menu on the empty transcript background
-- **Preconditions**: Settings → AI → Radial context menu is available. A
+- **Preconditions**: Settings → General → Radial context menu is available. A
session has a completed user prompt, a completed assistant answer, and enough
history to scroll.
- **Steps**: 1) With the switch off, right-click empty space below the last
turn and confirm the vertical conversation menu. 2) Turn the switch on and
- right-click the same space; inspect the four sectors. 3) Move the pointer
- through each sector and click Copy conversation. 4) Set Up to Copy last
+ right-click the same space; inspect the four sectors and their at-rest
+ icon-and-label stacks. 3) Move the pointer through each sector and click
+ Copy conversation; reopen, press the right button over a sector and release
+ it there, and confirm the action runs. 4) Set Up to Copy last
answer and Right to Leave empty, then reopen the ring. 5) Click the hub
without moving, then reopen and press Escape; repeat with an outside click,
- a scroll, and a window resize. 6) Reopen with Shift+F10, walk the sectors
- with the arrow keys, and run one with Enter. 7) Restart the app, confirm the
- switch and the four directions persist, then write an unknown action for one
- direction into the settings file and confirm that direction resolves to its
- default.
+ a scroll, and a window resize; reopen and right-press on a sector, then
+ release over the hub and confirm nothing runs. 6) Reopen with Shift+F10, walk
+ the sectors with the arrow keys, and run one with Enter. 7) Restart the app,
+ confirm the switch and the four directions persist, then write an unknown
+ action for one direction into the settings file and confirm that direction
+ resolves to its default.
- **Expected**: With the switch off the vertical menu opens unchanged. With it
on, a four-sector ring centred on the pointer replaces it and stays fully
- inside the window near an edge. Each sector highlights under the pointer;
- clicking runs that action, closes the ring, and shows the usual toast where
- the action copies. A **Leave empty** direction renders a disabled sector and
+ inside the window near an edge. Every sector shows its action's icon and
+ label before any hover; the sector under the pointer highlights as a filled
+ sector, with no focus rectangle over it. Clicking runs that action, closes
+ the ring, and shows the usual toast where the action copies. A right-press
+ started while the ring is open runs the sector it is released on; releasing
+ over the hub dismisses without running, and the release trailing the
+ right-click that opened the ring runs nothing. A **Leave empty** direction renders a disabled sector and
runs nothing; Copy last answer is disabled until an answer exists.
Open browser reveals the work panel on a blank browser tab, the work panel
direction toggles — it reads Open work panel while the panel is collapsed and
@@ -5393,8 +5400,9 @@ window; opening a normal panel afterward must still work.
- **Acceptance**: C (chat stream), Quality
- **Milestone**: M5
- **Status**: Chromium component check (`node scripts/e2e-radial-menu.mjs`:
- sector labels, pointer highlight, click/hub/disabled/Escape paths, arrow-key
- focus, and viewport clamping) plus unit coverage (`radial-menu.test.mjs`,
+ at-rest sector labels, pointer highlight, click/hub/disabled/Escape paths,
+ the right-press marking release paths, arrow-key focus, and viewport
+ clamping) plus unit coverage (`radial-menu.test.mjs`,
`settings-roundtrip.test.mjs`); full desktop journey Draft
### E2E-CHAT-delete-turn-preserves-other-live-outputs
diff --git a/docs/spec/08-meta/decisions-log.md b/docs/spec/08-meta/decisions-log.md
index 3322335e7..217e79c6d 100644
--- a/docs/spec/08-meta/decisions-log.md
+++ b/docs/spec/08-meta/decisions-log.md
@@ -339,6 +339,7 @@ Gold source: local Codex electron captures; latest row wins where rows conflict.
| D675 | Inline images are admitted by pixel size as well as bytes | **Amend D361: an image whose PNG/JPEG/GIF/WebP header reports a longest edge above `MAX_INLINE_IMAGE_EDGE_PX` (8000) is never inlined. Host Read refuses it with `TOOL_FAILED`; prompt attachments and restored history take the existing `@path` fallback; and the runtime's last provider view replaces any such image block (user or tool result) with a text notice naming its size. The probe reads headers only (no decoder); unknown dimensions keep the byte-only rule. No protocol, schema, or persisted-format change.** | Issue #1913: a 1.89 MB, 780 x 14182 full-page screenshot passed every byte check, the provider rejected it with a non-retriable 400, and replay made every later request in that session fail. Dropping is deterministic for the same bytes, so the request prefix and prompt caching stay stable; resampling would need an image decoder and is deferred. |
| D676 | A completed turn the reader followed ends at its prompt | **Amend the stream-completion rule: when a turn completes while the transcript is visible and still following the stream, the renderer scrolls that turn's newest user message to 16px below the titlebar band the transcript reserves at its top (smooth unless reduced motion), releases follow mode, and shows jump-to-latest. Nothing moves when the prompt is already in view, the reply failed or was aborted, the pane is hidden or in a reading window, a disclosure position is held, or a new run starts before the move. Renderer only; no setting, IPC, or persistence change.** | Issue #1889: after a long reply the reader sat at its last line and had to scroll back up to find where it began. |
| D677 | DeepSeek reasoning replay uses one field per row and never covers real reasoning | **Amend ADR 0256 decision 3: the pi-ai fill pass takes the reasoning field from the newest assistant row that has real reasoning, normalizes every assistant row to that single field (moving real reasoning from another field name, deleting the others), and fills the placeholder only on rows with no reasoning. History rebuild and the thinking panel drop a leading echo of the placeholder (`withoutReasoningReplayPlaceholder`); stored text is not rewritten. No schema, IPC, or setting change.** | Issue #1945: rebuilt rows are stamped `reasoning_content` while a relay streams `reasoning_text`; the fill pass picked `reasoning_content` and wrote the placeholder over the live row's real reasoning, the model echoed it as its own thinking (13.6% of assistant rows in affected sessions), and the echo was persisted and replayed. |
+| D678 | Radial context menu rebuilt and moved to General | **The opt-in transcript radial menu gets at-rest icon-and-label sectors (the hover-only hub label is gone), one filled highlight for the active sector with no focus rectangle, a recessed hub carrying the click-point dot, a 248 px disc with hairline separators and the composer shadow, and shared motion tokens for hover and reveal. A right-press started while the ring is open runs the sector it is released on; releasing in the hub dismisses without running; the release trailing the opening right-click is inert. The settings card moves from the AI tab to General after Sidebar and the settings-search index follows. Action vocabulary, per-direction defaults, `AppSettings.radialMenu`, persistence, and IPC are unchanged.** | The icon-only ring could not be read without hovering every sector, the sector fill and button background painted two highlights over one target, and the ring's switch sat in the AI tab although the surface is a transcript-interaction preference. |
## M0. Model catalog decisions
@@ -8080,3 +8081,23 @@ must keep splitting are covered by `markdown-blocks.test.mjs`.
- Covered by `reasoning-content-backfill.test.ts`, `runtime.test.ts`,
`provider-presets.test.ts`, and `apps/desktop/test/assistant-turns.test.mjs`.
See E2E-005E.
+
+## 2026-10-29 — Radial context menu rebuilt and moved to General (D678)
+
+- D678 reworks the opt-in transcript radial menu. Every sector shows its
+ action's icon and label at rest, so the ring reads without hovering; the
+ active sector fills as a single highlight (no button background, no focus
+ rectangle); the hub is a recessed well with the click-point dot; the disc
+ shrinks from 320 to 248 px with hairline separators and the composer shadow;
+ and hover and reveal motion follow the shared motion tokens.
+- The standard marking gesture joins click and keyboard: a right-press that
+ starts while the ring is open runs the sector it is released on, releasing
+ in the hub dismisses without running, and the release trailing the
+ right-click that opened the ring is inert.
+- The settings card moves from the AI tab to General (after Sidebar) with its
+ settings-search index; the action vocabulary, per-direction defaults,
+ `AppSettings.radialMenu` shape, persistence, and IPC are unchanged.
+- Covered by `apps/desktop/test/radial-menu.test.mjs`, the Chromium component
+ check `pnpm test:e2e:radial-menu`, and capture scenes `pi-radial` /
+ `pi-radial-dark`. See `04-ux/09-interaction-patterns.md` §1.11 and
+ E2E-CHAT-radial-background-menu.
diff --git a/docs/zh-CN/spec/04-ux/06-settings-ia.md b/docs/zh-CN/spec/04-ux/06-settings-ia.md
index a2fa800a0..c28fbe500 100644
--- a/docs/zh-CN/spec/04-ux/06-settings-ia.md
+++ b/docs/zh-CN/spec/04-ux/06-settings-ia.md
@@ -139,7 +139,7 @@
「全折叠显示」让命令留在所属组内,只有普通进度文字会拆分活动组。三者都只渲染一个
过程披露,只改变展示,并在渲染时读取,因此切换后立即重绘转录。已弃用的
`keepCommandsExpanded` 布尔值不再暴露,也不再参与渲染读取。设置搜索会索引该行。
-- **环形右键菜单**是 AI 页中默认项卡之后的一张卡,包含一个开关(**在对话空白处启用**)
+- **环形右键菜单**是常规页中侧边栏卡之后的一张卡,包含一个开关(**在对话空白处启用**)
和四个方向选择器(**上**、**右**、**下**、**左**)。`AppSettings.radialMenu.enabled`
缺失或为 false 时开关关闭,保留纵向的背景菜单。每个选择器保存一个
`RadialMenuAction`:复制整段对话、全选对话文本、复制最后一条回复、跳到顶部、
diff --git a/docs/zh-CN/spec/04-ux/09-interaction-patterns.md b/docs/zh-CN/spec/04-ux/09-interaction-patterns.md
index f587f6ef3..3b4511e34 100644
--- a/docs/zh-CN/spec/04-ux/09-interaction-patterns.md
+++ b/docs/zh-CN/spec/04-ux/09-interaction-patterns.md
@@ -496,20 +496,23 @@
### 1. 11 转录背景环形菜单(可选)
-- **设置 → AI → 环形右键菜单**包含一个开关和四个方向选择器。只有
+- **设置 → 常规 → 环形右键菜单**包含一个开关和四个方向选择器。只有
`AppSettings.radialMenu.enabled` 为 true 时开关才开启,因此升级不会替换此前版本
一直提供的纵向菜单。
- 开关开启后,在对话正文空白处右键会在指针位置弹出四扇区环形菜单,取代纵向的对话
- 菜单。消息行、markdown 链接、文件引用、工具行、侧边栏和工作面板仍使用各自的纵向
- 菜单。
+ 菜单。每个扇区静止时就显示该动作的图标与名称,无需悬停即可读;指针或键盘焦点所在
+ 扇区填充高亮,中心的 hub 是一处凹陷圆孔,标记右键落点。消息行、markdown 链接、
+ 文件引用、工具行、侧边栏和工作面板仍使用各自的纵向菜单。
- 动作词汇包括:复制整段对话、全选对话文本、复制最后一条回复、跳到顶部、回到最新、
打开内置浏览器、切换工作面板(关闭时显示「打开工作面板」,打开时显示「关闭工作面板」)、打开项目文件夹,以及**留空**。没有动作的方向渲染为禁用
扇区,而不是改变环形布局;当前界面无法执行的动作仍然可见但禁用——例如尚无任何回答
文本时的复制最后一条回复,以及远程会话上的三个打开类动作(打开项目文件夹还要求会话
已有项目路径)。没有终端动作:工作面板本身不提供终端界面。
- 指针所在扇区高亮;点击后执行该动作并关闭菜单。点击中心圆或菜单外会直接关闭,不执行
- 任何动作。方向键顺时针、逆时针移动高亮,Enter 执行当前动作,Escape 或 Tab 关闭。
- 外部按下、滚动、窗口尺寸变化和失焦的监听与 `ContextMenu` 相同。
+ 任何动作。也支持标准的“标记手势”:菜单已打开时按下右键,在哪个扇区松开就执行哪个
+ 动作;在中心圆上松开只关闭、不执行——打开菜单那次右键尾随的松开不触发任何动作。
+ 方向键顺时针、逆时针移动高亮,Enter 执行当前动作,Escape 或 Tab 关闭。外部按下、
+ 滚动、窗口尺寸变化和失焦的监听与 `ContextMenu` 相同。
- 定位沿用共享的浮动层契约:视口固定 portal、显示前先测量、以同样的 8px 边距限制在
窗口内,因此靠近边缘右键时是移动整个环形菜单,而不是裁掉扇区。
- 设置缺失、`enabled` 不是布尔值,或动作未知时,按方向回退到默认值(上:复制整段对话;
diff --git a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index 93bbba382..18daa323b 100644
--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
@@ -2761,13 +2761,13 @@ MainChat 弥补了缺口。 Maximized/fullscreen 调用保留最新的
#### E2E-CHAT-radial-background-menu:对话空白处的环形菜单
-- **前提条件**:设置 → AI → 环形右键菜单可用;会话中有一条已完成的用户提示、一条已完成的助手回答,且历史足以滚动。
-- **步骤**:1)关闭开关,右键最后一回合下方的空白处,确认弹出纵向对话菜单。2)打开开关,右键同一位置,检查四个扇区。3)让指针经过各扇区,点击复制整段对话。4)把「上」设为复制最后一条回复、「右」设为留空,重新打开环形菜单。5)不移动指针直接点击中心圆;再重新打开后依次按 Escape、点击外部、滚动、调整窗口尺寸。6)用 Shift+F10 打开,用方向键遍历扇区,按 Enter 执行一项。7)重启应用,确认开关和四个方向都保留;再把某个方向的未知动作写入设置文件,确认该方向回退到默认值。
-- **预期**:开关关闭时纵向菜单原样打开。开关开启后,以指针为圆心的四扇区环形菜单取代它,靠近窗口边缘时仍完整可见。指针所在扇区高亮;点击后执行该动作、关闭菜单,复制类动作照常弹出提示。「留空」方向渲染为禁用扇区且不执行任何动作;尚无回答文本时复制最后一条回复为禁用。打开浏览器会让工作面板显示一个空白浏览器标签页;工作面板方向是切换:面板收起时显示「打开工作面板」,打开后改为「关闭工作面板」,再点一次收起;打开项目文件夹会在系统文件管理器中打开会话所属项目,没有项目路径的会话为禁用。点击中心圆、外部按下、Escape、Tab、滚动和窗口尺寸变化都只关闭菜单。方向键移动高亮,Enter 执行当前动作。开关和四个方向在重启后保留,存储中的未知动作回退到该方向的默认值。消息行、链接、文件引用、侧边栏和工作面板仍使用各自的纵向菜单。
+- **前提条件**:设置 → 常规 → 环形右键菜单可用;会话中有一条已完成的用户提示、一条已完成的助手回答,且历史足以滚动。
+- **步骤**:1)关闭开关,右键最后一回合下方的空白处,确认弹出纵向对话菜单。2)打开开关,右键同一位置,检查四个扇区及其静止时显示的图标与动作名。3)让指针经过各扇区,点击复制整段对话;重新打开后,在某扇区上按下右键并原地松开,确认动作执行。4)把「上」设为复制最后一条回复、「右」设为留空,重新打开环形菜单。5)不移动指针直接点击中心圆;再重新打开后依次按 Escape、点击外部、滚动、调整窗口尺寸;再次打开后在扇区上按下右键、移到中心圆松开,确认不执行任何动作。6)用 Shift+F10 打开,用方向键遍历扇区,按 Enter 执行一项。7)重启应用,确认开关和四个方向都保留;再把某个方向的未知动作写入设置文件,确认该方向回退到默认值。
+- **预期**:开关关闭时纵向菜单原样打开。开关开启后,以指针为圆心的四扇区环形菜单取代它,靠近窗口边缘时仍完整可见。每个扇区在悬停前就显示该动作的图标与名称;指针所在扇区以整块填充高亮,不出现聚焦方框;点击后执行该动作、关闭菜单,复制类动作照常弹出提示。菜单打开时按下右键,在哪个扇区松开就执行哪个动作;在中心圆上松开只关闭、不执行动作,打开菜单那次右键尾随的松开不触发任何动作。「留空」方向渲染为禁用扇区且不执行任何动作;尚无回答文本时复制最后一条回复为禁用。打开浏览器会让工作面板显示一个空白浏览器标签页;工作面板方向是切换:面板收起时显示「打开工作面板」,打开后改为「关闭工作面板」,再点一次收起;打开项目文件夹会在系统文件管理器中打开会话所属项目,没有项目路径的会话为禁用。点击中心圆、外部按下、Escape、Tab、滚动和窗口尺寸变化都只关闭菜单。方向键移动高亮,Enter 执行当前动作。开关和四个方向在重启后保留,存储中的未知动作回退到该方向的默认值。消息行、链接、文件引用、侧边栏和工作面板仍使用各自的纵向菜单。
- **关联规范**:`04-ux/09-interaction-patterns.md` §1.11、`04-ux/06-settings-ia.md`
- **验收**:C(聊天流)、质量
- **里程碑**:M5
-- **状态**:Chromium 组件检查(`node scripts/e2e-radial-menu.mjs`:扇区文案、指针高亮、点击/中心圆/禁用/Escape 路径、方向键焦点和视口限制)加单元覆盖(`radial-menu.test.mjs`、`settings-roundtrip.test.mjs`);完整桌面旅程仍为草稿
+- **状态**:Chromium 组件检查(`node scripts/e2e-radial-menu.mjs`:静止扇区文案、指针高亮、点击/中心圆/禁用/Escape 路径、右键标记手势、方向键焦点和视口限制)加单元覆盖(`radial-menu.test.mjs`、`settings-roundtrip.test.mjs`);完整桌面旅程仍为草稿
#### E2E-CHAT-delete-turn-preserves-other-live-outputs:删除回合后保留其他实时输出
diff --git a/docs/zh-CN/spec/08-meta/decisions-log.md b/docs/zh-CN/spec/08-meta/decisions-log.md
index 0bb34cce6..82ef77ee8 100644
--- a/docs/zh-CN/spec/08-meta/decisions-log.md
+++ b/docs/zh-CN/spec/08-meta/decisions-log.md
@@ -342,6 +342,7 @@
| D675 | 内联图片同时按像素尺寸与字节准入 | **修订 D361:PNG/JPEG/GIF/WebP 文件头显示最长边超过 `MAX_INLINE_IMAGE_EDGE_PX`(8000)的图片永不内联。Host Read 以 `TOOL_FAILED` 拒绝;提示附件与恢复的历史走既有的 `@path` 回退;运行时在最后的提供商视图中把这类图片块(用户或工具结果)替换为写明尺寸的文本说明。探测只读文件头(无解码器);读不出尺寸时保留仅按字节的规则。不改变协议、schema 或持久化格式。** | Issue #1913:一张 1.89 MB、780 x 14182 的整页截图通过了所有字节检查,提供商以不可重试的 400 拒绝,重放使该会话此后每个请求都失败。同样的字节总是被同样地丢弃,请求前缀与提示缓存保持稳定;重采样需要图像解码器,留待以后。 |
| D676 | 读者跟随的已完成回合停在它的提示处 | **修订流完成规则:转录可见且仍在跟随流时回合完成,渲染层会把该回合最新的用户消息滚动到转录顶部预留的标题栏带下方 16px 处(除非减少动态效果,否则平滑滚动),退出跟随模式并显示“滚动到底部”。提示已在视野内、回复失败或被中止、面板隐藏或处于阅读窗口、披露位置被保持、或在移动前开始了新的运行时,都不移动。仅渲染层;不新增设置,不改变 IPC 或持久化。** | Issue #1889:长回复结束后读者停在最后一行,得自己往上滑才能找到回答的开头。 |
| D677 | DeepSeek 推理回放每行只用一个字段,且永不覆盖真实推理 | **修订 ADR 0256 第 3 条:pi-ai 的补全过程从最新一条带真实推理的 assistant 行取推理字段,把每条 assistant 行归一到这一个字段(真实推理从其他字段名移过来,并删除其余字段),只在没有任何推理的行上填充占位符。历史重建与思考面板会去掉开头回显的占位符(`withoutReasoningReplayPlaceholder`);不改写已存储的文本。不改变 schema、IPC 或设置。** | Issue #1945:重建行被标为 `reasoning_content`,而中转流式返回的是 `reasoning_text`;补全过程选了 `reasoning_content`,把占位符写在了 live 行真实推理之上、也就是模型读取的字段里,模型把它当作自己的思考复读(受影响会话中 13.6% 的 assistant 行),回显又被持久化并回放。 |
+| D678 | 环形右键菜单重做并移到「常规」 | **可选的转录背景环形菜单改为:每个扇区静止时就显示图标与动作名(悬停才出现的中心标签删除),当前扇区只有一层填充高亮、不再出现聚焦方框,hub 改为带落点圆点的凹陷圆孔,整环缩到 248px 并用发丝分隔线与输入框级阴影,悬停与展开动效走共享 motion token。菜单打开时按下右键,在哪个扇区松开就执行哪个动作;在中心圆上松开只关闭;打开菜单那次右键尾随的松开不触发任何动作。设置卡片从 AI 页移到常规页侧边栏卡之后,设置搜索索引同步迁移。动作词汇、按方向的默认值、`AppSettings.radialMenu` 结构、持久化与 IPC 均不变。** | 只有图标的环悬停前不可读,扇区填充与按钮底色在同一个目标上画了两层高亮,而且这个开关待在 AI 页里,但环形菜单是转录交互偏好。 |
## M0. 模型目录决策
@@ -5638,3 +5639,17 @@ Markdown 源码,不是 `text/html` 负载;对禁用行内 HTML 的外部编
- 由 `reasoning-content-backfill.test.ts`、`runtime.test.ts`、
`provider-presets.test.ts` 与 `apps/desktop/test/assistant-turns.test.mjs` 覆盖。
见 E2E-005E。
+
+## 2026-10-29 — 环形右键菜单重做并移到「常规」(D678)
+
+- D678 重做可选的转录背景环形菜单。每个扇区静止时就显示该动作的图标与名称,无需悬停
+ 即可读;当前扇区只呈现一层填充高亮(没有按钮底色、没有聚焦方框);hub 是带落点圆点
+ 的凹陷圆孔;整环从 320px 缩到 248px,使用发丝分隔线与输入框级阴影;悬停与展开动效
+ 走共享 motion token。
+- 在点击与键盘之外加入标准“标记手势”:菜单打开时按下右键,在哪个扇区松开就执行哪个
+ 动作;在中心圆上松开只关闭、不执行;打开菜单那次右键尾随的松开不触发任何动作。
+- 设置卡片从 AI 页移到常规页(侧边栏卡之后),设置搜索索引同步迁移;动作词汇、按方向
+ 的默认值、`AppSettings.radialMenu` 结构、持久化与 IPC 均不变。
+- 由 `apps/desktop/test/radial-menu.test.mjs`、Chromium 组件检查
+ `pnpm test:e2e:radial-menu`,以及截图场景 `pi-radial`、`pi-radial-dark` 覆盖。见
+ `04-ux/09-interaction-patterns.md` 第 1.11 节与 E2E-CHAT-radial-background-menu。