[PR #4872] [MERGED] feat: add search in environment selector and sidebar #4972

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4872
Author: @nivedin
Created: 3/11/2025
Status: Merged
Merged: 3/24/2025
Merged by: @jamesgeorge007

Base: nextHead: feat/environment-search


📝 Commits (9)

  • 41fd347 feat: add search in environment selector
  • e716ecf chore: update empty placeholder
  • 63fb572 feat: add environment search in sidebar
  • 9133205 chore: minor code refactor
  • 5ae8c5c chore: trim search query before comparison
  • 27c504c chore: disable searching in loading or empty state in sidebar
  • 559c056 chore: disable search on empty state
  • d69783e chore: code refactor and empty state placeholder improvements
  • b6008da refactor: eliminate redundancy

📊 Changes

5 files changed (+288 additions, -71 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+1 -1)
📝 packages/hoppscotch-common/src/components/environments/Selector.vue (+104 -24)
📝 packages/hoppscotch-common/src/components/environments/my/index.vue (+53 -11)
📝 packages/hoppscotch-common/src/components/environments/teams/index.vue (+65 -29)
📝 packages/hoppscotch-common/src/components/smart/EnvInput.vue (+65 -6)

📄 Description

Closes HP-355 #4758

This PR add's the feature to search environments in the selector and sidebar

What's changed

Add's the feature to search environments from environment selector and environments section in sidebar

image

image


🔄 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/4872 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 3/11/2025 **Status:** ✅ Merged **Merged:** 3/24/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/environment-search` --- ### 📝 Commits (9) - [`41fd347`](https://github.com/hoppscotch/hoppscotch/commit/41fd34704bd657b31a5a4a44b101c05437fff7a4) feat: add search in environment selector - [`e716ecf`](https://github.com/hoppscotch/hoppscotch/commit/e716ecf7df8eb28ddfb41fe64a58f18bd278c3db) chore: update empty placeholder - [`63fb572`](https://github.com/hoppscotch/hoppscotch/commit/63fb5722e082c22a048b5c2f11bbab9c62863e48) feat: add environment search in sidebar - [`9133205`](https://github.com/hoppscotch/hoppscotch/commit/9133205686fe9a014dba441011be73df835bdf85) chore: minor code refactor - [`5ae8c5c`](https://github.com/hoppscotch/hoppscotch/commit/5ae8c5c90c8d058ee0bf957c708ff3e1d8dd48cb) chore: trim search query before comparison - [`27c504c`](https://github.com/hoppscotch/hoppscotch/commit/27c504cb217a427b2c9c9ed91c4f4a1d2241a143) chore: disable searching in loading or empty state in sidebar - [`559c056`](https://github.com/hoppscotch/hoppscotch/commit/559c0562cfb6000d5a8869d0f870c0ed9ecd3dc0) chore: disable search on empty state - [`d69783e`](https://github.com/hoppscotch/hoppscotch/commit/d69783e69e40598aa8beb3d6bbb464e426f1a98d) chore: code refactor and empty state placeholder improvements - [`b6008da`](https://github.com/hoppscotch/hoppscotch/commit/b6008da65fa81e790ad528846ca43c046749d5ef) refactor: eliminate redundancy ### 📊 Changes **5 files changed** (+288 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+1 -1) 📝 `packages/hoppscotch-common/src/components/environments/Selector.vue` (+104 -24) 📝 `packages/hoppscotch-common/src/components/environments/my/index.vue` (+53 -11) 📝 `packages/hoppscotch-common/src/components/environments/teams/index.vue` (+65 -29) 📝 `packages/hoppscotch-common/src/components/smart/EnvInput.vue` (+65 -6) </details> ### 📄 Description Closes HP-355 #4758 This PR add's the feature to search environments in the selector and sidebar ### What's changed Add's the feature to search environments from environment selector and environments section in sidebar ![image](https://github.com/user-attachments/assets/909a29a2-5c44-4749-928c-d7d8aed17f16) ![image](https://github.com/user-attachments/assets/f5cf6e2e-7fad-45d5-8b88-52c6ba1686db) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:27: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#4972
No description provided.