[PR #4177] [MERGED] feat: persist HTML response preview preference #4687

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4177
Author: @anwarulislam
Created: 7/9/2024
Status: Merged
Merged: 7/19/2024
Merged by: @jamesgeorge007

Base: patchHead: feat/remember-html-preview-choice


📝 Commits (5)

  • 1a9d964 feat: persist html preview config
  • 341075d fix: persist HTML response preview
  • d7e780b chore: resolve type errors
  • d620669 chore: hide wrap btn in preview mode and minor css update for codemirror element
  • c94cedf chore: update types

📊 Changes

4 files changed (+75 additions, -38 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/http/ResponseMeta.vue (+4 -2)
📝 packages/hoppscotch-common/src/components/lenses/renderers/HTMLLensRenderer.vue (+32 -16)
📝 packages/hoppscotch-common/src/composables/lens-actions.ts (+37 -19)
📝 packages/hoppscotch-common/src/helpers/lenses/lenses.ts (+2 -1)

📄 Description

Closes HFE-532

This pull request adds functionality to persist the HTML preview configuration. Previously, the configuration was not saved and had to be set every time the application was launched. With this change, the configuration will be saved locally, allowing the user's preference to persist.


🔄 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/4177 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 7/9/2024 **Status:** ✅ Merged **Merged:** 7/19/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `feat/remember-html-preview-choice` --- ### 📝 Commits (5) - [`1a9d964`](https://github.com/hoppscotch/hoppscotch/commit/1a9d964d18787204dc2587d5b9d975d52bbb9828) feat: persist html preview config - [`341075d`](https://github.com/hoppscotch/hoppscotch/commit/341075d8b1341e40e83b87286bdeeb8befd6243a) fix: persist HTML response preview - [`d7e780b`](https://github.com/hoppscotch/hoppscotch/commit/d7e780b6db95a5c6e5c7652ff5027434dd303134) chore: resolve type errors - [`d620669`](https://github.com/hoppscotch/hoppscotch/commit/d620669f1c6302f86e35fd8c07771c3a4178a20a) chore: hide wrap btn in preview mode and minor css update for codemirror element - [`c94cedf`](https://github.com/hoppscotch/hoppscotch/commit/c94cedfa15186667b2b0df2ad080e10d12197f76) chore: update types ### 📊 Changes **4 files changed** (+75 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/http/ResponseMeta.vue` (+4 -2) 📝 `packages/hoppscotch-common/src/components/lenses/renderers/HTMLLensRenderer.vue` (+32 -16) 📝 `packages/hoppscotch-common/src/composables/lens-actions.ts` (+37 -19) 📝 `packages/hoppscotch-common/src/helpers/lenses/lenses.ts` (+2 -1) </details> ### 📄 Description Closes HFE-532 This pull request adds functionality to persist the HTML preview configuration. Previously, the configuration was not saved and had to be set every time the application was launched. With this change, the configuration will be saved locally, allowing the user's preference to persist. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:12: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#4687
No description provided.