[PR #4785] [CLOSED] feat: alphabetical sorting for collection folder requests #4931

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4785
Author: @Pranay-Pandey
Created: 2/25/2025
Status: Closed

Base: mainHead: feat/alphabeticalSort


📝 Commits (3)

  • 15f1b61 feat: add requests alphabetical sort to en.json
  • 60940cf feat: add alphabetic sorting functionality to a folder
  • 3cda28f feat: add alphabetic sorting to more options in collection folders

📊 Changes

5 files changed (+107 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+2 -1)
📝 packages/hoppscotch-common/src/components/collections/Collection.vue (+16 -0)
📝 packages/hoppscotch-common/src/components/collections/MyCollections.vue (+11 -0)
📝 packages/hoppscotch-common/src/components/collections/index.vue (+31 -0)
📝 packages/hoppscotch-common/src/newstore/collections.ts (+47 -0)

📄 Description

Closes #4353

Adds the functionality to sort the requests in a particular folder alphabetically. Each collection or folder has a Alphabetical Sort Option, which will sort all the request inside this folder alphabetically.

What's changed

  • Added new emit alphabetic-sort to Collections.
  • Added a function alphabeticSort to sort the requests

{E611FAF6-0123-4E32-A1F2-EA627E36242E}

Notes to reviewers


🔄 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/4785 **Author:** [@Pranay-Pandey](https://github.com/Pranay-Pandey) **Created:** 2/25/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/alphabeticalSort` --- ### 📝 Commits (3) - [`15f1b61`](https://github.com/hoppscotch/hoppscotch/commit/15f1b61d77b889b16db05894f84a00f56d984625) feat: add requests alphabetical sort to en.json - [`60940cf`](https://github.com/hoppscotch/hoppscotch/commit/60940cf18b67dff2dd6f46a5f98eb8e2ef3f56bb) feat: add alphabetic sorting functionality to a folder - [`3cda28f`](https://github.com/hoppscotch/hoppscotch/commit/3cda28f9f4a95475f33150577ef8c74ad4749378) feat: add alphabetic sorting to more options in collection folders ### 📊 Changes **5 files changed** (+107 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+2 -1) 📝 `packages/hoppscotch-common/src/components/collections/Collection.vue` (+16 -0) 📝 `packages/hoppscotch-common/src/components/collections/MyCollections.vue` (+11 -0) 📝 `packages/hoppscotch-common/src/components/collections/index.vue` (+31 -0) 📝 `packages/hoppscotch-common/src/newstore/collections.ts` (+47 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #4353<!-- Issue # here --> <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> Adds the functionality to sort the requests in a particular folder alphabetically. Each collection or folder has a Alphabetical Sort Option, which will sort all the request inside this folder alphabetically. ### What's changed <!-- Describe point by point the different things you have changed in this PR --> * Added new emit `alphabetic-sort` to Collections. * Added a function `alphabeticSort` to sort the requests ![{E611FAF6-0123-4E32-A1F2-EA627E36242E}](https://github.com/user-attachments/assets/d2af0850-6664-4bab-a582-28ec52a381f0) <!-- 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 --> ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:25:29 +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#4931
No description provided.