[PR #4607] [MERGED] feat: disable tracking request history #4869

Closed
opened 2026-03-17 02:21:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4607
Author: @amk-dev
Created: 12/11/2024
Status: Merged
Merged: 12/16/2024
Merged by: @jamesgeorge007

Base: patchHead: feat/user-history-disabling-FE


📝 Commits (10+)

  • b152fcd wip
  • c9e8efd wip
  • 5cb96aa feat: add clear history on app and sh admin
  • 5d44f7d fix: set isHistoryStoreEnabled for platforms without this flag
  • 20689e6 chore: improve spacing between elements
  • bfdba59 chore: clean up
  • c843ee6 fix: permit recording history entries in the unauthenticated state
  • 2121654 chore: prevent GQL request upstream sync calls if history is disabled
  • 479ea85 chore: update copytext
  • c666e84 fix: use client specific mutation

📊 Changes

24 files changed (+477 additions, -6 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+1 -0)
📝 packages/hoppscotch-common/src/components/history/index.vue (+27 -3)
📝 packages/hoppscotch-common/src/platform/history.ts (+7 -0)
📝 packages/hoppscotch-common/src/services/spotlight/searchers/__tests__/history.searcher.spec.ts (+9 -0)
📝 packages/hoppscotch-common/src/services/spotlight/searchers/history.searcher.ts (+18 -1)
packages/hoppscotch-selfhost-desktop/src/api/queries/IsUserHistoryEnabled.graphql (+6 -0)
packages/hoppscotch-selfhost-desktop/src/api/subscriptions/UserHistoryAllDeleted.graphql (+3 -0)
packages/hoppscotch-selfhost-desktop/src/api/subscriptions/UserHistoryStoreStatusChanged.graphql (+3 -0)
📝 packages/hoppscotch-selfhost-desktop/src/platform/history/history.api.ts (+27 -0)
📝 packages/hoppscotch-selfhost-desktop/src/platform/history/history.platform.ts (+76 -0)
packages/hoppscotch-selfhost-web/src/api/queries/IsUserHistoryEnabled.graphql (+6 -0)
packages/hoppscotch-selfhost-web/src/api/subscriptions/UserHistoryAllDeleted.graphql (+3 -0)
packages/hoppscotch-selfhost-web/src/api/subscriptions/UserHistoryStoreStatusChanged.graphql (+3 -0)
📝 packages/hoppscotch-selfhost-web/src/platform/history/history.api.ts (+27 -0)
📝 packages/hoppscotch-selfhost-web/src/platform/history/history.platform.ts (+79 -2)
📝 packages/hoppscotch-selfhost-web/src/platform/history/history.sync.ts (+10 -0)
📝 packages/hoppscotch-sh-admin/locales/en.json (+10 -0)
📝 packages/hoppscotch-sh-admin/src/components/settings/Configurations.vue (+1 -0)
packages/hoppscotch-sh-admin/src/components/settings/HistoryConfiguration.vue (+104 -0)
📝 packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue (+14 -0)

...and 4 more files

📄 Description

FIXS HFE-677,HFE-678

This PR introduces

  • the ability to toggle storing sent request history from admin panel
  • platform defs & UI changes to support this toggling on the app

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4607 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 12/11/2024 **Status:** ✅ Merged **Merged:** 12/16/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `feat/user-history-disabling-FE` --- ### 📝 Commits (10+) - [`b152fcd`](https://github.com/hoppscotch/hoppscotch/commit/b152fcd34d1942e9ce60dd958f6ec9cb56a44b98) wip - [`c9e8efd`](https://github.com/hoppscotch/hoppscotch/commit/c9e8efd6856aeb24280d9ff047aff95016e4cb8c) wip - [`5cb96aa`](https://github.com/hoppscotch/hoppscotch/commit/5cb96aac3a119433d0e86a3e28b5f01ee5d9f84c) feat: add clear history on app and sh admin - [`5d44f7d`](https://github.com/hoppscotch/hoppscotch/commit/5d44f7d11803b18d7c7488f9e473ded16b447443) fix: set isHistoryStoreEnabled for platforms without this flag - [`20689e6`](https://github.com/hoppscotch/hoppscotch/commit/20689e69c42e9c627b557a348626572f04ef8894) chore: improve spacing between elements - [`bfdba59`](https://github.com/hoppscotch/hoppscotch/commit/bfdba59e6c0b50250c42f0a5622bb2f19a9842be) chore: clean up - [`c843ee6`](https://github.com/hoppscotch/hoppscotch/commit/c843ee6035e748f7c9e16925195ea893cac12c5a) fix: permit recording history entries in the unauthenticated state - [`2121654`](https://github.com/hoppscotch/hoppscotch/commit/2121654a613338aa545d099f2568f3149eb88060) chore: prevent GQL request upstream sync calls if history is disabled - [`479ea85`](https://github.com/hoppscotch/hoppscotch/commit/479ea85d33bfc827eae4d3a713f14e04c973dded) chore: update copytext - [`c666e84`](https://github.com/hoppscotch/hoppscotch/commit/c666e84d03ea2f1382b2ff74d0e0c65682febc4f) fix: use client specific mutation ### 📊 Changes **24 files changed** (+477 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+1 -0) 📝 `packages/hoppscotch-common/src/components/history/index.vue` (+27 -3) 📝 `packages/hoppscotch-common/src/platform/history.ts` (+7 -0) 📝 `packages/hoppscotch-common/src/services/spotlight/searchers/__tests__/history.searcher.spec.ts` (+9 -0) 📝 `packages/hoppscotch-common/src/services/spotlight/searchers/history.searcher.ts` (+18 -1) ➕ `packages/hoppscotch-selfhost-desktop/src/api/queries/IsUserHistoryEnabled.graphql` (+6 -0) ➕ `packages/hoppscotch-selfhost-desktop/src/api/subscriptions/UserHistoryAllDeleted.graphql` (+3 -0) ➕ `packages/hoppscotch-selfhost-desktop/src/api/subscriptions/UserHistoryStoreStatusChanged.graphql` (+3 -0) 📝 `packages/hoppscotch-selfhost-desktop/src/platform/history/history.api.ts` (+27 -0) 📝 `packages/hoppscotch-selfhost-desktop/src/platform/history/history.platform.ts` (+76 -0) ➕ `packages/hoppscotch-selfhost-web/src/api/queries/IsUserHistoryEnabled.graphql` (+6 -0) ➕ `packages/hoppscotch-selfhost-web/src/api/subscriptions/UserHistoryAllDeleted.graphql` (+3 -0) ➕ `packages/hoppscotch-selfhost-web/src/api/subscriptions/UserHistoryStoreStatusChanged.graphql` (+3 -0) 📝 `packages/hoppscotch-selfhost-web/src/platform/history/history.api.ts` (+27 -0) 📝 `packages/hoppscotch-selfhost-web/src/platform/history/history.platform.ts` (+79 -2) 📝 `packages/hoppscotch-selfhost-web/src/platform/history/history.sync.ts` (+10 -0) 📝 `packages/hoppscotch-sh-admin/locales/en.json` (+10 -0) 📝 `packages/hoppscotch-sh-admin/src/components/settings/Configurations.vue` (+1 -0) ➕ `packages/hoppscotch-sh-admin/src/components/settings/HistoryConfiguration.vue` (+104 -0) 📝 `packages/hoppscotch-sh-admin/src/components/settings/ServerRestart.vue` (+14 -0) _...and 4 more files_ </details> ### 📄 Description FIXS HFE-677,HFE-678 This PR introduces - the ability to toggle storing sent request history from admin panel - platform defs & UI changes to support this toggling on the app --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:21:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4869
No description provided.