Refine Issue Tracker Semantics - Replace "Bug" Icon #3011
Zak Siddiqui opened 1 month ago

Proposal Overview

I propose updating the default visual representation for generic Issues in the OneDev interface. Currently, generic issues utilize a "Bug" glyph (🐞), which creates semantic inconsistencies and imposes unnecessary negative framing on project workflows.

This change suggests replacing the existing icon with a standard Document icon, as defined below.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">  
  <!-- Document body -->  
  <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />  
  <!-- Folded corner -->  
  <path d="M14 2v6h6" />  
  <!-- Content lines -->  
  <line x1="8" y1="13" x2="16" y2="13" />  
  <line x1="8" y1="17" x2="16" y2="17" />  
</svg>
image description

🧠 Rationale & UX Motivation

1. Semantic Accuracy & Categorization Costs A "Bug" specifically denotes a defect or regression. However, the term "Issue" encompasses a broader taxonomy including feature requests, tasks, documentation updates, and discussions. Using a bug icon for all items creates a categorization mismatch. Users submitting feature requests are cognitively forced to reconcile their input with a symbol implying "error." This introduces friction and category ambiguity, increasing the cognitive load required to understand the nature of the workflow item.

2. Mitigating Negativity Bias & Affective Prediction Human decision-making is heavily influenced by Negativity Bias, where adverse stimuli evoke a stronger psychological reaction than neutral stimuli. A grid of bug icons unconsciously signals "failure," "instability," or "brokenness." When users look at a project board, seeing dozens of bug glyphs can subconsciously trigger anxiety or stress regarding the project's health. Replacing this with a neutral "Document" icon provides emotional neutrality—transforming the perception from "managing errors" to "processing tasks," which promotes psychological safety and productivity.

3. Universal Affordance & Visual Hierarchy From a semiotic perspective, a document icon acts as a universal container. It implies structure, storage, and distinct units of work without prescribing content type or quality status. It creates a cleaner, more professional visual hierarchy, allowing the issue title and priority flags to do the heavy lifting regarding context, rather than relying on a potentially misleading pictograph.


Expected Outcome

By decoupling the generic "Issue" state from the specific "Defect" symbol, we improve the usability and perceived value of the OneDev system. It aligns the visual language with standard industry practices where "Issue" represents a ticket for action, regardless of whether the action is fixing a leak or building a new wing.

  • Service Desk commented 1 month ago

    Thanks for the detailed proposal.

    The bug glyph is the Issues module icon, not a per-issue “this is a defect” badge. It appears in a few places that identify the Issues feature as a whole:

    • The project sidebar Issues menu
    • The markdown editor Reference Issue action
    • Project issue stats
    • Create an issue for this failure on a build

    Issue list and board cards do not show that glyph on each ticket. The kind of work is already modeled separately via the Type custom field, which ships with distinct colored values such as New Feature, Improvement, Bug, Task, and Question. The default type is New Feature, not Bug. Type (and other fields) can be customized under Administration → Issue Setting → Custom Fields, and you can choose which fields appear on lists and boards. See Set Up Issue Labels for how custom fields are intended to carry this kind of meaning.

    There is currently no setting to replace the Issues module icon itself. Swapping that product-wide glyph for a document icon would be a default UI change rather than something an administrator can configure today.

    @robin could you take a look at whether we should change the default Issues module icon?

  • Robin Shen commented 1 month ago

    Using the bug icon for issues is very common in software project. Changed to use documentation icon will be very confusing.

  • Robin Shen changed state to 'Closed' 1 month ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 1 month ago

    Reopen since bug icon does cause confusion if issue type has new features etc. Need to find a more appropriate icon than the document though.

  • Robin Shen changed state to 'Open' 1 month ago
    Previous Value Current Value
    Closed
    Open
  • Robin Shen changed title 1 month ago
    Previous Value Current Value
    Proposal: Refine Issue Tracker Semantics - Replace "Bug" Icon with Neutral "Document" Glyph
    Refine Issue Tracker Semantics - Replace "Bug" Icon
  • Robin Shen changed fields 1 month ago
    Name Previous Value Current Value
    Type
    Question
    Improvement
    Assignee
    servicedesk
    robin
  • OneDev commented 1 month ago

    State changed as build OD-8123 is successful

  • OneDev changed state to 'Closed' 1 month ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen batch edited 1 month ago
    Name Previous Value Current Value
    State
    Closed
    Open
  • Zak Siddiqui commented 1 month ago

    @robin I think the target icon works well. 😀

    It indicates a goal which has positive mental sentiment.

    I think this will make people feel very good about using OneDev.

  • OneDev commented 1 month ago

    State changed as build OD-8153 is successful

  • OneDev changed state to 'Closed' 1 month ago
    Previous Value Current Value
    Open
    Closed
1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (1)
Watchers (3)
Reference
OD-3011
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover