Skip to content

✨ Extract grapher state from the react component [3/4] #26712

✨ Extract grapher state from the react component [3/4]

✨ Extract grapher state from the react component [3/4] #26712

Triggered via pull request January 3, 2025 12:10
Status Failure
Total duration 2m 45s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 13 warnings
testdbcheck: site/DataPageV2Content.tsx#L157
Cannot find name 'projection'. Did you mean 'reaction'?
testdbcheck: site/GrapherFigureView.tsx#L23
Property 'toObject' does not exist on type 'Grapher'. Did you mean 'object'?
testdbcheck: site/GrapherFigureView.tsx#L24
Property 'isEmbeddedInADataPage' does not exist on type 'Grapher'.
testdbcheck: site/GrapherFigureView.tsx#L25
Property 'bindUrlToWindow' does not exist on type 'Readonly<GrapherProps> & Readonly<{ children?: ReactNode; }>'.
testdbcheck: site/GrapherFigureView.tsx#L26
Property 'bindUrlToWindow' does not exist on type 'Readonly<GrapherProps> & Readonly<{ children?: ReactNode; }>'.
testdbcheck: site/GrapherFigureView.tsx#L41
Type '{ adminBaseUrl: string; bakedGrapherURL: string; owidDataset?: MultipleOwidVariableDataDimensionsMap | undefined; manuallyProvideData?: boolean | undefined; ... 102 more ...; key: string | undefined; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Grapher> & Readonly<GrapherProps> & Readonly<...>'.
testdbcheck: site/collections/DynamicCollection.tsx#L38
Property 'slug' does not exist on type 'Grapher'.
testdbcheck: site/collections/DynamicCollection.tsx#L38
Property 'queryStr' does not exist on type 'Grapher'.
testdbcheck: site/collections/DynamicCollection.tsx#L76
Property 'slug' does not exist on type 'Grapher'.
testdbcheck: site/collections/DynamicCollection.tsx#L76
Property 'queryStr' does not exist on type 'Grapher'.
bundlewatch: site/DataPageV2Content.tsx#L157
Cannot find name 'projection'. Did you mean 'reaction'?
bundlewatch: site/GrapherFigureView.tsx#L23
Property 'toObject' does not exist on type 'Grapher'. Did you mean 'object'?
bundlewatch: site/GrapherFigureView.tsx#L24
Property 'isEmbeddedInADataPage' does not exist on type 'Grapher'.
bundlewatch: site/GrapherFigureView.tsx#L25
Property 'bindUrlToWindow' does not exist on type 'Readonly<GrapherProps> & Readonly<{ children?: ReactNode; }>'.
bundlewatch: site/GrapherFigureView.tsx#L26
Property 'bindUrlToWindow' does not exist on type 'Readonly<GrapherProps> & Readonly<{ children?: ReactNode; }>'.
bundlewatch: site/GrapherFigureView.tsx#L41
Type '{ adminBaseUrl: string; bakedGrapherURL: string; owidDataset?: MultipleOwidVariableDataDimensionsMap | undefined; manuallyProvideData?: boolean | undefined; ... 102 more ...; key: string | undefined; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Grapher> & Readonly<GrapherProps> & Readonly<...>'.
bundlewatch: site/collections/DynamicCollection.tsx#L38
Property 'slug' does not exist on type 'Grapher'.
bundlewatch: site/collections/DynamicCollection.tsx#L38
Property 'queryStr' does not exist on type 'Grapher'.
bundlewatch: site/collections/DynamicCollection.tsx#L76
Property 'slug' does not exist on type 'Grapher'.
bundlewatch: site/collections/DynamicCollection.tsx#L76
Property 'queryStr' does not exist on type 'Grapher'.
testcheck: site/DataPageV2Content.tsx#L157
Cannot find name 'projection'. Did you mean 'reaction'?
testcheck: site/GrapherFigureView.tsx#L23
Property 'toObject' does not exist on type 'Grapher'. Did you mean 'object'?
testcheck: site/GrapherFigureView.tsx#L24
Property 'isEmbeddedInADataPage' does not exist on type 'Grapher'.
testcheck: site/GrapherFigureView.tsx#L25
Property 'bindUrlToWindow' does not exist on type 'Readonly<GrapherProps> & Readonly<{ children?: ReactNode; }>'.
testcheck: site/GrapherFigureView.tsx#L26
Property 'bindUrlToWindow' does not exist on type 'Readonly<GrapherProps> & Readonly<{ children?: ReactNode; }>'.
testcheck: site/GrapherFigureView.tsx#L41
Type '{ adminBaseUrl: string; bakedGrapherURL: string; owidDataset?: MultipleOwidVariableDataDimensionsMap | undefined; manuallyProvideData?: boolean | undefined; ... 102 more ...; key: string | undefined; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Grapher> & Readonly<GrapherProps> & Readonly<...>'.
testcheck: site/collections/DynamicCollection.tsx#L38
Property 'slug' does not exist on type 'Grapher'.
testcheck: site/collections/DynamicCollection.tsx#L38
Property 'queryStr' does not exist on type 'Grapher'.
testcheck: site/collections/DynamicCollection.tsx#L76
Property 'slug' does not exist on type 'Grapher'.
testcheck: site/collections/DynamicCollection.tsx#L76
Property 'queryStr' does not exist on type 'Grapher'.
eslint
Process completed with exit code 1.
testdbcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
testcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
eslint: adminSiteServer/testPageRouter.tsx#L810
'trx' is defined but never used. Allowed unused args must match /^_/u
eslint: baker/GrapherImageBaker.tsx#L127
'vardata' is assigned a value but never used. Allowed unused vars must match /^_/u
eslint: baker/GrapherImageBaker.tsx#L232
'vardata' is defined but never used. Allowed unused args must match /^_/u
eslint: baker/updateChartEntities.ts#L90
'variableData' is assigned a value but never used. Allowed unused vars must match /^_/u
eslint: packages/@ourworldindata/explorer/src/Explorer.tsx#L709
'inputTableTransformer' is assigned a value but never used. Allowed unused vars must match /^_/u
eslint: packages/@ourworldindata/grapher/src/chart/DimensionSlot.ts#L3
'Grapher' is defined but never used. Allowed unused vars must match /^_/u
eslint: packages/@ourworldindata/grapher/src/core/FetchingGrapher.tsx#L30
'setGrapherState' is assigned a value but never used. Allowed unused vars must match /^_/u