mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3929] [MERGED] feat: added mutation and function to platform for updating user profile name #4599
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#4599
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/3929
Author: @nivedin
Created: 3/22/2024
Status: ✅ Merged
Merged: 3/25/2024
Merged by: @jamesgeorge007
Base:
release/2024.3.0← Head:feat/update-user-display-name📝 Commits (9)
c10d9a1feat: add platform api to update user profile name95102b3refactor: toast for empty display name395ca9bchore: fix typo in updateUserDisplayName filename368343erefactor: return Eithere149d55chore: cleanup9db17e6chore: truncate team name7a787f1chore: check if current and updated name is same0d32f10fix: use setUser instead of updating probableUser directlyd65b2dechore: check for current user rather probable📊 Changes
7 files changed (+68 additions, -18 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+2 -0)📝
packages/hoppscotch-common/src/components/teams/Team.vue(+1 -1)📝
packages/hoppscotch-common/src/pages/profile.vue(+23 -12)📝
packages/hoppscotch-common/src/platform/auth.ts(+5 -2)➕
packages/hoppscotch-selfhost-web/src/api/mutations/UpdateUserDisplayName.graphql(+5 -0)📝
packages/hoppscotch-selfhost-web/src/platform/auth/auth.api.ts(+15 -0)📝
packages/hoppscotch-selfhost-web/src/platform/auth/auth.platform.ts(+17 -3)📄 Description
Closes HFE-455
Description
This PR adds the mutation and function to the platform to update user profile name from the profile section.
Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.