[PR #4706] [MERGED] feat(common): introducing history ui provider service to hoppscotch-common #4908

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4706
Author: @joeljstephen
Created: 1/28/2025
Status: Merged
Merged: 1/29/2025
Merged by: @jamesgeorge007

Base: nextHead: feat/history-service


📝 Commits (6)

  • 2c9f5ee feat: introducing history ui provider service to common repo
  • 3f9ae05 refactor: isolated personal lhistory logic to separate component
  • 97eb5de chore: minor improvements
  • 3e3459a feat; new test file for history ui provider
  • ce27fcd fix: prevent history from appearing empty on shared workspaces
  • 65e4b80 feat: new i18n strings for activity logs

📊 Changes

8 files changed (+474 additions, -370 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+30 -0)
packages/hoppscotch-common/src/components/history/Personal.vue (+349 -0)
📝 packages/hoppscotch-common/src/components/history/index.vue (+29 -360)
📝 packages/hoppscotch-common/src/components/http/Sidebar.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/workspace/Current.vue (+12 -9)
📝 packages/hoppscotch-common/src/platform/ui.ts (+10 -0)
packages/hoppscotch-common/src/services/__tests__/history-ui-provider.service.spec.ts (+25 -0)
packages/hoppscotch-common/src/services/history-ui-provider.service.ts (+18 -0)

📄 Description

Description

This PR introduces a new history-ui-provider service which can be used to inject custom history related components such as Activity Logs into the hoppscotch-common repo.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 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/4706 **Author:** [@joeljstephen](https://github.com/joeljstephen) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/29/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/history-service` --- ### 📝 Commits (6) - [`2c9f5ee`](https://github.com/hoppscotch/hoppscotch/commit/2c9f5ee2ce34f8e1c792ca5eafc1b6ed467a9580) feat: introducing history ui provider service to common repo - [`3f9ae05`](https://github.com/hoppscotch/hoppscotch/commit/3f9ae05d2bb77c19a6cd861f37a4c4341ae838df) refactor: isolated personal lhistory logic to separate component - [`97eb5de`](https://github.com/hoppscotch/hoppscotch/commit/97eb5de4dcda990fb38c4ee9d332e982a0796535) chore: minor improvements - [`3e3459a`](https://github.com/hoppscotch/hoppscotch/commit/3e3459ab7765cebc4615e70ea404c7a8a408bcac) feat; new test file for history ui provider - [`ce27fcd`](https://github.com/hoppscotch/hoppscotch/commit/ce27fcd12ed1ec859ab048998eef2aa39420daca) fix: prevent history from appearing empty on shared workspaces - [`65e4b80`](https://github.com/hoppscotch/hoppscotch/commit/65e4b801327d58b5f08ad00a38cc84e6534ab6e0) feat: new i18n strings for activity logs ### 📊 Changes **8 files changed** (+474 additions, -370 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+30 -0) ➕ `packages/hoppscotch-common/src/components/history/Personal.vue` (+349 -0) 📝 `packages/hoppscotch-common/src/components/history/index.vue` (+29 -360) 📝 `packages/hoppscotch-common/src/components/http/Sidebar.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/workspace/Current.vue` (+12 -9) 📝 `packages/hoppscotch-common/src/platform/ui.ts` (+10 -0) ➕ `packages/hoppscotch-common/src/services/__tests__/history-ui-provider.service.spec.ts` (+25 -0) ➕ `packages/hoppscotch-common/src/services/history-ui-provider.service.ts` (+18 -0) </details> ### 📄 Description ### Description This PR introduces a new `history-ui-provider` service which can be used to inject custom history related components such as Activity Logs into the `hoppscotch-common` repo. ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:24:08 +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#4908
No description provided.