mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3614] [MERGED] feat: addition of data field into User and Team Collections #4449
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#4449
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/3614
Author: @balub
Created: 12/1/2023
Status: ✅ Merged
Merged: 12/5/2023
Merged by: @balub
Base:
release/2023.12.0← Head:feat/collection-headers📝 Commits (10+)
85c42dafeat: added new columns into the TeamCollections and UserCollections modelsf13d004feat: completed addition of new data field in TeamCollectione712d1efeat: completed addition of new data field in UserCollections990d500chore: updated all tests in team-collection module289cd06chore: added tests for updateTeamCollection method in team-collection modulea67ecaachore: refactored all existing testcases in user-collection to reflect new changes1f2aaf5chore: added new testcases for updateUserCollection method in user-collection module337c794chore: made data field optional in team and user collectionsc1fdb04chore: fixed edgecases for data being null55c7015chore: resolved issue with team-request testcases📊 Changes
16 files changed (+1162 additions, -119 deletions)
View changed files
➕
packages/hoppscotch-backend/prisma/migrations/20231130082054_collection_headers/migration.sql(+5 -0)📝
packages/hoppscotch-backend/prisma/schema.prisma(+4 -1)📝
packages/hoppscotch-backend/src/errors.ts(+14 -0)📝
packages/hoppscotch-backend/src/pubsub/topicsDefs.ts(+1 -1)📝
packages/hoppscotch-backend/src/team-collection/input-type.args.ts(+39 -0)📝
packages/hoppscotch-backend/src/team-collection/team-collection.model.ts(+6 -1)📝
packages/hoppscotch-backend/src/team-collection/team-collection.resolver.ts(+29 -1)📝
packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts(+315 -36)📝
packages/hoppscotch-backend/src/team-collection/team-collection.service.ts(+99 -14)📝
packages/hoppscotch-backend/src/team-request/team-request.service.spec.ts(+1 -0)📝
packages/hoppscotch-backend/src/types/CollectionFolder.ts(+2 -0)📝
packages/hoppscotch-backend/src/user-collection/input-type.args.ts(+37 -0)📝
packages/hoppscotch-backend/src/user-collection/user-collection.resolver.ts(+32 -1)📝
packages/hoppscotch-backend/src/user-collection/user-collection.service.spec.ts(+465 -49)📝
packages/hoppscotch-backend/src/user-collection/user-collection.service.ts(+107 -15)📝
packages/hoppscotch-backend/src/user-collection/user-collections.model.ts(+6 -0)📄 Description
Closes HBE-329
Description
In this PR we introduce a new column in the
TeamCollectionandUserCollectiontable calleddata. Along with theTeamCollectionandUserCollectionGQL type has a new field calleddatawhich is given below.In addition to the aforementioned changes, mutations responsible for renaming
TeamCollectionandUserCollectiontitlesrenameCollectionandrenameUserCollectionhave been deprecated and it is preferred if the following mutations are used instead respectively:updateTeamCollectionupdateUserCollectionChecks
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.