Add debug logs for chat and red border to end chat button

- Add detailed debug logs in Rust (chat.rs) to trace polling flow
- Add console.log in frontend (main.tsx) to trace event reception
- Add red border to "Encerrar" button in chat panels for better visibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
esdrasrenan 2025-12-07 12:03:40 -03:00
parent 4f81f62429
commit b10548157e
4 changed files with 45 additions and 4 deletions

View file

@ -516,7 +516,7 @@ export function ChatWidget() {
size="sm"
onClick={handleEndChat}
disabled={isEndingChat}
className="gap-1.5 text-red-600 hover:bg-red-50 hover:text-red-700"
className="gap-1.5 border border-red-300 text-red-600 hover:border-red-400 hover:bg-red-50 hover:text-red-700"
>
{isEndingChat ? (
<Spinner className="size-3.5" />