[PR #366] [CLOSED] added state for handling multiple api call issue for changing name #914

Closed
opened 2026-02-26 19:31:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/366
Author: @captain-Akshay
Created: 9/11/2023
Status: Closed

Base: mainHead: api_fix


📝 Commits (2)

  • 5aee495 added state for handling multiple api for changing name
  • 3c0b66a Merge branch 'main' into api_fix

📊 Changes

1 file changed (+199 additions, -187 deletions)

View changed files

📝 apps/web/components/settings.tsx (+199 -187)

📄 Description

This pull request fixes the issue described in #364

The issue was that the code was making multiple API calls when the user changed their name. This has been fixed by adding a state to track the user's name and a few if checks to prevent unnecessary API calls.

  • preventing multiple API calls
  • enhancing user experience

🔄 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/documenso/documenso/pull/366 **Author:** [@captain-Akshay](https://github.com/captain-Akshay) **Created:** 9/11/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `api_fix` --- ### 📝 Commits (2) - [`5aee495`](https://github.com/documenso/documenso/commit/5aee4951748eeeef03f3cc36ae882bdfa1a5bb93) added state for handling multiple api for changing name - [`3c0b66a`](https://github.com/documenso/documenso/commit/3c0b66a7cc303634c95c40b1100b82a44bdf060f) Merge branch 'main' into api_fix ### 📊 Changes **1 file changed** (+199 additions, -187 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/settings.tsx` (+199 -187) </details> ### 📄 Description This pull request fixes the issue described in #364 The issue was that the code was making multiple API calls when the user changed their name. This has been fixed by adding a state to track the user's name and a few if checks to prevent unnecessary API calls. - preventing multiple API calls - enhancing user experience --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:01 +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/documenso#914
No description provided.