Skip to content

task/WG-418 - File Listing Component Enhancement and Fixes #1003

task/WG-418 - File Listing Component Enhancement and Fixes

task/WG-418 - File Listing Component Enhancement and Fixes #1003

Triggered via pull request March 4, 2025 21:57
Status Failure
Total duration 1m 36s
Artifacts

main.yml

on: pull_request
Angular-Unit-Tests
55s
Angular-Unit-Tests
Angular-Linting
51s
Angular-Linting
React-Unit-Tests
1m 31s
React-Unit-Tests
React-Linting
35s
React-Linting
React-Build
47s
React-Build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
React-Unit-Tests
Process completed with exit code 1.
React-Linting: react/src/pages/Login/Login.tsx#L29
React Hook useEffect has missing dependencies: 'configuration.geoapiUrl', 'isAuthenticated', 'location.search', and 'navigate'. Either include them or remove the dependency array
React-Linting: react/src/components/Systems/SystemSelect.tsx#L40
React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array
React-Linting: react/src/components/Files/FileListing.tsx#L214
React Hook useEffect has missing dependencies: 'myDataSystem?.id', 'onFolderSelect', 'onSystemSelect', 'selectedSystem.id', 'setRootFolderChain', 'systems', and 'user?.username'. Either include them 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/components/Files/FileListing.tsx#L183
React Hook useEffect has missing dependencies: 'listingState.offset' and 'setRootFolderChain'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setChonkyFiles' needs the current value of 'listingState.offset'
React-Linting: react/src/components/CreateMapModal/CreateMapModal.tsx#L92
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array