From d7cdeb796ae472874dabe7946c0996f20dd7b2ac Mon Sep 17 00:00:00 2001 From: James George Date: Fri, 2 Feb 2024 15:32:06 +0530 Subject: [PATCH] chore(common): analytics on spotlight (#3727) Co-authored-by: amk-dev --- .../src/components/app/Header.vue | 2 +- .../src/components/app/spotlight/index.vue | 46 +++++--- .../src/components/history/index.vue | 3 +- .../src/components/http/Request.vue | 25 +---- .../hoppscotch-common/src/helpers/actions.ts | 66 +++++++---- .../src/helpers/keybindings.ts | 6 +- .../hoppscotch-common/src/layouts/default.vue | 22 +++- .../src/platform/analytics.ts | 12 ++ .../spotlight/__tests__/index.spec.ts | 106 ++++++++++++++++-- .../src/services/spotlight/index.ts | 55 ++++++++- 10 files changed, 267 insertions(+), 76 deletions(-) diff --git a/packages/hoppscotch-common/src/components/app/Header.vue b/packages/hoppscotch-common/src/components/app/Header.vue index 58301f18d..280ae805e 100644 --- a/packages/hoppscotch-common/src/components/app/Header.vue +++ b/packages/hoppscotch-common/src/components/app/Header.vue @@ -23,7 +23,7 @@