refactor: adjust navbar scenes #89712
Annotations
9 errors and 1 warning
frontend/src/lib/components/Sparkline.tsx#L115
Type '{ borderDash: number[]; drawBorder: false; display: true; tickLength: number; }' is not assignable to type '_DeepPartialObject<Partial<GridLineOptions>>'.
|
frontend/src/queries/nodes/DataVisualization/Components/Charts/LineGraph.tsx#L96
Type '"500"' is not assignable to type 'Scriptable<number | "bold" | "normal" | "bolder" | "lighter" | null | undefined, ScriptableScaleContext>'.
|
frontend/src/queries/nodes/DataVisualization/Components/Charts/LineGraph.tsx#L102
Type '{ color: Color; borderColor: Color; tickColor: Color; borderDash: number[]; }' is not assignable to type 'Partial<GridLineOptions>'.
|
frontend/src/scenes/insights/views/LineGraph/LineGraph.tsx#L4
Cannot find module 'chart.js/types/utils' or its corresponding type declarations.
|
frontend/src/scenes/insights/views/LineGraph/LineGraph.tsx#L404
Type '"500"' is not assignable to type 'Scriptable<number | "bold" | "normal" | "bolder" | "lighter" | null | undefined, ScriptableScaleContext>'.
|
frontend/src/scenes/insights/views/LineGraph/LineGraph.tsx#L409
Type '{ color: Color; borderColor: Color; tickColor: Color; borderDash: number[]; }' is not assignable to type 'Partial<GridLineOptions>'.
|
frontend/src/scenes/insights/views/LineGraph/LineGraph.tsx#L620
Type '{ padding?: number | undefined; font?: ((ctx: ScriptableScaleContext, options: AnyObject) => Partial<FontSpec> | undefined) | ScriptableOptions<...> | { ...; } | undefined; ... 10 more ...; major?: { ...; } | undefined; }' is not assignable to type '_DeepPartialObject<TickOptions & { sampleSize: number; align: "inner" | Align; autoSkip: boolean; autoSkipPadding: number; crossAlign: "center" | "near" | "far"; includeBounds: boolean; ... 5 more ...; maxTicksLimit: number; } & { ...; }>'.
|
frontend/src/scenes/trends/viz/ActionsLineGraph.tsx#L2
Cannot find module 'chart.js/types/utils' or its corresponding type declarations.
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading