Skip to content

refactor(components): Unify all primary buttons into a single component #66400

refactor(components): Unify all primary buttons into a single component

refactor(components): Unify all primary buttons into a single component #66400

Triggered via pull request October 16, 2025 00:20
Status Failure
Total duration 9m 12s
Artifacts

js-check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 10 warnings
js checks: app/src/molecules/InterventionModal/DeckMapContent.tsx#L70
Unsafe argument of type `any` assigned to a parameter of type `LabwareLocation | ModuleLocation`
js checks: app/src/molecules/InterventionModal/DeckMapContent.tsx#L65
Unsafe argument of type `any` assigned to a parameter of type `RobotType`
js checks: app/src/molecules/InterventionModal/CategorizedStepContent.stories.tsx#L18
Unsafe argument of type `any` assigned to a parameter of type `List<unknown> | null | undefined`
js checks: app/src/molecules/Command/Command.stories.tsx#L23
Unsafe argument of type `any` assigned to a parameter of type `List<unknown> | null | undefined`
js checks: app/src/molecules/CardButton/CardButton.stories.tsx#L21
Unsafe argument of type `any` assigned to a parameter of type `{}`
js checks: app/src/atoms/buttons/MediumButton.stories.tsx#L15
Unsafe argument of type `any` assigned to a parameter of type `{}`
js checks: app/src/atoms/buttons/FloatingActionButton.stories.tsx#L14
Unsafe argument of type `any` assigned to a parameter of type `{}`
js checks: app/src/DesignTokens/Spacing/Spacing.stories.tsx#L69
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
js checks: app/src/DesignTokens/Colors/Colors.stories.tsx#L117
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
js checks: app/src/DesignTokens/BorderRadius/BorderRadius.stories.tsx#L64
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
js checks: app/src/redux/protocol-runs/selectors/lpc/transforms.ts#L3
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/i18n.ts#L4
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/assets/localization/zh/index.ts#L1
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/assets/localization/en/index.ts#L1
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/redux/protocol-runs/selectors/lpc/transforms.ts#L3
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/i18n.ts#L4
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/assets/localization/zh/index.ts#L1
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: app/src/assets/localization/en/index.ts#L1
Cannot find module '@opentrons/components' or its corresponding type declarations.
js checks: components/src/index.ts#L41
Module './buttons' has already exported a member named 'ButtonProps'. Consider explicitly re-exporting to resolve the ambiguity.
js checks: components/src/index.ts#L41
Module './buttons' has already exported a member named 'Button'. Consider explicitly re-exporting to resolve the ambiguity.
js checks: app-shell-odd/src/notifications/connect.ts#L69
Use a ! assertion to more succinctly remove null and undefined from the type
js checks: app-shell-odd/src/notifications/connect.ts#L40
Promise-returning function provided to property where a void return was expected
js checks: app-shell-odd/src/main.ts#L175
Unexpected nullable object value in conditional. An explicit null check is required
js checks: app-shell-odd/src/main.ts#L159
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L158
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L99
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L53
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/main.ts#L43
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/http.ts#L131
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
js checks: app-shell-odd/src/http.ts#L102
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator