Repository navigation
feat(bots): Cancel replaces the More menu in item row hover actions - #51417
Merged
orca-remote-automation[bot] merged 1 commit intoNov 28, 2026
Merged
orca-remote-automation[bot] merged 1 commit into
orca-remote-automation[bot] merged 1 commit into
Conversation
…ore menu Item rows' hover actions become Done, Snooze, Cancel. The More menu only repeated Done and Snooze, so Cancel was its one unique action.
orca-remote-automation
Bot
requested a review
from brennanb2025
as a code owner
November 28, 2026 03:42
10 of 11 tasks
nwparker
added a commit
that referenced
this pull request
Nov 28, 2026
…main #51417 moved bots.items.menu.cancel/done to bots.items.row.*, while the fr/es/ja/zh-Hant desktop translation PRs merged with the old keys. The catalog verifier now fails on main with 'extra' keys. Remove the stale pair and carry each locale's existing Cancel translation to bots.items.row.cancel.
Closed
10 of 11 tasks
nwparker
added a commit
that referenced
this pull request
Nov 28, 2026
…time, drop stale item menu keys) (#51478) * fix(bots): split bot-items-runtime to restore the max-lines lint on main * fix(i18n): drop stale item menu keys that break the catalog check on main #51417 moved bots.items.menu.cancel/done to bots.items.row.*, while the fr/es/ja/zh-Hant desktop translation PRs merged with the old keys. The catalog verifier now fails on main with 'extra' keys. Remove the stale pair and carry each locale's existing Cancel translation to bots.items.row.cancel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
When you hover an item in a bot's list, it used to show Done, Snooze and a "…" menu. Now it shows Done, Snooze and an ✕ that cancels the item. The "…" menu only repeated those three actions.
What Changed
ghost-on-accent/icon-xssize, gap and alignment as ✓ and ◷, with aria-label and tooltip "Cancel". It keeps the row'stabbabletab-index rule.onAction(item, { kind: 'cancel' })→move([item], 'canceled')). Cancel takes no reason and has no confirmation, same as before.useMenuPointerExitClose) now applies to the Snooze dropdown, the row's one remaining hover menu.bots.items.menu.cancelbecomesbots.items.row.cancel, with existing translations carried over.bots.items.menu.donewas used only by the removed menu and is deleted.bots.items.row.morestays becauseBotPanelRowstill uses it.What the ⋯ menu contained
Every entry, and where it lives now:
BotItemSnoozeMenuItems)No action is dropped.
Why
Cancel was the menu's one unique action, and it sat two clicks deep behind an overflow icon. Showing it directly keeps the row at three icons and removes a menu that duplicated the other two buttons.
Linked Issue
None. This is a maintainer design change.
Visual Proof
Hover/focus state, narrow sidebar (240px), component fixture
bots/items/BotItemRow:actionsNarrow:Testing
pnpm check:changedpasses)No unit test was added: repo policy rules out UI-behavior unit tests ("button does X"), and no existing test referenced the ⋯ menu. Tested on macOS.
Performance
None, because each open row now mounts one
DropdownMenuroot and trigger fewer and oneTooltipmore. Menu content is lazy in both versions, and the row's memo comparator and props are unchanged, so rows re-render no more often. This comes from reading the diff; no benchmark was run.Risk
The riskiest part: ✕ now cancels in one click instead of two, with no confirmation, the same as the menu item did. A canceled item can be reopened from its status. If we want a guard, an undo toast would fit better than a confirm dialog. Renderer only, with no stored data or wire change. Back out with a plain revert.
Level: Low
Review
Agent skill upstream boundary
Notes
Security, cross-platform, Remote SSH and backwards compatibility: renderer-only change with no platform or host branching. Mobile uses its own item sheets and locale catalog, so it is unaffected.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)