Skip to content

[DPCP-30] [DPCP-36]: Calendar View, Map View #34

[DPCP-30] [DPCP-36]: Calendar View, Map View

[DPCP-30] [DPCP-36]: Calendar View, Map View #34

Triggered via pull request August 4, 2024 21:32
Status Failure
Total duration 44s
Artifacts

pr-checks.yaml

on: pull_request
oneiros::pr_checks::build
29s
oneiros::pr_checks::build
oneiros::pr_checks::lint
31s
oneiros::pr_checks::lint
oneiros::pr_checks::test
36s
oneiros::pr_checks::test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 16 warnings
oneiros::pr_checks::build: src/molecules/03_Calendar/CalendarView.tsx#L1
Type 'undefined' cannot be used as an index type.
oneiros::pr_checks::build: src/molecules/03_Calendar/CalendarView.tsx#L1
Property 'event' does not exist on type '{}'.
oneiros::pr_checks::build: src/molecules/03_Calendar/CalendarView.tsx#L1
No overload matches this call.
oneiros::pr_checks::build: src/molecules/03_Calendar/CalendarView.tsx#L1
Property 'currentData' does not exist on type 'CalendarApi'.
oneiros::pr_checks::build: src/molecules/03_Calendar/CalendarView.tsx#L1
The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
oneiros::pr_checks::build: src/molecules/04_Map/MapView.tsx#L1
Cannot find module '@turf/bbox' or its corresponding type declarations.
oneiros::pr_checks::build: src/molecules/04_Map/MapView.tsx#L1
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ default: { locale: string; view: string; calendar: string; }; 'it-it': { locale: string; view: string; calendar: string; }; 'pt-br': { locale: string; view: string; calendar: string; }; 'es-es': { locale: string; view: string; calendar: string; }; ... 7 more ...; 'ja-jp': { ...; }; }'.
oneiros::pr_checks::build: src/molecules/04_Map/MapView.tsx#L1
Type '{ children: Element[]; id: string | undefined; className: string; longitude: any; latitude: any; onClose: () => void; onOpen: () => void; }' is not assignable to type 'IntrinsicAttributes & PopupOptions & { longitude: number; latitude: number; anchor?: string | undefined; offset?: any; className?: string | undefined; ... 4 more ...; children?: ReactNode; } & RefAttributes<...>'.
oneiros::pr_checks::build: src/molecules/04_Map/MapView.tsx#L1
Type '{ children: any; style: { flex: string; }; }' is not assignable to type 'IntrinsicAttributes & ITypography'.
oneiros::pr_checks::build: src/molecules/04_Map/MapView.tsx#L1
Type '{ onClick: () => void; icon: ESystemIcon.close; size: string; sx: { padding: string; width: string; height: string; }; }' is not assignable to type 'IntrinsicAttributes & IButton'.
src/molecules/03_Calendar/__test__/03-CalendarView.test.tsx > CalendarView component > CalendarView should render correctly: src/molecules/03_Calendar/__test__/03-CalendarView.test.tsx#L11
Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. ❯ src/molecules/03_Calendar/__test__/03-CalendarView.test.tsx:11:23
oneiros::pr_checks::test
Process completed with exit code 1.
oneiros::pr_checks::build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
oneiros::pr_checks::build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
oneiros::pr_checks::lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
oneiros::pr_checks::lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
oneiros::pr_checks::lint: src/atoms/03_Link/Link.tsx#L60
The 'isInternal' function makes the dependencies of useEffect Hook (at line 114) change on every render. To fix this, wrap the definition of 'isInternal' in its own useCallback() Hook
oneiros::pr_checks::lint: src/atoms/03_Link/Link.tsx#L67
The 'toProtocol' function makes the dependencies of useEffect Hook (at line 114) change on every render. To fix this, wrap the definition of 'toProtocol' in its own useCallback() Hook
oneiros::pr_checks::lint: src/atoms/05_SystemIcon/SystemIcon.tsx#L91
React Hook useMemo has an unnecessary dependency: 'theme'. Either exclude it or remove the dependency array
oneiros::pr_checks::lint: src/atoms/09_TextInput/TextInput.tsx#L172
React Hook useMemo has an unnecessary dependency: 'extraProps.value'. Either exclude it or remove the dependency array
oneiros::pr_checks::lint: src/atoms/12_DateRange/DateRange.tsx#L121
React Hook useEffect has a missing dependency: 'handleClear'. Either include it or remove the dependency array
oneiros::pr_checks::lint: src/molecules/02_AudioPlayer/AudioPlayer.tsx#L120
React Hook useEffect has missing dependencies: 'handleStatus' and 'prompt'. Either include them or remove the dependency array
oneiros::pr_checks::lint: src/molecules/04_Map/MapView.tsx#L516
React Hook useEffect has missing dependencies: 'events?.timeframe' and 'fetchNewData'. Either include them or remove the dependency array. If 'fetchNewData' changes too often, find the parent component that defines it and wrap that definition in useCallback
oneiros::pr_checks::lint: src/molecules/04_Map/MapView.tsx#L531
React Hook useEffect has a missing dependency: 'events?.mapData'. Either include it or remove the dependency array
oneiros::pr_checks::lint: src/molecules/04_Map/MapView.tsx#L531
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
oneiros::pr_checks::test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
oneiros::pr_checks::test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/