This pull request addresses multiple bugs and issues that have been
identified on the tweaks page of our application. The changes
implemented here aim to enhance the overall user experience and improve
the stability of the page. Below is an overview of the resolved issues:
This pull request addresses an issue with the retry mechanism for failed
requests within a loop. The current implementation lacks proper handling
of failed requests, leading to potential data loss and inconsistent
behavior. This bugfix aims to improve the retry logic and ensure that
requests are appropriately retried when they fail within a loop.
feat(App.tsx): add support for displaying fetch error message and description in FetchErrorComponent
feat(fetchErrorComponent): create FetchErrorComponent to display fetch error message and description
fix(genericIconComponent): add stroke-width property to ensure consistent icon stroke width
feat(loadingComponent): import LoadingComponentProps from types/components to improve type safety
feat(constants): add FETCH_ERROR_MESSAGE and FETCH_ERROR_DESCRIPTION constants for fetch error handling
fix(typesContext): remove console.log statement and set fetchError to true when an error occurs during fetching types
feat(typesContext): add error handling for fetching types and set fetchError to true when an error occurs
feat(typesContext): import fetchErrorComponentType from types/components to improve type safety
feat(types/components): create fetchErrorComponentType and LoadingComponentProps interfaces for type safety
fix(styleUtils): import Unplug icon from lucide-react to fix missing icon issue
feat(App.tsx): add support for displaying fetch error message when there is an error in the backend API call
fix(typesContext.tsx): add error handling for API call and set fetchError state accordingly
feat(typesContext.tsx): add fetchError state and setFetchError function to the typesContext
✨ feat(tabsContext.tsx): add success alert when changes are saved successfully in TabsProvider component
🔧 fix(flowSettingsModal/index.tsx): remove setSuccessData from useContext to fix missing function error
🔧 fix(AdminPage/index.tsx): remove console.log statement
✨ feat(AdminPage/index.tsx): add success alert when user is edited successfully
🔧 fix(extraSidebarComponent/index.tsx): remove setSuccessData from useContext to fix missing function error
📚 docs(JSONDocumentBuilder.py): add documentation link for the JSON Document Builder component
📚 docs(PostRequest.py): add documentation link for the POST Request component
📚 docs(UpdateRequest.py): add documentation link for the Update Request component
This pull request introduces a comprehensive set of features aimed at
enhancing user management, session handling using JWT, and implementing
protected routes within the application. The changes focus on providing
a seamless user experience while ensuring security and controlled access
to resources.
✨ feat(PatchRequest.py): add new component 'PatchRequest' to make PATCH requests to a given URL
🐛 fix(PostRequest.py): change variable name 'document' to 'documents' to improve clarity and semantics