mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[PR #2971] [MERGED] fix: reset save context issue on delete collection or folder of team #4166
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#4166
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/2971
Author: @anwarulislam
Created: 4/6/2023
Status: ✅ Merged
Merged: 4/6/2023
Merged by: @AndrewBastin
Base:
staging← Head:fix/request-context-on-delete📝 Commits (1)
0b6ec8ffix: reset save context issue on delete collection or folder of team📊 Changes
3 files changed (+3473 additions, -3183 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/collections/index.vue(+9 -4)📝
packages/hoppscotch-common/src/helpers/collection/collection.ts(+30 -0)📝
pnpm-lock.yaml(+3434 -3179)📄 Description
🤖 Generated by Copilot at fc6c081
Summary
🗑️🔄🚀
Fixed a bug where deleting requests or folders from team collections would not update the save status of open tabs. Added a
resetTeamRequestsContextfunction and used it inindex.vueandcollection.ts.Walkthrough
resetTeamRequestsContextfunction to clear save context of deleted team requests (link, link)removeTeamCollectionOrFolderfunction async and usepipeandTE.matchto handle deletion result (link)resetTeamRequestsContextfunction after deleting a team collection or folder inindex.vue(link, link)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.