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