Camera acessibility #17
fertiscan-frontend-workflows.yml
on: pull_request
build-and-push-gcr
/
build-push-image
36s
markdown-check
/
markdown-check
15s
repo-standard
/
validate-name
27s
lint-test
/
lint-test
17s
build-and-push-gcr
/
remove-old-image
0s
Annotations
11 errors and 8 warnings
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L12
'capturedImage' is assigned a value but never used
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L16
Replace `"environment"` with `⏎····"environment",⏎··`
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L93
Replace `videoRef.current,·0,·0,·canvasRef.current.width,·canvasRef.current.height` with `⏎··········videoRef.current,⏎··········0,⏎··········0,⏎··········canvasRef.current.width,⏎··········canvasRef.current.height,⏎········`
|
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L123
Replace `·video:·{·facingMode:·cameraMode·===·"user"·?·"environment"·:·"user"·}` with `⏎········video:·{·facingMode:·cameraMode·===·"user"·?·"environment"·:·"user"·},⏎·····`
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L132
Replace `prevMode·=>·prevMode·===·"environment"·?·"user"·:·"environment"` with `(prevMode)·=>⏎······prevMode·===·"environment"·?·"user"·:·"environment",⏎····`
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L146
Replace `·id="file-input"·ref={fileInput}·type="file"·multiple·onChange={onFileChange}·style={{·display:·"none"·}}` with `⏎········id="file-input"⏎········ref={fileInput}⏎········type="file"⏎········multiple⏎········onChange={onFileChange}⏎········style={{·display:·"none"·}}⏎·····`
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L147
Replace `·htmlFor="file-input"·onDragOver={handleDrag}·onDragLeave={handleDrag}·onDrop={handleDrop}·onClick={handleClick}·className={`drag-drop-file-input·${dragActive·?·"active"·:·""}·${file·?·"hasFile"·:·""}`}` with `⏎········htmlFor="file-input"⏎········onDragOver={handleDrag}⏎········onDragLeave={handleDrag}⏎········onDrop={handleDrop}⏎········onClick={handleClick}⏎········className={`drag-drop-file-input·${dragActive·?·"active"·:·""}·${file·?·"hasFile"·:·""}`}⏎·····`
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L152
Replace `·Browse·Files·or·Camera` with `⏎··········{"·"}⏎··········Browse·Files·or·Camera{"·"}⏎·······`
|
lint-test / lint-test:
src/Components/DragDropFileInput/DragDropFileInput.tsx#L153
Replace `·Cancel` with `⏎··········{"·"}⏎··········Cancel{"·"}⏎·······`
|
build-and-push-gcr / build-push-image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2
|
markdown-check / markdown-check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
markdown-check / markdown-check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint-test / lint-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint-test / lint-test:
src/Pages/JsonPage/Json.tsx#L53
React Hook useEffect has missing dependencies: 'uploadStarted' and 'upload_all'. Either include them or remove the dependency array
|
repo-standard / validate-name
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
repo-standard / validate-name
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v5. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-and-push-gcr / build-push-image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-and-push-gcr / build-push-image
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|