Skip to content

Add Codex task activity dots - #1

Merged
ognjeeen merged 8 commits into
masterfrom
feature/codex-activity-dots
Aug 7, 2026
Merged

ognjeeen merged 8 commits into
masterfrom
feature/codex-activity-dots

Conversation

@ognjeeen

@ognjeeen ognjeeen commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • add event-driven Codex task activity dots to the taskbar label and desktop widget
  • receive minimal lifecycle signals through a current-user-only named pipe and track concurrent active turns
  • add explicit, reviewable hook installation/removal UI and CLI flows while preserving existing hook configuration
  • polish short-task transitions with a minimum visible duration, neutral completion pulse, smooth interruption handling, and a stable taskbar layout
  • document setup, privacy boundaries, runtime flow, and the updated detailed view

Why

The widget previously displayed usage limits but could not indicate when Codex was actively working. This adds live activity feedback through the official local Codex lifecycle-hook flow without polling, browser automation, credential access, or forwarding prompt/model content.

User impact

Users can opt into activity hooks, review the exact proposed configuration, approve it through Codex, and see subtle task activity feedback beside their usage. Short tasks remain legible instead of flashing, and the taskbar label no longer shifts horizontally when the animation starts or finishes.

Root cause of the taskbar jitter fix

The taskbar window dynamically changed from 102 px to 94 px before its native reposition completed. That produced a one-frame horizontal content shift in each direction. Keeping the taskbar surface at a fixed width and padding removes the intermediate layout state while preserving the existing visual alignment.

Validation

  • dotnet restore .\CodexUsageWidget.slnx
  • dotnet build .\CodexUsageWidget.slnx -c Release --no-restore — 0 warnings, 0 errors
  • dotnet test .\CodexUsageWidget.slnx -c Release --no-build — 60/60 passing
  • exercised real local activity-hook start/stop signals for normal, short, and interrupted-completion scenarios
  • frame-by-frame WPF geometry repro measured an 8 px transient shift before the fix and stable horizontal coordinates afterward

@ognjeeen
ognjeeen marked this pull request as ready for review August 7, 2026 16:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ee19fb588d

ℹ️ 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".

Comment thread src/CodexUsageWidget/Infrastructure/Codex/Hooks/CodexActivityPipeSignalSource.cs Outdated
- Serialize activity transitions and bound pipe client reads
- Recognize legacy widget handlers safely during setup and uninstall
- Validate hook trust, matchers, enablement, and configuration errors
@ognjeeen
ognjeeen merged commit 665e2f8 into master Aug 7, 2026
1 check passed
@ognjeeen
ognjeeen deleted the feature/codex-activity-dots branch August 7, 2026 20:07
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