Skip to content

Simplify task header badges for linked issues#825

Merged
arnestrickmann merged 3 commits intomainfrom
emdash/remove-tag-duplicate-6fg
Feb 11, 2026
Merged

Simplify task header badges for linked issues#825
arnestrickmann merged 3 commits intomainfrom
emdash/remove-tag-duplicate-6fg

Conversation

@rabanspiegel
Copy link
Contributor

@rabanspiegel rabanspiegel commented Feb 11, 2026

Summary

  • remove the duplicate agent badge in the task header when an issue is linked
  • replace AgentDisplay with TaskContextBadges so the header only shows linked issue context badges
  • keep agent identity represented by conversation tabs only

Testing

  • pnpm run format

Note

Low Risk
Low risk UI refactor that only changes which badges render in the chat header and trims unused props/assets; no data flow or persistence changes.

Overview
Simplifies the chat header so linked work items show only TaskContextBadges (Linear/GitHub/Jira + comments) and removes the extra agent badge previously rendered alongside them.

Refactors TaskContextBadges to drop the agent prop and all agent-logo/config code, and updates external link opening to use window.electronAPI?.openExternal directly.

Written by Cursor Bugbot for commit 1f95dd1. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 11, 2026 11:10pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@greptile-apps
Copy link

greptile-apps bot commented Feb 11, 2026

Greptile Overview

Greptile Summary

Simplifies the chat header by removing duplicate agent badge display. The PR extracts issue-badge rendering from AgentDisplay into a new TaskContextBadges component that only shows linked Linear/GitHub/Jira issue badges.

Key changes:

  • Replaced AgentDisplay (304 lines) with TaskContextBadges (169 lines) in chat header
  • Removed agent badge, comments popover, and related logic from header
  • Agent identity now solely represented via conversation tabs (as stated in PR description)
  • Preserved all issue badge functionality: tooltips, click handlers, external link icons

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • Clean UI refactor that removes duplicate information from the header while preserving all issue-badge functionality. The change is straightforward: replaces a 304-line component with a focused 169-line component that does one thing well. No logic changes to existing functionality, no security concerns, and the testing step confirms proper formatting.
  • No files require special attention

Important Files Changed

Filename Overview
src/renderer/components/ChatInterface.tsx Replaced AgentDisplay with TaskContextBadges, removing the agent and taskId props that are no longer needed for the simplified component.
src/renderer/components/TaskContextBadges.tsx New component that extracts issue badge rendering from AgentDisplay, showing only Linear/GitHub/Jira context badges without agent info or comments popover.

Sequence Diagram

sequenceDiagram
    participant User
    participant ChatInterface
    participant TaskContextBadges
    participant Electron
    
    User->>ChatInterface: View chat with linked issue
    ChatInterface->>TaskContextBadges: Render badges (linearIssue, githubIssue, jiraIssue)
    TaskContextBadges->>User: Display issue badges
    
    User->>TaskContextBadges: Click issue badge
    TaskContextBadges->>Electron: openExternal(issue.url)
    Electron->>User: Open issue in browser
Loading

@arnestrickmann arnestrickmann merged commit 50a3c24 into main Feb 11, 2026
4 checks passed
@rabanspiegel rabanspiegel deleted the emdash/remove-tag-duplicate-6fg branch February 15, 2026 04:47
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.

2 participants