Skip to content

feat: Add @chainlit/components #995

feat: Add @chainlit/components

feat: Add @chainlit/components #995

Triggered via pull request September 5, 2023 08:10
@alimtuncalimtunc
synchronize #346
at/CHA-292
Status Failure
Total duration 2m 5s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: pull_request
Matrix: tests / ci
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (ubuntu-latest)
Function lacks ending return statement and return type does not include 'undefined'.
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (ubuntu-latest)
Property 'id' does not exist on type 'ToggleProps'.
tests / ci (ubuntu-latest)
Property 'label' does not exist on type 'ToggleProps'.
tests / ci (ubuntu-latest)
Cannot find module '@chainlit/components' or its corresponding type declarations.
tests / ci (windows-latest)
The job was canceled because "ubuntu-latest" failed.
tests / ci (windows-latest)
The operation was canceled.
tests / ci (ubuntu-latest): frontend/src/App.tsx#L41
React Hook useEffect has missing dependencies: 'role' and 'setRole'. Either include them or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/App.tsx#L60
React Hook useEffect has a missing dependency: 'logout'. Either include it or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/AppWrapper.tsx#L29
React Hook useEffect has missing dependencies: 'setAppSettings' and 'setPSettings'. Either include them or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/components/atoms/actionsList.tsx#L37
React Hook useCallback has a missing dependency: 'action'. Either include it or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/components/atoms/authProvider.tsx#L11
Fast refresh can't handle anonymous components. Add a name to your export
tests / ci (ubuntu-latest): frontend/src/components/atoms/element/text.tsx#L36
React Hook useEffect has a missing dependency: 'fetching'. Either include it or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/components/atoms/element/view.tsx#L23
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
tests / ci (ubuntu-latest): frontend/src/components/organisms/chat/index.tsx#L76
React Hook useCallback has missing dependencies: 'setChatHistory' and 'setMessages'. Either include them or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/components/organisms/chat/index.tsx#L95
React Hook useCallback has a missing dependency: 'setMessages'. Either include it or remove the dependency array
tests / ci (ubuntu-latest): frontend/src/components/organisms/chat/inputBox/input.tsx#L63
React Hook useCallback has a missing dependency: 'onReply'. Either include it or remove the dependency array. If 'onReply' changes too often, find the parent component that defines it and wrap that definition in useCallback