mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2313] [MERGED] refactor: isolate computed header calculation on effective requests #3726
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#3726
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/2313
Author: @AndrewBastin
Created: 5/2/2022
Status: ✅ Merged
Merged: 5/11/2022
Merged by: @AndrewBastin
Base:
main← Head:refactor/effective-headers📝 Commits (10+)
339abbdrefactor: isolate computed header calculation on effective requests9594e93fix: overriden auth headers are excluded from computed header calcffc1393fix: deprecated pnpx usage migrated to pnpm execfb6cd2cchore: improve env inputs1d23e68feat: import collections from URL (#2262)4baf7cdfix: rest session not updating when the request is renamed from the sidebar (fixes #2297)169eba5fix : save request popup bug (#2324)895f0aefix: improve indentation on GQL editors2f35f96refactor: realtime log entry revamp (#2240)f7bfa95chore(i18n): updated Hungarian translation (#2331)📊 Changes
4 files changed (+263 additions, -70 deletions)
View changed files
📝
packages/hoppscotch-app/components/http/Headers.vue(+88 -3)📝
packages/hoppscotch-app/components/http/RequestOptions.vue(+1 -1)📝
packages/hoppscotch-app/components/smart/EnvInput.vue(+20 -0)📝
packages/hoppscotch-app/helpers/utils/EffectiveURL.ts(+154 -66)📄 Description
Description
This PR introduces some refactors and UX improvements to show the headers and parameters that are added indirectly to the request. For example, when you set to Bearer Token Authorization, the Authorization header is added during the execution of the request, the goal of this PR is to refactor those calculations to be independently exposed and to have a UX for showing the user this.
Progress
Checks
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.