Repository navigation
polish: Windows taskbar badge, terminal Close session / Move to worktree, per-item queued attachments, multi-line highlighting (#1512 I4) - #1514
Conversation
Windows has no badge-count API, so draw the count as a 16x16 ink disc with paper digits (1-9, then 9+) and set it with setOverlayIcon. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Close session ends a shell without restarting it; its scrollback stays and the next open carries it over. A shell the thread's worktree left behind gets a one-click Move to worktree that restarts it in the right cwd with the old scrollback above a separator. Both ride on the existing close/open channels (keep / move flags), so no new IPC. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Queue rows gain itemAttachments, aligned with items. The drain, Send now and Steer now each send only that item's files; reorder, remove and edit carry them along. attachments stays as the flattened list. Old rows migrate on load with every file on the first item, which is where the one-per-turn drain already sent them. The queue strip shows each item's file count. Co-Authored-By: Claude Opus 5.5 <[email protected]>
useHighlightedLines takes line groups and highlights each as one document, then splits the HTML back into lines, closing open spans at each break and reopening them on the next. Diffs pass one old-side and one new-side group per hunk; a file preview is one group. Idle slicing stays at ~200 lines; a slice that ends inside a comment or string is redone up to 2000 lines long so it colours through. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a29f72ffc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const restFiles = queuedItemFiles(latest, now.length).filter((_, j) => j !== at); | ||
| await editQueued(rest.join("\n\n"), id, rest, restFiles).catch(() => {}); |
There was a problem hiding this comment.
Remove the exact duplicate item that was steered
When two queued items have identical prompt text but different attachments, steering the later item sends that later item's files, but now.indexOf(item) selects the first matching prompt and this filter removes the first item's files instead. The already-steered item therefore remains queued with its attachments and can be sent again, while the unsteered item loses its files. Track the selected occurrence or a stable item identity rather than locating it by prompt text.
Useful? React with 👍 / 👎.
Item I4 of #1512: leftovers from #1493–#1506.
What changed
electron/taskbarOverlay.js), becausenativeImagecan't take SVG and a canvas needs a window. Windows opened later get it too. Unit-tested only; not yet seen on a real Windows machine.terminal.closeandterminal.open; no new channels.Verified independently, on main merged with this branch and #1513:
vite buildpasses.auto-resumetest (cancelled tests). That's being fixed on feat: opt-in resume of interrupted runs after restart (#1512 I3) #1513 and is unrelated to this branch.🤖 Generated with Claude Code