mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[PR #6000] feat(history): save and preview response in REST history #5459
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#5459
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/6000
Author: @AbishekRaj2007
Created: 3/16/2026
Status: 🔄 Open
Base:
main← Head:feat/history-response-saving📝 Commits (1)
03eaad8feat(history): save and preview response in REST history📊 Changes
9 files changed (+254 additions, -4 deletions)
View changed files
📝
packages/hoppscotch-common/assets/scss/styles.scss(+6 -0)📝
packages/hoppscotch-common/locales/en.json(+9 -0)📝
packages/hoppscotch-common/src/components/app/PaneLayout.vue(+3 -3)📝
packages/hoppscotch-common/src/components/history/Personal.vue(+13 -0)📝
packages/hoppscotch-common/src/components/history/rest/Card.vue(+10 -0)➕
packages/hoppscotch-common/src/components/history/rest/ResponsePreview.vue(+125 -0)📝
packages/hoppscotch-common/src/newstore/history.ts(+27 -1)📝
packages/hoppscotch-common/src/newstore/settings.ts(+8 -0)📝
packages/hoppscotch-common/src/pages/settings.vue(+53 -0)📄 Description
What's changed
Adds opt-in saving of response body and headers alongside REST history entries, with an inline preview modal to revisit them without re-sending the request.
New features
Files changed
history/rest/ResponsePreview.vuehistory/rest/Card.vueshow-responsewhen saved data existshistory/Personal.vueshow-responsehandlernewstore/history.tsRESTHistoryEntrywithresponseBody/responseHeaders; populates them based on settingsnewstore/settings.tsSAVE_RESPONSE_IN_HISTORY,MAX_HISTORY_COUNT,MAX_HISTORY_ENTRY_SIZE_KBpages/settings.vuelocales/en.jsonNotes
RESTHistoryEntryare optionalSummary by cubic
Adds opt-in saving of REST responses to history with a modal preview so you can revisit status, headers, and body without re-sending. Off by default; no change for existing users.
Written for commit
03eaad8f31. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.