Skip to content

Load current scenario to json #232

Load current scenario to json

Load current scenario to json #232

Triggered via pull request January 15, 2025 19:04
Status Success
Total duration 59s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/components/D3GravityVision/D3GravityVision.tsx#L252
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/D3GravityVision/D3GravityVision.tsx#L293
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/D3GravityVision/D3GravityVision.tsx#L364
React Hook useEffect has a missing dependency: 'settings'. Either include it or remove the dependency array
build: src/components/GravityPoint/GravityPoint.tsx#L43
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
build: src/components/GravitySimulator/GravitySimulator.tsx#L495
React Hook useEffect has missing dependencies: 'createParticle', 'gravityPoints', 'gravityRef', 'handleFullscreenToggle', 'handleSelectScenario', 'isFullscreen', 'isPaused', 'onApiReady', 'particles', 'paths', 'physicsConfig', 'setGravityPoints', 'setIsColorInverted', 'setIsFullscreen', 'setIsPaused', 'setIsSimulationStarted', 'setParticles', 'updateSettings', and 'wrappedHandlePointDelete'. Either include them or remove the dependency array. If 'onApiReady' changes too often, find the parent component that defines it and wrap that definition in useCallback
build: src/components/GravitySimulator/GravitySimulator.tsx#L502
React Hook useEffect has a missing dependency: 'particlesRef'. Either include it or remove the dependency array
build: src/components/GravityVision/GravityVision.tsx#L231
React Hook useEffect has missing dependencies: 'gridLinesRef', 'lastDensityRef', 'lastShowVisionRef', 'lastWarpPointsKeyRef', and 'layerRef'. Either include them or remove the dependency array
build: src/components/GravityVision/GravityVision.tsx#L336
React Hook useEffect has missing dependencies: 'averageEffectiveMassRef', 'gridLinesRef', 'isPausedRef', 'lastWarpPointsKeyRef', and 'onFrameHandlerRef'. Either include them or remove the dependency array
build: src/components/JsonScenarioPanel/JsonScenarioPanel.tsx#L30
React Hook useEffect has a missing dependency: 'handleLoadCurrentState'. Either include it or remove the dependency array
build: src/components/ScenarioPanel/ScenarioPanel.tsx#L53
React Hook useEffect has missing dependencies: 'onSelectScenario' and 'searchParams'. Either include them or remove the dependency array. If 'onSelectScenario' changes too often, find the parent component that defines it and wrap that definition in useCallback