Skip to content

refactor(schema): camel case frontend-only settings and include in conversion #54067

refactor(schema): camel case frontend-only settings and include in conversion

refactor(schema): camel case frontend-only settings and include in conversion #54067

Triggered via pull request September 26, 2023 21:30
Status Failure
Total duration 7m 12s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci-frontend.yml

on: pull_request
Code quality checks
7m 2s
Code quality checks
Matrix: jest
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Jest test (2)
Process completed with exit code 1.
Code quality checks: frontend/src/lib/components/ChartFilter/chartFilterLogic.ts#L30
Argument of type '{ display: ChartDisplayType; }' is not assignable to parameter of type 'InsightFilter'.
Code quality checks: frontend/src/lib/components/CompareFilter/compareFilterLogic.ts#L40
Argument of type '{ compare: boolean; }' is not assignable to parameter of type 'InsightFilter'.
Code quality checks: frontend/src/lib/components/SmoothingFilter/SmoothingFilter.tsx#L40
Argument of type '{ smoothing_intervals: number; }' is not assignable to parameter of type 'InsightFilter'.
Code quality checks: frontend/src/lib/components/UnitPicker/CustomUnitModal.tsx#L15
Property 'aggregation_axis_prefix' does not exist on type 'TrendsFilter'. Did you mean 'aggregationAxisPrefix'?
Code quality checks: frontend/src/lib/components/UnitPicker/CustomUnitModal.tsx#L19
Property 'aggregation_axis_postfix' does not exist on type 'TrendsFilter'. Did you mean 'aggregationAxisPostfix'?
Code quality checks: frontend/src/lib/components/UnitPicker/UnitPicker.tsx#L32
Property 'aggregation_axis_format' does not exist on type 'TrendsFilter'. Did you mean 'aggregationAxisFormat'?
Code quality checks: frontend/src/lib/components/UnitPicker/UnitPicker.tsx#L53
Argument of type '{ aggregation_axis_format: "numeric" | "duration" | "duration_ms" | "percentage" | "percentage_scaled" | undefined; aggregation_axis_prefix: string | undefined; aggregation_axis_postfix: string | undefined; }' is not assignable to parameter of type 'InsightFilter'.
Code quality checks: frontend/src/lib/components/UnitPicker/UnitPicker.tsx#L75
Property 'aggregation_axis_prefix' does not exist on type 'TrendsFilter'. Did you mean 'aggregationAxisPrefix'?
Code quality checks: frontend/src/lib/components/UnitPicker/UnitPicker.tsx#L76
Property 'aggregation_axis_prefix' does not exist on type 'TrendsFilter'. Did you mean 'aggregationAxisPrefix'?
Code quality checks: frontend/src/lib/components/UnitPicker/UnitPicker.tsx#L78
Property 'aggregation_axis_postfix' does not exist on type 'TrendsFilter'. Did you mean 'aggregationAxisPostfix'?
Code quality checks: frontend/src/lib/components/Cards/TextCard/TextCard.stories.tsx#L73
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/CompactList/CompactList.stories.tsx#L24
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/CompactList/CompactList.stories.tsx#L46
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/CopyToClipboard.tsx#L38
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/EditableField/EditableField.tsx#L113
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/Fade/Fade.tsx#L33
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/HTMLElementsDisplay/HTMLElementsDisplay.stories.tsx#L15
The story should use PascalCase notation: elementsExample
Code quality checks: frontend/src/lib/components/InsightLabel/index.tsx#L124
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/InsightLabel/index.tsx#L174
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview
Code quality checks: frontend/src/lib/components/PageHeader.tsx#L28
style should be avoided in favor of utility CSS classes - see https://storybook.posthog.net/?path=/docs/lemon-ui-utilities--overview