Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I rename my workspace? #3943

Closed
3 of 4 tasks
show88118 opened this issue Apr 28, 2024 · 2 comments
Closed
3 of 4 tasks

How can I rename my workspace? #3943

show88118 opened this issue Apr 28, 2024 · 2 comments
Labels
🙋‍♂️ question This issue does not contain proper reproduce steps or it only has limited words without details.

Comments

@show88118
Copy link

show88118 commented Apr 28, 2024

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

How can I rename my workspace?

2. Describe the feature you'd like to see

How can I rename my workspace?

3. How will this feature improve your workflow or experience?

How can I rename my workspace?

4. Additional context or comments

How can I rename my workspace?

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Copy link

dosubot bot commented Apr 28, 2024

To rename your workspace in Dify, you would typically follow a process similar to renaming a dataset, as outlined in the web/app/components/datasets/rename-modal/index.tsx file. This involves:

  1. Initiating the Rename Action: Triggering a modal that allows workspace renaming, similar to the dataset renaming modal.
  2. Editing and Saving: The modal will display the current workspace name for editing. After making changes, the onConfirm function is called to update the workspace name.
  3. Validation and API Call: The new name is validated for non-emptiness, and an API call is made to update the workspace settings with the new name.
  4. User Feedback: Success or failure feedback is provided through a notification, and the modal is closed.

This process requires adapting the existing dataset renaming functionality to work with workspaces, including handling state updates, validation, API calls for updating workspace settings, and providing user feedback. The exact implementation details would depend on the specific architecture and APIs of the Dify project.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@dosubot dosubot bot added the 🙋‍♂️ question This issue does not contain proper reproduce steps or it only has limited words without details. label Apr 28, 2024
@crazywoola
Copy link
Member

If you are using self hosted, you can modify the db directly.

@langgenius langgenius locked and limited conversation to collaborators Apr 28, 2024
@crazywoola crazywoola converted this issue into discussion #3951 Apr 28, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
🙋‍♂️ question This issue does not contain proper reproduce steps or it only has limited words without details.
Projects
None yet
Development

No branches or pull requests

2 participants