mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2575] [MERGED] feat: added support for path variables #3913
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#3913
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/2575
Author: @MasonJason23
Created: 8/10/2022
Status: ✅ Merged
Merged: 10/29/2022
Merged by: @AndrewBastin
Base:
reference/path-variables← Head:codeday/main📝 Commits (10+)
fd5db6cDuplicated and disconnected parameter UI for reuse21021a3Removed reference to 'bulk params'9b60dc5Modified HoppRESTRequest data structure1a629a1localy stored variable data7006fa5Small naming changes5413bc5Added missing dispatcher and function722864dupdate tw.json (#2511)c0e3a2bfix: disabled search in team collection (#2523)d335ac1fix: search panel position in response (#2510)09e6fb2Merge branch 'hoppscotch:main' into codeday/jason📊 Changes
51 files changed (+1813 additions, -527 deletions)
View changed files
📝
README.md(+1 -1)📝
packages/hoppscotch-app/components/app/PaneLayout.vue(+68 -6)📝
packages/hoppscotch-app/components/collections/index.vue(+1 -0)📝
packages/hoppscotch-app/components/collections/my/Request.vue(+8 -1)📝
packages/hoppscotch-app/components/collections/teams/Request.vue(+2 -2)📝
packages/hoppscotch-app/components/http/Parameters.vue(+7 -357)➕
packages/hoppscotch-app/components/http/PathVariables.vue(+271 -0)➕
packages/hoppscotch-app/components/http/QueryParams.vue(+363 -0)📝
packages/hoppscotch-app/components/http/Request.vue(+2 -1)📝
packages/hoppscotch-app/components/http/RequestOptions.vue(+12 -1)📝
packages/hoppscotch-app/components/smart/EnvInput.vue(+17 -0)📝
packages/hoppscotch-app/helpers/curl/__tests__/curlparser.spec.js(+31 -0)📝
packages/hoppscotch-app/helpers/curl/curlparser.ts(+2 -1)📝
packages/hoppscotch-app/helpers/editor/extensions/HoppEnvironment.ts(+4 -3)➕
packages/hoppscotch-app/helpers/editor/extensions/HoppVariable.ts(+149 -0)📝
packages/hoppscotch-app/helpers/editor/themes/baseTheme.ts(+5 -1)📝
packages/hoppscotch-app/helpers/functional/record.ts(+36 -1)📝
packages/hoppscotch-app/helpers/keybindings.ts(+1 -0)📝
packages/hoppscotch-app/helpers/shortcuts.js(+3 -3)📝
packages/hoppscotch-app/helpers/utils/EffectiveURL.ts(+47 -20)...and 31 more files
📄 Description
Closes #2086
Description
Created a secondary UI component under Query Parameters as "My Variables" which has the same functionality as Environment Variables. Allows users to make variables to use within the request input bar using curly brackets
{{}}.TODO
Checks
Additional Information
HoppRESTVar) and modified the data structure of the existing data structure (HoppRESTRequest)."My Variable" Feature in Action
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.