mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4594] [MERGED] HSB-505 feat: user history disabling #4863
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#4863
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/4594
Author: @mirarifhasan
Created: 12/5/2024
Status: ✅ Merged
Merged: 12/16/2024
Merged by: @jamesgeorge007
Base:
patch← Head:feat/user-history-disabling📝 Commits (8)
8799e4dfeat: user history toggle mutation and subscription added25ee396feat: user history all delete mutation and subscription addedabf43dffeat: query for app to get user history status5d6d3a3test: fix failing unit test6db556dtest: add unit tests for functions1495893chore: user history deletion failed condition check added894e2e1chore: user history feature flag guard added5ce5cbcchore: feedback resolve📊 Changes
18 files changed (+301 additions, -20 deletions)
View changed files
📝
packages/hoppscotch-backend/src/admin/admin.module.ts(+2 -0)📝
packages/hoppscotch-backend/src/admin/admin.resolver.ts(+12 -3)📝
packages/hoppscotch-backend/src/admin/admin.service.spec.ts(+14 -0)📝
packages/hoppscotch-backend/src/admin/admin.service.ts(+13 -0)📝
packages/hoppscotch-backend/src/admin/infra.resolver.ts(+24 -7)📝
packages/hoppscotch-backend/src/errors.ts(+13 -1)📝
packages/hoppscotch-backend/src/infra-config/helper.ts(+6 -0)📝
packages/hoppscotch-backend/src/infra-config/infra-config.module.ts(+2 -1)📝
packages/hoppscotch-backend/src/infra-config/infra-config.resolver.ts(+41 -2)📝
packages/hoppscotch-backend/src/infra-config/infra-config.service.spec.ts(+60 -0)📝
packages/hoppscotch-backend/src/infra-config/infra-config.service.ts(+32 -0)📝
packages/hoppscotch-backend/src/pubsub/topicsDefs.ts(+5 -4)📝
packages/hoppscotch-backend/src/types/InfraConfig.ts(+2 -0)➕
packages/hoppscotch-backend/src/user-history/user-history-feature-flag.guard.ts(+21 -0)📝
packages/hoppscotch-backend/src/user-history/user-history.module.ts(+2 -1)📝
packages/hoppscotch-backend/src/user-history/user-history.resolver.ts(+12 -1)📝
packages/hoppscotch-backend/src/user-history/user-history.service.spec.ts(+24 -0)📝
packages/hoppscotch-backend/src/user-history/user-history.service.ts(+16 -0)📄 Description
Closes HSB-505
What's changed
This backend PR adds the ability to turn off
User Historyfeature from the Admin Dashboard.Additionally, admin can delete all user's history with one click.
Queries/Mutations for Admin Dashboard
Queries/Subscriptions for App
Notes to reviewers
Nil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.