Skip to content

Disable highlighting when agent is working or thinking - #5

Merged
promptium-ai merged 1 commit into
mainfrom
feature/highlight
Aug 27, 2025
Merged

Disable highlighting when agent is working or thinking#5
promptium-ai merged 1 commit into
mainfrom
feature/highlight

Conversation

@promptium-ai

Copy link
Copy Markdown
Collaborator

Summary

  • Prevents cells from appearing actionable while the agent is actively processing tasks
  • Ensures UI accurately reflects when user actions are actually possible
  • Fixes visual inconsistency where highlighted items suggested available actions during agent busy states

Test plan

  • Verify no cells are highlighted when agent status is 'working'
  • Verify no cells are highlighted when agent status is 'thinking'
  • Confirm normal highlighting still works for other states (waiting, idle, etc.)

🤖 Generated with Claude Code

Prevents cells from appearing actionable while the agent is actively processing tasks, ensuring UI accurately reflects when user actions are actually possible.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@promptium-ai
promptium-ai merged commit 335e6e7 into main Aug 27, 2025
@agent-era
agent-era deleted the feature/highlight branch September 9, 2025 16:20
agent-era-ai added a commit that referenced this pull request Apr 26, 2026
- Add terminal test that drives the full memoryStore → kanban render path,
  asserting the merged glyph and "Merged" label appear on a card whose
  worktree has a MERGED PR seeded in memoryStore.prStatus. This is the
  integration coverage requirements criterion #5 called for and the gap
  that hid the bug twice.
- Trim the multi-line comment on isItemPRMerged to a single line per
  AGENTS.md style.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
agent-era-ai added a commit that referenced this pull request Apr 26, 2026
* fix(tracker): wire kanban merged-state lookup to GitHubContext

The kanban read PR status via wt.pr.is_merged, but WorktreeInfo.pr was
declared and never assigned anywhere — PR data lives on
GitHubContext.pullRequests, keyed by worktree path. Two prior fixes
(PR #221, PR #224) shipped reading the same broken field and were dead
on arrival. Switch the lookup to pullRequests[wt.path], extract a small
isItemPRMerged helper with regression tests, and delete the dead pr
field plus the two unused getters that depended on it.

Also scope the kanban's PR auto-refresh to its own visible worktrees
via setVisibleWorktrees, so it doesn't keep polling whatever set the
worktree list left in place.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Address PR review comments

- Add terminal test that drives the full memoryStore → kanban render path,
  asserting the merged glyph and "Merged" label appear on a card whose
  worktree has a MERGED PR seeded in memoryStore.prStatus. This is the
  integration coverage requirements criterion #5 called for and the gap
  that hid the bug twice.
- Trim the multi-line comment on isItemPRMerged to a single line per
  AGENTS.md style.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant