Skip to content
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

[Refactor] Support handleAddFolder in TreeExplorer #3101

Merged
merged 4 commits into from
Mar 17, 2025

Conversation

huchenlei
Copy link
Member

@huchenlei huchenlei commented Mar 17, 2025

Extracts the custom logic previously in node bookmark tree to generic TreeExplorer component so it can be reused for workflow tree.

Previous we were creating a folder with placeholder name first, then enter the rename mode, however, this can be inefficient, as it involves 2 writes, one for creation and one for rename. This PR optimizes this process to be creating a temp node for user to enter name first, then directly create the folder with that given name.

┆Issue is synchronized with this Notion page by Unito

@huchenlei huchenlei requested a review from a team as a code owner March 17, 2025 17:22
@huchenlei huchenlei requested a review from a team as a code owner March 17, 2025 17:55
@huchenlei huchenlei merged commit 9005305 into main Mar 17, 2025
10 checks passed
@huchenlei huchenlei deleted the tree_explorer_create_folder branch March 17, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant