Skip to content

User defined dataset bounds #599

User defined dataset bounds

User defined dataset bounds #599

Triggered via pull request August 2, 2023 16:12
Status Failure
Total duration 1m 19s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 14 warnings
ts-check: app/scripts/components/common/mapbox/index.tsx#L422
Type '{ id: string; stacCol: string; mapInstance: Map; urlPosition: Partial<MapPosition> | undefined; date: Date | undefined; sourceParams: ObjResMap<Record<string, any>> | undefined; zoomExtent: number[] | undefined; bounds: number[] | undefined; onStatusChange: ({ status }: { ...; }) => void; }' is not assignable to type 'IntrinsicAttributes & (MapLayerRasterTimeseriesProps | MapLayerVectorTimeseriesProps | MapLayerZarrTimeseriesProps)'.
ts-check: app/scripts/components/common/mapbox/layers/raster-timeseries.tsx#L79
Property 'urlPosition' does not exist on type 'MapLayerRasterTimeseriesProps'.
ts-check: app/scripts/components/common/mapbox/layers/vector-timeseries.tsx#L47
Property 'urlPosition' does not exist on type 'MapLayerVectorTimeseriesProps'.
ts-check
Process completed with exit code 2.
lint: app/scripts/components/common/mapbox/layers/raster-timeseries.tsx#L79
'urlPosition' is missing in props validation
lint: app/scripts/components/common/mapbox/layers/vector-timeseries.tsx#L47
'urlPosition' is missing in props validation
lint
Process completed with exit code 1.
prep
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ts-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: app/scripts/components/analysis/define/aoi-selector.tsx#L99
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/define/aoi-selector.tsx#L118
React Hook useEffect has a missing dependency: 'mapRef'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/define/index.tsx#L102
Use a ! assertion to more succinctly remove null and undefined from the type
lint: app/scripts/components/analysis/define/index.tsx#L158
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint: app/scripts/components/analysis/define/index.tsx#L184
Unnecessary optional chain on a non-nullish value
lint: app/scripts/components/analysis/define/index.tsx#L191
React Hook useEffect has a missing dependency: 'datasetsLayers'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/define/use-custom-aoi.ts#L129
Unnecessary conditional, value is always falsy
lint: app/scripts/components/analysis/page-hero-media.tsx#L143
React Hook useEffect has a missing dependency: 'theme.color'. Either include it or remove the dependency array
lint: app/scripts/components/analysis/page-hero-media.tsx#L159
Unexpected any. Specify a different type
lint: app/scripts/components/analysis/results/analysis-head-actions.tsx#L85
Unexpected any. Specify a different type
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/