mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #5543] [bug]: Workspace name length is not checked in Creation/Edit in app #2137
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @viniciusvianadp on GitHub (Oct 31, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5543
Originally assigned to: @AlexDaGreat555 on GitHub.
Is there an existing issue for this?
Platform
Web App
Browser
Chrome
Operating System
Linux
Bug Description
What happened?
This is more of an inconsistency, but when a workspace is created (or edited) in the admin dashboard, there is a minimum length. But this is not a constraint in the app, so it is possible to create workspaces for example, named as a single character.
For example, when trying to create a workspace named "short" in the admin dashboard:
While creating in the app with the same name (same works for editing the name of a workspace) results in a successful creation:
Also, it is possible to create (and update) names in the admin dashboard using multiple ending spaces (no trim).
No ending spaces:
With ending spaces:
This inconsistency is related to the following files:
(1) Workspace creation in the app (no constraint for name length, no trimming):
packages/hoppscotch-common/src/components/teams/Add.vue(2) Workspace name update in the app (no constraint for length, no trimming):
packages/hoppscotch-common/src/components/teams/Edit.vue(3) Teams page in admin dashboard (includes the state.team_name_too_short constraint, but no trimming):
packages/hoppscotch-sh-admin/src/pages/teams/index.vue(4) Details of a team in admin dashboard, that allows updating the name of the workspace (includes the state.team_name_too_short constraint, but no trimming):
packages/hoppscotch-sh-admin/src/components/teams/Details.vueDeployment Type
Hoppscotch Cloud
Version
No response
@AlexDaGreat555 commented on GitHub (Nov 16, 2025):
Hello, can @nihansofia0127 and I work on this issue please?
@nivedin commented on GitHub (Nov 16, 2025):
@AlexDaGreat555 assigned