-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
fix: disable add new folder button when isLoading #3734
Conversation
β¦er buttons for better user experience π (index.tsx): Import useIsFetching from "@tanstack/react-query" to check if there are ongoing data fetching operations before enabling folder buttons
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
β¦ loading state for adding folders π§ (index.tsx): update disabled attribute in add and upload folder buttons to include isPending variable to prevent multiple submissions
β¦low-ai/langflow into cz/disable_btn_save_folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* β¨ (index.tsx): Add ShadTooltip component to provide tooltips for folder buttons for better user experience π (index.tsx): Import useIsFetching from "@tanstack/react-query" to check if there are ongoing data fetching operations before enabling folder buttons * π§ (index.tsx): add isPending variable to usePostFolders hook to track loading state for adding folders π§ (index.tsx): update disabled attribute in add and upload folder buttons to include isPending variable to prevent multiple submissions --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com>
β¨ (index.tsx): Add ShadTooltip component to provide tooltips for folder buttons for better user experience
π (index.tsx): Import useIsFetching from "@tanstack/react-query" to check if there are ongoing data fetching operations before enabling folder buttons