-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[front] - fix(vault): allow to edit vault's name (#7442)
* [front] - feature: enable updating vault name through API - Allow API clients to update the name of a vault by passing a new `name` field in the request body - Update the handler to support renaming a vault during a PATCH request [types] - feature: extend PatchVaultRequestBodySchema with name field - Introduce optional `name` field to the vault patch request body schema to support vault renaming via API * [front/lib/swr] - feature: enhance vault updating with name change support - Allow vault name updates along with member updates in a single operation - Execute multiple update requests concurrently and handle their responses collectively - Improve error handling and user notifications during vault updates - Ensure state revalidation by mutating vaults and vaults as admin after updates * [front] - feature: add admin ability to update vault names - Ensure that only administrators can change the names of vaults - Check for name availability prior to updating a vault's name - Handle any errors that occur during the update process and return an appropriate message * [front] - fix: enable vault name editing for existing vaults - Allow updating the vault name when editing an existing vault - Remove UI restrictions from input field for existing vault names * [front/lib/resources] - refactor: streamline vault name update logic - Removed try-catch block around vault name update to simplify the function flow - Any errors during the update process are now handled externally --------- Co-authored-by: Jules <jules@MacBook-Pro.local>
- Loading branch information
1 parent
4fbc2dd
commit 3d3280a
Showing
5 changed files
with
88 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters