[PR #5412] [MERGED] chore: accept single character length name and trim white spaces #5193

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5412
Author: @nivedin
Created: 9/29/2025
Status: Merged
Merged: 9/29/2025
Merged by: @jamesgeorge007

Base: nextHead: chore/collection-name-trim-whitespace


📝 Commits (3)

  • 0053495 chore: accept single character length name and trim white spaces for coll and env
  • c3a83c6 feat: lower minimum title length to 1 for teams and collections
  • 418cf2e test: update tests for short title/name validation

📊 Changes

12 files changed (+32 additions, -29 deletions)

View changed files

📝 packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts (+5 -5)
📝 packages/hoppscotch-backend/src/team-collection/team-collection.service.ts (+1 -1)
📝 packages/hoppscotch-backend/src/team-environments/team-environments.service.spec.ts (+2 -2)
📝 packages/hoppscotch-backend/src/team-environments/team-environments.service.ts (+1 -1)
📝 packages/hoppscotch-backend/src/team/team.service.ts (+7 -10)
📝 packages/hoppscotch-backend/src/utils.ts (+1 -1)
📝 packages/hoppscotch-common/locales/en.json (+1 -1)
📝 packages/hoppscotch-common/src/components/collections/Add.vue (+3 -3)
📝 packages/hoppscotch-common/src/components/collections/AddFolder.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/collections/AddRequest.vue (+2 -2)
📝 packages/hoppscotch-common/src/components/environments/my/Details.vue (+1 -1)
📝 packages/hoppscotch-common/src/components/environments/teams/Details.vue (+6 -0)

📄 Description

This PR lowers the minimum length requirement for creating a collection or environment from 3 characters to 1 character.


🔄 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/5412 **Author:** [@nivedin](https://github.com/nivedin) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 9/29/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `chore/collection-name-trim-whitespace` --- ### 📝 Commits (3) - [`0053495`](https://github.com/hoppscotch/hoppscotch/commit/0053495933e34c680e970ed67452e63d7a1853c9) chore: accept single character length name and trim white spaces for coll and env - [`c3a83c6`](https://github.com/hoppscotch/hoppscotch/commit/c3a83c6c0ba0660f56bdceebbf14b308a16fd9b6) feat: lower minimum title length to 1 for teams and collections - [`418cf2e`](https://github.com/hoppscotch/hoppscotch/commit/418cf2e694bc4587cab5d0427ebf6addaed8c5c9) test: update tests for short title/name validation ### 📊 Changes **12 files changed** (+32 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/team-collection/team-collection.service.spec.ts` (+5 -5) 📝 `packages/hoppscotch-backend/src/team-collection/team-collection.service.ts` (+1 -1) 📝 `packages/hoppscotch-backend/src/team-environments/team-environments.service.spec.ts` (+2 -2) 📝 `packages/hoppscotch-backend/src/team-environments/team-environments.service.ts` (+1 -1) 📝 `packages/hoppscotch-backend/src/team/team.service.ts` (+7 -10) 📝 `packages/hoppscotch-backend/src/utils.ts` (+1 -1) 📝 `packages/hoppscotch-common/locales/en.json` (+1 -1) 📝 `packages/hoppscotch-common/src/components/collections/Add.vue` (+3 -3) 📝 `packages/hoppscotch-common/src/components/collections/AddFolder.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/collections/AddRequest.vue` (+2 -2) 📝 `packages/hoppscotch-common/src/components/environments/my/Details.vue` (+1 -1) 📝 `packages/hoppscotch-common/src/components/environments/teams/Details.vue` (+6 -0) </details> ### 📄 Description This PR lowers the minimum length requirement for creating a collection or environment from 3 characters to 1 character. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:39: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#5193
No description provided.