mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4995] [MERGED] fix(common): refine profile field validations #5012
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#5012
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/4995
Author: @NayanUnni95
Created: 4/14/2025
Status: ✅ Merged
Merged: 4/15/2025
Merged by: @jamesgeorge007
Base:
patch← Head:bug📝 Commits (1)
ef049acfix(common): update profile details logic and add messages for all languages📊 Changes
32 files changed (+79 additions, -5 deletions)
View changed files
📝
packages/hoppscotch-common/locales/af.json(+2 -0)📝
packages/hoppscotch-common/locales/ar.json(+2 -0)📝
packages/hoppscotch-common/locales/ca.json(+2 -0)📝
packages/hoppscotch-common/locales/cn.json(+2 -0)📝
packages/hoppscotch-common/locales/cs.json(+2 -0)📝
packages/hoppscotch-common/locales/da.json(+2 -0)📝
packages/hoppscotch-common/locales/de.json(+2 -0)📝
packages/hoppscotch-common/locales/el.json(+2 -0)📝
packages/hoppscotch-common/locales/en.json(+2 -0)📝
packages/hoppscotch-common/locales/es.json(+2 -0)📝
packages/hoppscotch-common/locales/fi.json(+2 -0)📝
packages/hoppscotch-common/locales/fr.json(+2 -0)📝
packages/hoppscotch-common/locales/he.json(+2 -0)📝
packages/hoppscotch-common/locales/hu.json(+2 -0)📝
packages/hoppscotch-common/locales/id.json(+2 -0)📝
packages/hoppscotch-common/locales/it.json(+2 -0)📝
packages/hoppscotch-common/locales/ja.json(+2 -0)📝
packages/hoppscotch-common/locales/ko.json(+2 -0)📝
packages/hoppscotch-common/locales/nl.json(+2 -0)📝
packages/hoppscotch-common/locales/no.json(+2 -0)...and 12 more files
📄 Description
Closes #4994
The web app doesn't properly check if the email address is empty or the same. This also causes an unnecessary request to the server. I need to add checks to prevent saving empty or unchanged email addresses and avoid that extra server call.
Also, includes relevant
i18nstring additions.What's changed
Implemented validation for empty or identical emails before the API call.
Notes to reviewers
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.