mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #1894] [CLOSED] Save example for request #3552
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#3552
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/1894
Author: @sguzmanm
Created: 10/24/2021
Status: ❌ Closed
Base:
main← Head:ISS-1875-save-example-request📝 Commits (6)
b7353b6feat: add support por session types and do initial scaffold for request view with example type11d64c1feat: create UI for showing example responses in JSON for RESTfc33282feat: listen to session type changes and include used requests in example95fa87bfeat: listen to session type changes and include used requests in examplee051fd8Merge branch 'ISS-1875-save-example-request' of https://github.com/sguzmanm/hoppscotch into ISS-1875-save-example-requestd928432Merge branch 'main' into ISS-1875-save-example-request📊 Changes
13 files changed (+440 additions, -13 deletions)
View changed files
➕
packages/hoppscotch-app/components/collections/my/Example.vue(+195 -0)📝
packages/hoppscotch-app/components/collections/my/Request.vue(+38 -0)📝
packages/hoppscotch-app/components/history/index.vue(+5 -0)📝
packages/hoppscotch-app/components/http/Request.vue(+14 -7)📝
packages/hoppscotch-app/components/lenses/renderers/JSONLensRenderer.vue(+18 -0)📝
packages/hoppscotch-app/components/smart/EnvInput.vue(+5 -1)➕
packages/hoppscotch-app/helpers/types/HoppRESTExample.ts(+84 -0)📝
packages/hoppscotch-app/helpers/types/HoppRESTRequest.ts(+4 -1)📝
packages/hoppscotch-app/helpers/types/HoppRESTResponse.ts(+4 -4)➕
packages/hoppscotch-app/helpers/types/HoppSessionType.ts(+5 -0)📝
packages/hoppscotch-app/locales/en.json(+2 -0)📝
packages/hoppscotch-app/locales/es.json(+2 -0)📝
packages/hoppscotch-app/newstore/RESTSession.ts(+64 -0)📄 Description
Hi, this is a draft for saving examples for a request. Honestly I have too many doubts regarding the change and how big it will be so I'm leaving here a demo of the current functionality to check if the change is going the right way and how I can improve it for merging:
https://user-images.githubusercontent.com/25377562/138613704-314cb555-8ce9-4278-98b3-b8774194e132.mov
So things I want to add to this change for a V1 version:
Doubts I have:
Contributes to #1875
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.