Skip to content

task/WG-432 rework hooks, maps and feature tree to minimize renders #996

task/WG-432 rework hooks, maps and feature tree to minimize renders

task/WG-432 rework hooks, maps and feature tree to minimize renders #996

Triggered via pull request March 4, 2025 02:23
Status Failure
Total duration 1m 20s
Artifacts

main.yml

on: pull_request
Angular-Unit-Tests
1m 4s
Angular-Unit-Tests
Angular-Linting
51s
Angular-Linting
React-Unit-Tests
1m 9s
React-Unit-Tests
React-Linting
54s
React-Linting
React-Build
45s
React-Build
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 7 warnings
React-Build
Cannot find module '@hazmapper/components/FeatureManager' or its corresponding type declarations.
React-Build
Cannot find module '@hazmapper/components/FeatureManager' or its corresponding type declarations.
React-Build
Process completed with exit code 2.
React-Unit-Tests
Process completed with exit code 1.
React-Build
Cache not found for keys: node-cache-Linux-x64-npm-44783ba12854e144919206d45bebadff1eb024adbd1dff8cf5a545372aedb2d9
React-Linting
Cache not found for keys: node-cache-Linux-x64-npm-44783ba12854e144919206d45bebadff1eb024adbd1dff8cf5a545372aedb2d9
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
React-Linting: react/src/components/Files/FileListing.tsx#L147
React Hook useEffect has missing dependencies: 'communityDataSystem?.id', 'myDataSystem?.id', 'onFolderSelect', 'onSystemSelect', 'publishedDataSystem?.id', '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/Systems/SystemSelect.tsx#L40
React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array
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-Unit-Tests
Cache not found for keys: node-cache-Linux-x64-npm-44783ba12854e144919206d45bebadff1eb024adbd1dff8cf5a545372aedb2d9