mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2947] [MERGED] refactor: store changes for collections #4146
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#4146
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/2947
Author: @amk-dev
Created: 3/13/2023
Status: ✅ Merged
Merged: 3/14/2023
Merged by: @AndrewBastin
Base:
staging← Head:chore/store-changes-for-collections📝 Commits (1)
28c5678chore: make edit collection take partial collection as parameter📊 Changes
1 file changed (+9 additions, -6 deletions)
View changed files
📝
packages/hoppscotch-common/src/newstore/collections.ts(+9 -6)📄 Description
Before
You needed the entire collection to call
editCollection. This was a limitation when handlingUserCollectionEditedsubscription, because we don't have access to the entire collection. Also the only thing we updated was the collection name.navigateToFolderWithIndexPathwas not exported, but were required in the sync layerAfter
editCollectionstore dispatcher takes a partial collection as an argument, instead of an entire collectionnavigateToFolderWithIndexPathis exported🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.