Skip to content

Add desktop system tray with active task, plan, and goal counters #2191

Closed

Description

@integry

User requests system tray integration and a notification counter showing active tasks/plans/goals. Implement through ProPR on desktop epic branch 1950-epic-cross-platform-dsk, never main. Linux and macOS first; Windows deferred. Coordinate with branding issue #2190 by reusing its canonical artwork/asset conventions, but keep a separate bounded PR.

Requirements: create native system tray/menu-bar integration using Electron main process; show a concise total active-work counter in a platform-appropriate tray/badge surface and expose separate Tasks / Plans / Goals counts in tooltip/menu. Derive active semantics from existing authoritative API/domain states; avoid double counting overlapping representations and label the total meaning. Use the existing authenticated API/transport layer and instance/account scope, not a new unauthenticated endpoint or a second credential store. Update from existing events where possible; any reconciliation must be bounded and lifecycle-owned. Clear/cancel old counts on logout, revocation, disconnection, instance switch and shutdown; distinguish offline/unavailable from a verified zero. Avoid renderer-selected arbitrary icon paths or unconstrained native IPC.

Tray menu needs Open ProPR, status/count summary and explicit Quit with existing graceful drain. Clicking can restore/focus the app. Do not silently change window close into hide-to-tray without an explicit visible preference; if background/tray mode is introduced make the behavior understandable and preserve normal quit. Accessible labels, useful non-color-only count information, overflow formatting and platform capability fallback are required. Verify zero/nonzero counts, active state transitions, scoped stale events, reconnect/revocation, click/restore, explicit quit, cleanup and single tray instance across relaunch. Inspect packaged Linux visually and validate macOS behavior/assets through CI. Reuse branded icon work; no new logo generation. Include Closes this issue, request Ultrafix and root-checkable screenshots/evidence.

Activity

  1. propr-dev commented on Sep 7, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2191/gpt-5.6-sol-add-desktop-system-tray-w-20260907-1839-5zn
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2191-20260907-1839-gpt-5.6-sol-5zn

    🔍 Track Task Execution

  2. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Please implement the requested system tray/menu-bar integration and scoped active-work counters. Coordinate icon resources with #2190, retain API-based transport and graceful shutdown, and keep a separate epic-targeted PR.

  3. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Coordination: user also requested native task notifications, tracked separately in #2192. Please expose/reuse a narrow scoped work-event/count adapter where practical so tray and native notifications do not create duplicate authenticated transports. Keep notification policy/settings implementation in #2192; stay focused on tray/counters here.

  4. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Scope clarification after reviewing task progress: the requested badge is ACTIVE work. Do not count every uncompleted repository to-do goal as actively running; that would inflate the counter with backlog and mislead users. Use explicit running/executing goal state if the domain provides it, or associate a goal with currently executing work and deduplicate. If this branch only supports backlog goals, show that separately as Open goals (not in the active-work total) and document the limitation. Preserve truthful zero vs unsupported/unavailable semantics.

  5. added a commit that references this issue on Sep 7, 2026
  6. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Implemented by #2196, merged into desktop epic #1970 at6c06a96b8c1876456f4694e854329e5d0a41e384, not main. Ultrafix9/10 no blockers; independent desktop682pass26skip, focused35pass/typecheck, full CI and all four Linux/macOS package/Connect gates passed on childca2a85ac. Real nonzero/task-lifecycle acceptance remains explicitly tracked by #1962; separate source-build permissions fix #2202 is active.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions