Skip to content

Conversation

@xuang7
Copy link
Contributor

@xuang7 xuang7 commented Dec 8, 2025

What changes were proposed in this PR?

This PR adds support for WebP and GIF image formats in the dataset file preview feature.

Changes:

  • Backend:
    • Added MIME type mappings for WebP (image/webp) and GIF (image/gif) in the retrieveDatasetSingleFile endpoint
  • Frontend:
    • Added WEBP and GIF to MIME_TYPES constants
    • Added size limits: 5 MB for WebP, 10 MB for GIF

Demonstration:

demo

Any related issues, documentation, discussions?

#4119

How was this PR tested?

Manually tested, and existing automated tests passed.

Was this PR authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added feature frontend Changes related to the frontend GUI service labels Dec 8, 2025
@xuang7 xuang7 marked this pull request as ready for review December 8, 2025 01:55
@chenlica
Copy link
Contributor

chenlica commented Dec 8, 2025

@seongjinyoon Please review it before @aicam.

@chenlica chenlica requested a review from aicam December 8, 2025 04:29
@seongjinyoon
Copy link
Contributor

LGTM! Code looks good. Tested and it works well. @aicam Please review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature frontend Changes related to the frontend GUI service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants