[PR #2960] [MERGED] chore: move analytics to platform #4155

Closed
opened 2026-03-17 01:42:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2960
Author: @amk-dev
Created: 4/3/2023
Status: Merged
Merged: 4/3/2023
Merged by: @AndrewBastin

Base: stagingHead: chore/move-analytics-into-platform


📝 Commits (4)

  • 74ac68e chore: move analytics to platform
  • 4223f86 chore: remove settings firebase file from common
  • 5ad4c56 chore: remove firebase from hoppscotch-common
  • 31e4d01 refactor: rename initializeFirebase to initializeApp

📊 Changes

19 files changed (+140 additions, -198 deletions)

View changed files

📝 packages/hoppscotch-common/package.json (+0 -1)
📝 packages/hoppscotch-common/src/components/graphql/Request.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/graphql/RequestOptions.vue (+2 -2)
packages/hoppscotch-common/src/helpers/app/index.ts (+21 -0)
packages/hoppscotch-common/src/helpers/fb/index.ts (+0 -36)
packages/hoppscotch-common/src/helpers/fb/settings.ts (+0 -99)
📝 packages/hoppscotch-common/src/helpers/realtime/MQTTConnection.ts (+2 -2)
📝 packages/hoppscotch-common/src/helpers/realtime/SIOConnection.ts (+2 -2)
📝 packages/hoppscotch-common/src/helpers/realtime/SSEConnection.ts (+2 -2)
📝 packages/hoppscotch-common/src/helpers/realtime/WSConnection.ts (+2 -2)
📝 packages/hoppscotch-common/src/index.ts (+2 -2)
📝 packages/hoppscotch-common/src/modules/router.ts (+2 -2)
📝 packages/hoppscotch-common/src/pages/enter.vue (+2 -2)
📝 packages/hoppscotch-common/src/pages/join-team.vue (+2 -2)
packages/hoppscotch-common/src/platform/analytics.ts (+12 -0)
📝 packages/hoppscotch-common/src/platform/index.ts (+2 -0)
📝 packages/hoppscotch-web/src/analytics.ts (+14 -10)
📝 packages/hoppscotch-web/src/main.ts (+2 -0)
📝 pnpm-lock.yaml (+69 -32)

📄 Description

This PR extracts out the analytics implementations to hoppscotch-web, and defines the common interface to be used with other hoppscotch platforms.


🔄 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/2960 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 4/3/2023 **Status:** ✅ Merged **Merged:** 4/3/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `staging` ← **Head:** `chore/move-analytics-into-platform` --- ### 📝 Commits (4) - [`74ac68e`](https://github.com/hoppscotch/hoppscotch/commit/74ac68ed05abd87dfa2e49b52cf1c9593dd0c75e) chore: move analytics to platform - [`4223f86`](https://github.com/hoppscotch/hoppscotch/commit/4223f867f521a7ca3b40a0d582eb1090f29f7c71) chore: remove settings firebase file from common - [`5ad4c56`](https://github.com/hoppscotch/hoppscotch/commit/5ad4c56ee1ef59837a51416f00b44363ae684027) chore: remove firebase from hoppscotch-common - [`31e4d01`](https://github.com/hoppscotch/hoppscotch/commit/31e4d01504568596e83919622abcbc2668348d2c) refactor: rename initializeFirebase to initializeApp ### 📊 Changes **19 files changed** (+140 additions, -198 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/package.json` (+0 -1) 📝 `packages/hoppscotch-common/src/components/graphql/Request.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/graphql/RequestOptions.vue` (+2 -2) ➕ `packages/hoppscotch-common/src/helpers/app/index.ts` (+21 -0) ➖ `packages/hoppscotch-common/src/helpers/fb/index.ts` (+0 -36) ➖ `packages/hoppscotch-common/src/helpers/fb/settings.ts` (+0 -99) 📝 `packages/hoppscotch-common/src/helpers/realtime/MQTTConnection.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/helpers/realtime/SIOConnection.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/helpers/realtime/SSEConnection.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/helpers/realtime/WSConnection.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/index.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/modules/router.ts` (+2 -2) 📝 `packages/hoppscotch-common/src/pages/enter.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/pages/join-team.vue` (+2 -2) ➕ `packages/hoppscotch-common/src/platform/analytics.ts` (+12 -0) 📝 `packages/hoppscotch-common/src/platform/index.ts` (+2 -0) 📝 `packages/hoppscotch-web/src/analytics.ts` (+14 -10) 📝 `packages/hoppscotch-web/src/main.ts` (+2 -0) 📝 `pnpm-lock.yaml` (+69 -32) </details> ### 📄 Description This PR extracts out the analytics implementations to hoppscotch-web, and defines the common interface to be used with other hoppscotch platforms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:42:54 +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#4155
No description provided.