authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-09 14:15:39-08:00
committergravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-02-11 09:00:18-08:00
log6ce773ff1e865de0f1eb8f790f840ac0351d94ef
treea85f69f2ba3e11c680a297b31d686b1f95be5702
parentc5cbe159935680f201e90eee73619d79b7eb0ad1

Fix branch query cwd for worktree threads and error banner light mode

Use worktree path instead of project cwd for git branch queries so worktree threads correctly report their branch as current. Also update error banner to use semantic color tokens for light mode support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 files changed, 1 insertions(+), 1 deletions(-)

apps/web/src/components/ChatView.tsx+1-1
......@@ -649,7 +649,7 @@ export default function ChatView() {
649649
650650 {/* Error banner */}
651651 {activeThread.error && (
652 <div className="mx-4 mt-3 rounded-lg border border-rose-400/20 bg-rose-900/20 px-3 py-2 text-xs text-rose-200">
652 <div className="mx-4 mt-3 rounded-lg border border-destructive/20 bg-destructive/10 px-3 py-2 text-xs text-destructive">
653653 {activeThread.error}
654654 </div>
655655 )}