Skip to content

task/WG-253 - File Listing Component using Chonky #825

task/WG-253 - File Listing Component using Chonky

task/WG-253 - File Listing Component using Chonky #825

Triggered via pull request January 23, 2025 01:45
Status Failure
Total duration 1m 59s
Artifacts

main.yml

on: pull_request
Angular-Unit-Tests
54s
Angular-Unit-Tests
Angular-Linting
50s
Angular-Linting
React-Unit-Tests
1m 49s
React-Unit-Tests
React-Linting
33s
React-Linting
React-Build
52s
React-Build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 15 warnings
React-Linting: react/src/components/CreateMapModal/CreateMapModal.tsx#L108
Replace `··················` with `····················`
React-Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
React-Linting: react/src/components/Files/FileListing.tsx#L74
React Hook useEffect has a missing dependency: 'selectedSystem'. Either include it or remove the dependency array
React-Linting: react/src/components/Files/FileListing.tsx#L92
React Hook useEffect has a missing dependency: 'allowedFileExtensions'. Either include it or remove the dependency array. If 'setChonkyFiles' needs the current value of 'allowedFileExtensions', you can also switch to useReducer instead of useState and read 'allowedFileExtensions' in the reducer
React-Linting: react/src/components/Files/FileListing.tsx#L163
React Hook useCallback has missing dependencies: 'onFileSelect', 'onFolderSelect', and 'selectedFiles'. Either include them or remove the dependency array. If 'onFolderSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback
React-Linting: react/src/components/Map/Map.tsx#L71
React Hook useCallback has a missing dependency: 'setSelectedFeatureId'. Either include it or remove the dependency array
React-Linting: react/src/components/Map/Map.tsx#L126
React Hook useMemo has a missing dependency: 'initialAccumulator'. Either include it or remove the dependency array
React-Linting: react/src/components/Systems/SystemSelect.tsx#L33
React Hook useEffect has a missing dependency: 'onSystemSelect'. Either include it or remove the dependency array. If 'onSystemSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback
React-Linting: react/src/hooks/environment/useAppConfiguration.ts#L108
React Hook useMemo has a missing dependency: 'basePath'. Either include it or remove the dependency array
React-Linting: react/src/hooks/projects/useProjects.ts#L71
React Hook useMemo has missing dependencies: 'dsProjectQuery.isSuccess' and 'projectQuery.isSuccess'. Either include them or remove the dependency array
React-Linting: react/src/hooks/systems/useSystems.ts#L18
The 'systems' logical expression could make the dependencies of useMemo Hook (at line 22) change on every render. To fix this, wrap the initialization of 'systems' in its own useMemo() Hook
React-Linting: react/src/hooks/systems/useSystems.ts#L18
The 'systems' logical expression could make the dependencies of useMemo Hook (at line 28) change on every render. To fix this, wrap the initialization of 'systems' in its own useMemo() Hook
Angular-Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
React-Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Angular-Unit-Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
React-Unit-Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636