[PR #3244] [MERGED] spotlight: settings based actions added #4300

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3244
Author: @anwarulislam
Created: 8/7/2023
Status: Merged
Merged: 8/17/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: feat/settings-searcher


📝 Commits (10+)

  • 48a73a4 feat: added settings searcher
  • 2b14d85 feat: increaes and decrease font size
  • 485042c feat: change theme searcher added
  • e5a39ff feat: navigation for settings page added
  • baf216d feat: install extension
  • 70e03f6 chore: fix typo
  • bae1ecc chore: update font size actions
  • 49a4193 chore: better suggestions for spotlight
  • aa7d747 chore: rebase to release branch
  • a1e6a2c chore: i18n update

📊 Changes

5 files changed (+842 additions, -55 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+28 -6)
📝 packages/hoppscotch-common/src/components.d.ts (+2 -0)
📝 packages/hoppscotch-common/src/components/app/spotlight/index.vue (+2 -0)
packages/hoppscotch-common/src/services/spotlight/searchers/settings.searcher.ts (+215 -0)
📝 pnpm-lock.yaml (+595 -49)

📄 Description

Closes HFE-127

Description

🤖 Generated by Copilot at 47ab490

Summary

🎨🔍🌐

This pull request adds a new feature to the app: the ability to search and perform settings-related actions from the spotlight. It updates the English locale file, the spotlight/index.vue component, and some dependencies to support this feature. It also adds a new service class SettingsSpotlightSearcherService that provides the settings search logic and results.

We're updating the icons and the locale, me hearties
We're adding a spotlight for the settings, yo ho
We're heaving the code with the pnpm lock, me hearties
We're sailing the app with the latest features, yo ho

Walkthrough

  • Remove unused keys and capitalize theme options in English locale file (link, link)
  • Add new keys for spotlight actions in English locale file (link)
  • Update version of @iconify-json/lucide dependency in package.json and pnpm-lock.yaml files (link, link, link)
  • Import and use SettingsSpotlightSearcherService in spotlight component (link, link)
  • Define SettingsSpotlightSearcherService class in settings.searcher.ts file (link)
  • Update versions of @intlify dependencies in pnpm-lock.yaml file (link, link, link, link, link, link, link)

🔄 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/3244 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 8/7/2023 **Status:** ✅ Merged **Merged:** 8/17/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `feat/settings-searcher` --- ### 📝 Commits (10+) - [`48a73a4`](https://github.com/hoppscotch/hoppscotch/commit/48a73a468519bc883352ca532deebd0140b5236b) feat: added settings searcher - [`2b14d85`](https://github.com/hoppscotch/hoppscotch/commit/2b14d858b1c5ca22b6abf44309eeef6c1aa294fa) feat: increaes and decrease font size - [`485042c`](https://github.com/hoppscotch/hoppscotch/commit/485042c6ad24ce7eaf7c1651e5e87799af21e0ee) feat: change theme searcher added - [`e5a39ff`](https://github.com/hoppscotch/hoppscotch/commit/e5a39ff5185c792c7bf9ab41e6397c9b077b1ee2) feat: navigation for settings page added - [`baf216d`](https://github.com/hoppscotch/hoppscotch/commit/baf216d37c416426ef9462c448d9922b89ea721e) feat: install extension - [`70e03f6`](https://github.com/hoppscotch/hoppscotch/commit/70e03f6af500799b736734b5083e3d00a292de99) chore: fix typo - [`bae1ecc`](https://github.com/hoppscotch/hoppscotch/commit/bae1ecc783d48920eb7d8cef43cd28f2ac8c024f) chore: update font size actions - [`49a4193`](https://github.com/hoppscotch/hoppscotch/commit/49a419377f95659d14083baedd639c06f6e3650d) chore: better suggestions for spotlight - [`aa7d747`](https://github.com/hoppscotch/hoppscotch/commit/aa7d7472fab4ae2364a8508373adc18df286b04b) chore: rebase to release branch - [`a1e6a2c`](https://github.com/hoppscotch/hoppscotch/commit/a1e6a2c996d54b65ed81db6464c29998fdb85a0b) chore: i18n update ### 📊 Changes **5 files changed** (+842 additions, -55 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+28 -6) 📝 `packages/hoppscotch-common/src/components.d.ts` (+2 -0) 📝 `packages/hoppscotch-common/src/components/app/spotlight/index.vue` (+2 -0) ➕ `packages/hoppscotch-common/src/services/spotlight/searchers/settings.searcher.ts` (+215 -0) 📝 `pnpm-lock.yaml` (+595 -49) </details> ### 📄 Description Closes HFE-127 ### Description <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at 47ab490</samp> ### Summary 🎨🔍🌐 <!-- 1. 🎨 - This emoji represents the update of the `@iconify-json/lucide` dependency, which provides the icons for the app. The emoji suggests a visual or artistic improvement. 2. 🔍 - This emoji represents the addition of the `settings.searcher.ts` file, which defines the service for the settings-related spotlight search feature. The emoji suggests a search or discovery functionality. 3. 🌐 - This emoji represents the update of the English locale file and the `vue-i18n` dependency, which are related to the internationalization of the app. The emoji suggests a global or multilingual aspect. --> This pull request adds a new feature to the app: the ability to search and perform settings-related actions from the spotlight. It updates the English locale file, the `spotlight/index.vue` component, and some dependencies to support this feature. It also adds a new service class `SettingsSpotlightSearcherService` that provides the settings search logic and results. > _We're updating the icons and the locale, me hearties_ > _We're adding a spotlight for the settings, yo ho_ > _We're heaving the code with the `pnpm` lock, me hearties_ > _We're sailing the app with the latest features, yo ho_ ### Walkthrough * Remove unused keys and capitalize theme options in English locale file ([link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-31b7742ac6fc2a6ebf4cc2f4dce1ef9a78727cea803993fc23813728efe1920eL476-L477), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-31b7742ac6fc2a6ebf4cc2f4dce1ef9a78727cea803993fc23813728efe1920eL578-R579)) * Add new keys for spotlight actions in English locale file ([link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-31b7742ac6fc2a6ebf4cc2f4dce1ef9a78727cea803993fc23813728efe1920eL602-R606)) * Update version of `@iconify-json/lucide` dependency in `package.json` and `pnpm-lock.yaml` files ([link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-016b2ebcb9625259315d04fe283390666282f5ef4629d373957f2e2cb2073f8eL113-R113), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL641-R642), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbR5818-R5823)) * Import and use `SettingsSpotlightSearcherService` in `spotlight` component ([link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-c55b5edadff8369ee5dfb127a95bfe09eb3757ff520bdecf2be9e24bf405482fR98), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-c55b5edadff8369ee5dfb127a95bfe09eb3757ff520bdecf2be9e24bf405482fR114)) * Define `SettingsSpotlightSearcherService` class in `settings.searcher.ts` file ([link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-853eb0e692290a402b949db2329d5111829f538aab19c82be2d707b71a42a034R1-R206)) * Update versions of `@intlify` dependencies in `pnpm-lock.yaml` file ([link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL5862-R5869), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL5924-R5934), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL5941-R5948), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL5962-R5968), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL5989-R5995), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL6017-R6023), [link](https://github.com/hoppscotch/hoppscotch/pull/3244/files?diff=unified&w=0#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bbL6044-R6050)) <!-- Add a brief description of the pull request --> <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:50:50 +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#4300
No description provided.