Skip to content

[FEATURE]: Add unified task state color convention with icons for visual notifications #24404

Closed as not planned

Description

@herjarsa

Problem

OpenCode currently lacks a unified color convention for task states. Users working with multiple projects simultaneously cannot identify at a glance:

  1. Which project is currently executing (no visual indicator)
  2. What state a task is in (no clear color convention)
  3. When a task completes (notification doesn't identify the project)
  4. When attention is required (error states blend with normal text)

Proposed Solution

Implement a unified status color convention based on ISO 3864 safety colors and WCAG accessibility standards:

Color + Icon Convention

State Color Hex Icon Description
running Blue #3B82F6 spinner Task is executing
waiting Yellow #F59E0B clock Waiting for subagent response
attention Orange #D4652F alert Requires user attention
error Red #EF4444 x-circle Error occurred
done Green #22C55E checkmark Task completed successfully
idle Gray #6B7280 circle No activity

Accessibility (WCAG 1.4.1)

Each state always includes:

  • Color (for those who can perceive it)
  • Icon (for color-blind users)
  • Text label (for screen readers)

Multi-Project Notifications

When multiple projects are open, notifications must include the project name to distinguish which project triggered the notification.

Related Issues

This feature addresses:

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Apr 25, 2026
  2. changed the title [-]feat(tui): Add unified task state color convention with icons for visual notifications[/-] [+][FEATURE]: Add unified task state color convention with icons for visual notifications[/+] on Apr 25, 2026
  3. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets the contributing guidelines — the title has the correct [FEATURE]: prefix, the problem is clearly described, and the proposed solution is well-structured. Removing the compliance flag.

  4. assigned and unassigned on Apr 26, 2026
  5. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  6. dexion commented on May 24, 2026

    @dexion

    I tried to fix notifications on mac os, but my PR was declined #23494 (comment)

  7. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions