Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: remove agent name display from remote branch cards#90

Merged
wesbillman merged 1 commit intomainfrom
remote-branch-agent-name
Feb 12, 2026
Merged

refactor: remove agent name display from remote branch cards#90
wesbillman merged 1 commit intomainfrom
remote-branch-agent-name

Conversation

@wesbillman
Copy link
Collaborator

Summary

  • Remove agent name field from remote branch data models and UI
  • Simplify RemoteBranchCard component by removing agent name display
  • Clean up related backend code in Rust store and session commands

🤖 Generated with Claude Code

Remote branches don't have a fixed agent - the agent is selected when
creating notes or commits. Remove the agent field and display from:

- RemoteBranchCard.svelte: Bot import, agentLabel helper, agent badge UI, CSS
- types.ts: agent field from Branch interface
- commands.ts: agent param from createRemoteBranch
- lib.rs: agent field from BranchWithWorkdir, create_remote_branch command
- models.rs: agent field from Branch struct and new_remote constructor
- branches.rs: agent from SQL INSERT/SELECT and row mapping
- session_commands.rs: branch.agent fallback for effective_provider
@wesbillman wesbillman merged commit 57f2110 into main Feb 12, 2026
3 checks passed
@wesbillman wesbillman deleted the remote-branch-agent-name branch February 12, 2026 23:02
loganj added a commit that referenced this pull request Feb 26, 2026
Replace post-render DOM mutation (addCommentHighlights) with a rehype
plugin that inserts <mark> elements into the HTML AST before React
converts it to elements. This prevents React reconciliation corruption
when content re-renders (e.g., agent edits causing "plugin.plugin"
duplication).

Also adds no-store cache headers for raw file fetches so browsers
always get fresh content on re-render.

Co-authored-by: Claude Opus 4.6 <[email protected]>
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