This pull request introduces a new feature aimed at updating the build
flow status for each vertex when the backend is shut down. Additionally,
a minor refactor has been implemented in the interceptor to enhance code
readability.
✨ feat(api.tsx): add support for renewing access token and handling authentication errors to improve user experience
✨ feat(api.tsx): add support for updating build status of vertices to keep track of build progress
🐛 fix(flowStore.ts): add missing updateVerticesBuild function to update the list of vertices being built
🐛 fix(flowStore.ts): initialize verticesBuild array to an empty array to avoid undefined errors
🐛 fix(flowStore.ts): fix typo in updateVerticesBuild function name
🐛 fix(flowStore.ts): fix typo in updateBuildStatus function parameter name
🐛 fix(flowStore.ts): fix typo in updateBuildStatus function parameter type
✨ feat(flowStore.ts): add verticesBuild property to store the list of vertices being built
🐛 fix(index.ts): fix typo in updateBuildStatus function parameter name
🐛 fix(index.ts): fix typo in updateBuildStatus function parameter type
✨ feat(index.ts): add updateVerticesBuild function to update the list of vertices being built
🐛 fix(buildUtils.ts): update build status and vertices build list when building vertices to keep track of build progress
The buildVertices function has been refactored to improve readability and error handling. Instead of using Promise.all with map, it now uses a for loop to iterate over the vertices and perform the build process for each vertex. This change allows for better error handling and reporting. Additionally, the onBuildError callback is now called with the correct parameters when there is an error building a component.
This pull request introduces a new "In Progress" status for the
component building process within our application. This status will
bridge the gap between "Not Started" and "Completed," providing more
granular visibility into the component's lifecycle.
🐛 fix(GenericNode/index.tsx): rename renderIconComponents to renderIconPlayOrPauseComponents for better clarity and semantics
🐛 fix(GenericNode/index.tsx): rename getSpecificClass to getSpecificClassFromBuildStatus for better clarity and semantics
🐛 fix(GenericNode/index.tsx): rename getNodeClassName to getNodeBorderClassName for better clarity and semantics
🐛 fix(GenericNode/index.tsx): fix incorrect class name in getNodeClassName function
✨ feat(GenericNode/index.tsx): add renderIconComponents function to render different icon components based on build and validation status
✨ feat(GenericNode/index.tsx): add getSpecificClass function to determine specific class based on build and validation status
✨ feat(GenericNode/index.tsx): add getStatusClassName function to determine status class based on validation status and build status
✨ feat(GenericNode/index.tsx): add getIconComponent function to render icon component with name and class name
✨ feat(GenericNode/index.tsx): add getNodeClassName function to determine node class name based on selected, showNode, build status, and validation status
✨ feat(GenericNode/index.tsx): add getBaseBorderClass function to determine base border class based on selected state
✨ feat(GenericNode/index.tsx): add getNodeSizeClass function to determine node size class based on showNode state