Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple processing logic from uploading itself #568

Merged
merged 22 commits into from
Jul 18, 2024

Simplify

8104079
Select commit
Loading
Failed to load commit list.
Merged

Decouple processing logic from uploading itself #568

Simplify
8104079
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jul 17, 2024 in 1s

79.41% of diff hit (within 50.00% threshold of 81.04%)

View this Pull Request on Codecov

79.41% of diff hit (within 50.00% threshold of 81.04%)

Annotations

Check warning on line 31 in packages/editor/src/blockMediaPanel/videoControls.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/editor/src/blockMediaPanel/videoControls.tsx#L31

Added line #L31 was not covered by tests

Check warning on line 64 in packages/editor/src/components/bulkOptimization.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/editor/src/components/bulkOptimization.tsx#L56-L64

Added lines #L56 - L64 were not covered by tests

Check warning on line 93 in packages/editor/src/components/bulkOptimization.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/editor/src/components/bulkOptimization.tsx#L90-L93

Added lines #L90 - L93 were not covered by tests

Check warning on line 151 in packages/editor/src/uploadQueue/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/editor/src/uploadQueue/index.ts#L149-L151

Added lines #L149 - L151 were not covered by tests

Check warning on line 161 in packages/editor/src/uploadQueue/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/editor/src/uploadQueue/index.ts#L159-L161

Added lines #L159 - L161 were not covered by tests

Check warning on line 59 in packages/editor/src/uploadStatus/indicator.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/editor/src/uploadStatus/indicator.tsx#L59

Added line #L59 was not covered by tests

Check warning on line 16 in packages/media-utils/src/utils/getMimeTypesArray.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/getMimeTypesArray.ts#L16

Added line #L16 was not covered by tests

Check warning on line 76 in packages/media-utils/src/utils/uploadMedia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/uploadMedia.ts#L76

Added line #L76 was not covered by tests

Check warning on line 85 in packages/media-utils/src/utils/uploadMedia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/uploadMedia.ts#L85

Added line #L85 was not covered by tests

Check warning on line 93 in packages/media-utils/src/utils/uploadMedia.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/uploadMedia.ts#L93

Added line #L93 was not covered by tests

Check warning on line 15 in packages/media-utils/src/utils/validateFileSize.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateFileSize.ts#L13-L15

Added lines #L13 - L15 were not covered by tests

Check warning on line 22 in packages/media-utils/src/utils/validateFileSize.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateFileSize.ts#L17-L22

Added lines #L17 - L22 were not covered by tests

Check warning on line 27 in packages/media-utils/src/utils/validateFileSize.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateFileSize.ts#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 37 in packages/media-utils/src/utils/validateFileSize.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateFileSize.ts#L29-L37

Added lines #L29 - L37 were not covered by tests

Check warning on line 20 in packages/media-utils/src/utils/validateMimeType.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateMimeType.ts#L20

Added line #L20 was not covered by tests

Check warning on line 28 in packages/media-utils/src/utils/validateMimeType.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateMimeType.ts#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 38 in packages/media-utils/src/utils/validateMimeType.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateMimeType.ts#L30-L38

Added lines #L30 - L38 were not covered by tests

Check warning on line 20 in packages/media-utils/src/utils/validateMimeTypeForUser.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateMimeTypeForUser.ts#L20

Added line #L20 was not covered by tests

Check warning on line 29 in packages/media-utils/src/utils/validateMimeTypeForUser.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateMimeTypeForUser.ts#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 39 in packages/media-utils/src/utils/validateMimeTypeForUser.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/media-utils/src/utils/validateMimeTypeForUser.ts#L31-L39

Added lines #L31 - L39 were not covered by tests

Check warning on line 17 in packages/upload-media/src/mediaError.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/upload-media/src/mediaError.ts#L17

Added line #L17 was not covered by tests

Check warning on line 21 in packages/upload-media/src/mediaError.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/upload-media/src/mediaError.ts#L21

Added line #L21 was not covered by tests

Check warning on line 1544 in packages/upload-media/src/store/actions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/upload-media/src/store/actions.ts#L1544

Added line #L1544 was not covered by tests

Check warning on line 1808 in packages/upload-media/src/store/actions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/upload-media/src/store/actions.ts#L1808

Added line #L1808 was not covered by tests

Check warning on line 1884 in packages/upload-media/src/store/actions.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/upload-media/src/store/actions.ts#L1884

Added line #L1884 was not covered by tests