debug: add blue background and alert to file list button
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-01-26 22:04:07 +08:00
parent da523034c8
commit 76eac7a52a

View File

@ -329,10 +329,11 @@ export function CanvasChatPanel({ chatId, initialMessages = [], onClose, onOpenF
</Button>
<button
type="button"
className="h-8 w-8 rounded-full hover:bg-muted inline-flex items-center justify-center"
className="h-8 w-8 rounded-full hover:bg-muted inline-flex items-center justify-center bg-blue-500 text-white"
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
alert('File list button clicked! onOpenFileList: ' + !!onOpenFileList);
console.log('[CanvasChatPanel] File list button clicked, onOpenFileList:', !!onOpenFileList);
if (onOpenFileList) {
onOpenFileList();