From c3531c9d8b0148037ea7564fa9694f740a682bce Mon Sep 17 00:00:00 2001 From: Nivedin <53208152+nivedin@users.noreply.github.com> Date: Tue, 11 Jul 2023 20:03:42 +0530 Subject: [PATCH] feat: auto-complete recent history entries in URL bar (#3141) Co-authored-by: Liyas Thomas --- packages/hoppscotch-common/locales/en.json | 1 + .../src/components/app/Shortcuts.vue | 6 +- .../src/components/http/Request.vue | 16 +- .../src/components/smart/EnvInput.vue | 237 +++++++++++++++++- 4 files changed, 244 insertions(+), 16 deletions(-) diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 092225236..fd80af3b7 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -173,6 +173,7 @@ "folder": "Folder is empty", "headers": "This request does not have any headers", "history": "History is empty", + "history_suggestions": "History does not have any matching entries", "invites": "Invite list is empty", "members": "Team is empty", "parameters": "This request does not have any parameters", diff --git a/packages/hoppscotch-common/src/components/app/Shortcuts.vue b/packages/hoppscotch-common/src/components/app/Shortcuts.vue index 5fc9dc342..155765e46 100644 --- a/packages/hoppscotch-common/src/components/app/Shortcuts.vue +++ b/packages/hoppscotch-common/src/components/app/Shortcuts.vue @@ -44,11 +44,7 @@ :text="`${t('state.nothing_found')} ‟${filterText}”`" > - - {{ t("state.nothing_found") }} - "{{ filterText }}" - - +
@@ -228,7 +229,7 @@ + +