Skip to content

feat: send message on parent window on new mesage #419

feat: send message on parent window on new mesage

feat: send message on parent window on new mesage #419

Triggered via pull request November 27, 2024 02:28
Status Success
Total duration 3m 6s
Artifacts

quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
ESLint: packages/react/src/use-assistant.ts#L87
React Hook useEffect has a missing dependency: 'localStorageName'. Either include it or remove the dependency array
ESLint: packages/react/src/use-assistant.ts#L97
React Hook useEffect has missing dependencies: 'currentThreadId' and 'localStorageName'. Either include them or remove the dependency array
ESLint: packages/ui/components/chat-message.tsx#L91
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
ESLint: packages/ui/components/chat.tsx#L114
React Hook useEffect has a missing dependency: 'toast'. Either include it or remove the dependency array
ESLint: packages/ui/components/chat.tsx#L120
React Hook useEffect has a missing dependency: 'onThreadIdChange'. Either include it or remove the dependency array. If 'onThreadIdChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
ESLint: packages/ui/components/chat.tsx#L126
React Hook useEffect has a missing dependency: 'onMessagesChange'. Either include it or remove the dependency array. If 'onMessagesChange' changes too often, find the parent component that defines it and wrap that definition in useCallback
ESLint: packages/ui/components/chat.tsx#L135
React Hook useEffect has missing dependencies: 'handleInputChange' and 'input'. Either include them or remove the dependency array
ESLint: packages/ui/components/chat.tsx#L227
React Hook useCallback has a missing dependency: 'uploadFile'. Either include it or remove the dependency array