Skip to content

refactor(legend): Simplify the code and tweak performance #6323

refactor(legend): Simplify the code and tweak performance

refactor(legend): Simplify the code and tweak performance #6323

Triggered via pull request December 13, 2024 20:25
@jolevesqjolevesq
opened #2663
Status Failure
Total duration 2m 19s
Artifacts

main.yml

on: pull_request_target
Check if we continue the process
16s
Check if we continue the process
Build demo files  /  build-geoview
1m 42s
Build demo files / build-geoview
Deploy public  /  Cleanup gh-pages
Deploy public / Cleanup gh-pages
Deploy public  /  Deploy gh-pages
Deploy public / Deploy gh-pages
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
Build demo files / build-geoview
Process completed with exit code 1.
Check if we continue the process
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check if we continue the process
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build demo files / build-geoview
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build demo files / build-geoview: packages/geoview-core/src/core/components/legend/legend-layer-ctrl.tsx#L51
React Hook useCallback has a missing dependency: 'getVisibilityFromOrderedLayerInfo'. Either include it or remove the dependency array
Build demo files / build-geoview: packages/geoview-core/src/core/components/legend/legend-layer.tsx#L45
React Hook useCallback has a missing dependency: 'getLegendCollapsedFromOrderedLayerInfo'. Either include it or remove the dependency array
Build demo files / build-geoview: packages/geoview-core/src/core/stores/geoview-store.ts#L100
'fakeStore' is assigned a value but only used as a type