fix(chat): ajustes de texto, layout e icone do menu

- Mudar texto 'Chat #' para 'Ticket #' no desktop
- Passar ticketRef via URL para exibir numero correto
- Ajustar tamanho da janela minimizada (240px)
- Incluir ticketRef no checkMachineUpdates (Convex)
- Ajustar padding dos botoes no chat web
- Mudar icone 'Todos os tickets' para ClipboardList

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
rever-tecnologia 2025-12-09 13:06:03 -03:00
parent 3c2d1824fb
commit d20ebf7416
8 changed files with 35 additions and 25 deletions

View file

@ -1,9 +1,10 @@
import { ChatWidget } from "./ChatWidget"
export function ChatApp() {
// Obter ticketId da URL
// Obter ticketId e ticketRef da URL
const params = new URLSearchParams(window.location.search)
const ticketId = params.get("ticketId")
const ticketRef = params.get("ticketRef")
if (!ticketId) {
return (
@ -13,7 +14,7 @@ export function ChatApp() {
)
}
return <ChatWidget ticketId={ticketId} />
return <ChatWidget ticketId={ticketId} ticketRef={ticketRef ? Number(ticketRef) : undefined} />
}
export { ChatWidget }