Skip to content

Conversation

@JammingBen
Copy link
Contributor

@JammingBen JammingBen commented Aug 7, 2025

As per title.

Fixes #1061

@JammingBen JammingBen requested a review from kulmann August 7, 2025 09:18
@JammingBen JammingBen self-assigned this Aug 7, 2025
Copilot AI review requested due to automatic review settings August 7, 2025 09:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for WebP image format in the preview functionality by adding the WebP MIME type and file extension to the supported formats list.

  • Added 'webp' to the supported file extensions for file icons
  • Added 'image/webp' to the supported MIME types for preview functionality

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/web-pkg/src/helpers/resource/icon.ts Adds 'webp' extension to the file icon support list
packages/web-app-preview/src/mimeTypes.ts Adds 'image/webp' MIME type to supported preview formats

@JammingBen JammingBen merged commit 1ca733c into main Aug 7, 2025
30 checks passed
@JammingBen JammingBen deleted the feat/webp-preview-app branch August 7, 2025 11:02
@openclouders openclouders mentioned this pull request Aug 7, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.webp Images don't get opened in Preview app

3 participants