[PR #3548] [MERGED] fix: interceptor error from extension issue #4426

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3548
Author: @nivedin
Created: 11/14/2023
Status: Merged
Merged: 11/14/2023
Merged by: @AndrewBastin

Base: release/2023.8.4Head: refactor/interceptor-error-display


📝 Commits (1)

  • 00588bc fix: interceptor error from extension issue

📊 Changes

10 files changed (+143 additions, -12 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+2 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+6 -6)
📝 packages/hoppscotch-common/src/components/graphql/Sidebar.vue (+3 -3)
📝 packages/hoppscotch-common/src/components/http/Request.vue (+14 -1)
📝 packages/hoppscotch-common/src/components/http/ResponseMeta.vue (+6 -0)
packages/hoppscotch-common/src/components/interceptors/ErrorPlaceholder.vue (+98 -0)
📝 packages/hoppscotch-common/src/composables/stream.ts (+4 -2)
📝 packages/hoppscotch-common/src/helpers/types/HoppRESTResponse.ts (+7 -0)
📝 packages/hoppscotch-common/src/platform/std/interceptors/extension.ts (+2 -0)
📝 packages/hoppscotch-common/src/services/interceptor.service.ts (+1 -0)

📄 Description

Closes HFE-223 #3338

Description

This PR shows a error placeholder when a request is send through the hoppscotch extension but the origin was not added to the extensions list, previously it displayed an error in the console.

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

🔄 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/3548 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 11/14/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.4` ← **Head:** `refactor/interceptor-error-display` --- ### 📝 Commits (1) - [`00588bc`](https://github.com/hoppscotch/hoppscotch/commit/00588bcc0a2e5f7d888efa06132c5e1f7312f484) fix: interceptor error from extension issue ### 📊 Changes **10 files changed** (+143 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+2 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+6 -6) 📝 `packages/hoppscotch-common/src/components/graphql/Sidebar.vue` (+3 -3) 📝 `packages/hoppscotch-common/src/components/http/Request.vue` (+14 -1) 📝 `packages/hoppscotch-common/src/components/http/ResponseMeta.vue` (+6 -0) ➕ `packages/hoppscotch-common/src/components/interceptors/ErrorPlaceholder.vue` (+98 -0) 📝 `packages/hoppscotch-common/src/composables/stream.ts` (+4 -2) 📝 `packages/hoppscotch-common/src/helpers/types/HoppRESTResponse.ts` (+7 -0) 📝 `packages/hoppscotch-common/src/platform/std/interceptors/extension.ts` (+2 -0) 📝 `packages/hoppscotch-common/src/services/interceptor.service.ts` (+1 -0) </details> ### 📄 Description Closes HFE-223 #3338 ### Description This PR shows a error placeholder when a request is send through the hoppscotch extension but the origin was not added to the extensions list, previously it displayed an error in the console. ![image](https://github.com/hoppscotch/hoppscotch/assets/53208152/a9bc7dc9-3446-45a6-8501-53e5adca5a4d) ### Checks - [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 - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:57:56 +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#4426
No description provided.