Skip to content

refactor: resizer and draggable components #6367

refactor: resizer and draggable components

refactor: resizer and draggable components #6367

Triggered via pull request November 2, 2023 10:34
Status Failure
Total duration 1m 57s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

nodejs.yml

on: pull_request
nodejs  /  lint-eslint
1m 18s
nodejs / lint-eslint
nodejs  /  lint-prettier
47s
nodejs / lint-prettier
nodejs  /  lint-check-types
1m 0s
nodejs / lint-check-types
Matrix: nodejs / test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
nodejs / lint-check-types: src/component/1d/multiAnalysis/AnalysisRange.tsx#L82
Type '{ children: ({ x1, x2 }: Position, isActive: boolean) => Element; tag: "svg"; onEnd: (resized: any) => void; initialPosition: { x2: number; x1: number; }; parentElement: HTMLDivElement | null; key: string; disabled: boolean; }' is not assignable to type 'IntrinsicAttributes & ResizerProps'.
nodejs / lint-check-types: src/component/elements/draggable/SVGDraggable.tsx#L40
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/draggable/SVGDraggable.tsx#L45
Argument of type '{ position: Position; parentElement: HTMLElement | null | undefined; dragHandleClassName: string | undefined; }' is not assignable to parameter of type 'UseDraggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L43
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L43
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L44
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L44
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L48
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L56
Property 'position' does not exist on type 'Draggable'.
nodejs / lint-check-types: src/component/elements/resizer/DivResizer.tsx#L65
Property 'prevPosition' does not exist on type 'UseResizer'.
nodejs / lint-eslint: src/component/1d/peaks/PeakEditionManager.tsx#L44
Unexpected empty method 'onEdit'
nodejs / lint-eslint: src/component/assignment/index.tsx#L30
Unexpected 'todo' comment: 'TODO: Fix this type error. It's been...'
nodejs / lint-eslint: src/component/elements/Button.tsx#L1
Unexpected 'todo' comment: 'TODO resolve the eslint rules'
nodejs / lint-eslint: src/component/elements/ContextMenu.tsx#L61
Unexpected 'todo' comment: 'TODO: remove this hacky ref usage.'
nodejs / lint-eslint: src/component/elements/InputRange.tsx#L44
Unexpected 'todo' comment: 'TODO: remove this hacky ref usage.'
nodejs / lint-eslint: src/component/elements/Select.tsx#L102
Unexpected 'todo' comment: 'TODO: throw error'
nodejs / lint-eslint: src/component/elements/popup/Modal/Provider.tsx#L85
Unexpected 'todo' comment: 'todo: optimize this'
nodejs / lint-eslint: src/component/header/PhaseCorrectionTwoDimensionsPanel.tsx#L136
Unexpected 'todo' comment: 'TODO implement apply filter'
nodejs / lint-eslint: src/component/modal/MultipletAnalysisModal.tsx#L148
Unexpected 'todo' comment: 'TODO: handle error'
nodejs / lint-eslint: src/component/modal/editRange/forms/components/AddSignalFormTab.tsx#L47
Unexpected 'todo' comment: 'TODO: this seems to be a hacky use of...'