mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #5936] fix(profile): add validation for display name input #5430
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#5430
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5936
Author: @sahilkhan09k
Created: 3/4/2026
Status: 🔄 Open
Base:
main← Head:fix-profile-name-validation📝 Commits (5)
95c0262fix(profile): add validation for display name inpute54b8d4fix(profile): add validation for display name input emojis not allowed (#5764)d5d1c7cProfile(fix) : changes the emoji checking in name1c915e6Profile(Fix) : Resolved the toast syntax errorec1a9dafix(i18n): add missing profile name validation messages📊 Changes
2 files changed (+16 additions, -2 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+4 -2)📝
packages/hoppscotch-common/src/components/profile/index.vue(+12 -0)📄 Description
Closes #5764
What's changed
Notes to reviewers
Summary by cubic
Added client-side validation for the profile display name to block invalid input, enforcing a 30‑char limit (maxlength + runtime check) and using Unicode emoji detection to prevent emojis. Added missing i18n error messages and fixed toast syntax so the correct localized errors show; addresses #5764.
Written for commit
ec1a9da116. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.