mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5606] [CLOSED] fix: improve save request handling and optimize history mapping #5280
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#5280
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/5606
Author: @vyquocvu
Created: 11/23/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
00a7be7fix: improve save request handling and optimize history mapping📊 Changes
2 files changed (+10 additions, -2 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/collections/SaveRequest.vue(+9 -1)📝
packages/hoppscotch-common/src/components/http/Request.vue(+1 -1)📄 Description
This pull request focuses on improving the user experience and code clarity in the request saving workflow, as well as optimizing how recent endpoints are displayed. The main changes include refactoring the save request logic to prevent UI freezing and adjusting the order of operations when displaying recent request endpoints.
Request Saving Workflow Improvements:
SaveRequest.vueby introducing a newhandleSaveRequestAsfunction and updatingsaveRequestAsto usesetTimeout, which helps avoid UI jank and freezing when saving requests. [1] [2]Recent Endpoints Display Optimization:
Request.vueto first slice the history and then map to endpoints, ensuring the correct order and limiting to the 10 most recent requests.Summary by cubic
Improved save request handling to avoid UI freezing. Optimized recent endpoints mapping so the list shows the latest 10 in the right order.
Written for commit
00a7be78e7. Summary will update automatically on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.