mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4860] [MERGED] feat(kernel): isolate type ser/de to platform #4964
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4964
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4860
Author: @CuriousCorrelation
Created: 3/8/2025
Status: ✅ Merged
Merged: 3/10/2025
Merged by: @jamesgeorge007
Base:
patch← Head:fix/kernel-level-decode📝 Commits (6)
f0da0aefeat(kernel): isolate type ser/de to platform66e8606fix: remove console info loga380c67fix: extension subtitle calls to service60eb2befix: map to nested object for better serde support19fea8ffix: proxy handling with relay changes8265f27fix: check extension availability before execute fn📊 Changes
21 files changed (+511 additions, -235 deletions)
View changed files
📝
packages/hoppscotch-agent/src-tauri/Cargo.lock(+1 -1)📝
packages/hoppscotch-agent/src-tauri/tauri.conf.json(+1 -1)📝
packages/hoppscotch-agent/vite.config.ts(+1 -1)📝
packages/hoppscotch-common/src/components/settings/ExtensionSubtitle.vue(+11 -8)📝
packages/hoppscotch-common/src/helpers/kernel/common/content.ts(+1 -84)📝
packages/hoppscotch-common/src/helpers/network.ts(+0 -4)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/index.ts(+2 -3)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/agent/store.ts(+5 -5)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/index.ts(+194 -19)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/extension/store.ts(+36 -16)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/native/index.ts(+0 -5)📝
packages/hoppscotch-common/src/platform/std/kernel-interceptors/proxy/index.ts(+154 -54)📝
packages/hoppscotch-desktop/plugin-workspace/relay/src/content.rs(+1 -1)📝
packages/hoppscotch-desktop/plugin-workspace/relay/src/interop.rs(+4 -1)📝
packages/hoppscotch-desktop/plugin-workspace/tauri-plugin-relay/Cargo.lock(+1 -1)📝
packages/hoppscotch-desktop/src-tauri/Cargo.lock(+2 -2)📝
packages/hoppscotch-kernel/src/index.ts(+3 -1)📝
packages/hoppscotch-kernel/src/relay/impl/desktop/v/1.ts(+24 -20)📝
packages/hoppscotch-kernel/src/relay/impl/web/v/1.ts(+0 -2)📝
packages/hoppscotch-kernel/src/relay/v/1.ts(+66 -2)...and 1 more files
📄 Description
This PR fixes some of the inconsistencies in extension detection + polling and form and multipart handling around ser/de.
Web App and Desktop App side by side
Notes to reviewers
To test this, enable extension or agent or native (desktop app) interceptor, use POST method and try sending a request with JSON body or multipart form data to any echo server.
Copy pasting the following in the URL section should do the trick:
To test multipart requests, use this:
Remember to select and upload a small file before sending the request.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
verifyMagicLinkTokenstest suite #5006