[PR #2126] [MERGED] Enable image lens for WebP #3640

Closed
opened 2026-03-17 01:14:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2126
Author: @kidonng
Created: 2/20/2022
Status: Merged
Merged: 2/20/2022
Merged by: @AndrewBastin

Base: mainHead: patch-1


📝 Commits (1)

  • a20a6a4 Enable image lens for WebP

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-app/helpers/lenses/imageLens.ts (+1 -1)

📄 Description

Closes #

Description

With all major browsers have added support for more than one year (Safari being the latest), we can safely assume WebP is available most of the time.

👇 Meta warning: below is a WebP image showing WebP support

If the browser really doesn't support WebP, they just get a alt icon and nothing really breaks. That's still better than showing the raw binary:

image

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2126 **Author:** [@kidonng](https://github.com/kidonng) **Created:** 2/20/2022 **Status:** ✅ Merged **Merged:** 2/20/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`a20a6a4`](https://github.com/hoppscotch/hoppscotch/commit/a20a6a428ab5df10c77f7e1a29f3e593701e4699) Enable image lens for WebP ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/helpers/lenses/imageLens.ts` (+1 -1) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes # <!-- Issue # here --> ### Description <!-- Add a brief description of the pull request --> With all major browsers have added support for more than one year (Safari being the latest), we can safely assume WebP is available most of the time. 👇 Meta warning: below is a WebP image showing WebP support [![](https://caniuse.bitsofco.de/image/webp.webp)](https://caniuse.com/?search=webp) If the browser really doesn't support WebP, they just get a alt icon and nothing really breaks. That's still better than showing the raw binary: <img width="559" alt="image" src="https://user-images.githubusercontent.com/44045911/154854704-54c9617c-c762-492c-b5cf-233fb4ef14b9.png"> <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [ ] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:14:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#3640
No description provided.